Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)VE
Posts
1
Comments
59
Joined
2 yr. ago

  • I always see the lemmyverse site recommended, but I have trouble subscribing to any community I find on there. If you click on a link on that site, it takes you to that instance. But you need an account on that instance to push the "subscribe" button. I can't figure out a way to subscribe to, say, lemmy.world/c/technology when my account is on lemm.ee

  • I would like to see Jimmy Wales run Twitter and Reddit clones. If there is anyone that you can trust to not turn a website into a commercial entity, it's the guy running one of the world's most visited site with no advertising.

    Maybe Wikimedia can host Mastodon and Lemmy server.

    Either him or the guy who runs Craigslist, with no obvious intentions of trying to wring money out his site

  • I'm assuming this doesn't involve intra-military emails, because that would be trivial to prevent. It's probably because of people sending from another domain. Like if maverick@gmail.com is sending an email to iceman@navy.mil, but he mistypes the .mil part because he is using his iPhone while riding his motorcycle with a girl on the back.

    A more realistic example would be ceo@lockheed.com sending an email to commander@af.mil to discuss some upcoming meeting about a new aircraft contract.

  • I was using one of the various publicly-hosted teddit sites (like https://teddit.privacytools.io/, which is currently rate-limited). It is pretty easy to import your Reddit subscriptions into one of these instances and have it show just your normal subscription content. You can't comment, but it was nice for lurking while Lemmy content was still coming up to speed.

    I was able to easily launch a Teddit instance on my Linux server yesterday for my own usage using the Docker instructions on this site. It's not rate limited because I'm the only person using it.

    https://codeberg.org/teddit/teddit

    I just saved that example into a file called "teddit.yml", and made the changes that they mention for non production usage:

    Change ports: - "127.0.0.1:8080:8080" to ports: - "8080:8080" Remove DOMAIN=teddit.net, USE_HELMET=true, USE_HELMET_HSTS=true, TRUST_PROXY=true

    Then I just ran this command and I can use it on my home network.

    sudo docker-compose -f ~/docker/compose/teddit.yml up -d

    I just access it with a browser at http://192.168.1.6:8080

    For getting your Reddit subscriptions loaded into it, there is a trick to get a text list of your list of Reddit subscriptions, which you then just paste into a .json file and import into any teddit instance from the webpage. See the bottom of this post.

    The .json file just contains this, with your list of subscriptions in a comma-separated string with double quotes: {"subbed_subreddits":["AskReddit","LifeProTips","Music"],"theme":"dark","flairs":"true","nsfw_enabled":"true","highlight_controversial":"true","post_media_max_height":"medium","collapse_child_comments":"false","show_upvoted_percentage":"true","show_upvotes":"true","videos_muted":"true","domain_twitter":"","domain_youtube":"","domain_instagram":"undefined","domain_quora":"","domain_imgur":"","prefer_frontpage":"true","show_large_gallery_images":"false","default_comment_sort":"best"}

    ----------- Downloading your Reddit subscriptions as a text string ---------

    1.) Visit this site in a desktop browser while logged into your account: https://www.reddit.com/subreddits

    2.) Paste this into the address bar, but don't press enter yet.

    javascript:$('body').replaceWith('

    <body>

    '+$('.subscription-box').find('li').find('a.title').map((_, d) => $(d).text()).get().join("","")+'

    </body>

    ');javascript.void()

    {I'm not sure if the formatting of that command always displays properly on Lemmy or your app. The part in the join() section is: doublequote backslash doublequote comma backslash doublequote doublequote}

    3.) You might have to manually type the "javascript" text at the beginning of that command in the address bar because I found that Windows or the browser ignores that part when you paste.

    4.) Press enter, and you should get a text list of your subscriptions displayed in your browser that you can copy and paste into any text document, like the above-mentioned.json file. Just manually add a leading and trailing double quote to make it work with that teddit.json format.

  • Yes, I actually used Portainer on my VPS when I was learning Docker last year. It makes some things easier, but it does add another layer of complexity, learning to navigate the Portainer interface and setting up Stacks to deploy your compose files. With my home server I was trying to experiment with "the natural Docker" procedure.

  • Oops. I don't fully understand Docker and I misread the instructions for selecting the port.

    On a related topic, is there any reason why I had to use "sudo" to run these Docker commands? I tried both without sudo and they both failed.

  • That's the command I used.

    sudo docker run -d --name libreddit -p 80:8080 libreddit/libreddit

    Then I checked the port traffic with sudo lsof -i -P | grep -i "listen" and saw it running on port 80. And I could only connect to it from my browser on port 80. But it doesn't matter, I switched to teddit in Docker and have it running with a compose file, so I'm set.

  • I'm going to run this on my VPS but I don't see instructions on how to use the .toml configuration file to specify all the options. Where do I place the libreddit.toml file after installation?

    Also, I just started the Docker image on my local Linux box using the example to put it on port 8080, but I can only access it from my browser on port 80. Is that example command correct?

    https://github.com/libreddit/libreddit