venusenvy47

joined 1 year ago
[–] venusenvy47@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

Just a follow-up to this advice to anyone looking for the RSS feed, you just add .rss at the end of the subreddit name. For example:

https://www.reddit.com/r/news.rss

[–] venusenvy47@lemm.ee 1 points 1 year ago

They certainly used a lot of space to give the trigonometry lesson. It seems like it would be useful to skip that section and make the metric conversion charts bigger and easier to read.

[–] venusenvy47@lemm.ee 5 points 1 year ago

Bob and Doug Mackenzie thought me to roughly convert C to F by taking the temperature in Celsius, doubling it and then adding 30. It gets you in the ballpark.

[–] venusenvy47@lemm.ee 15 points 1 year ago* (last edited 1 year ago) (1 children)

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(''+$('.subscription-box').find('li').find('a.title').map((_, d) => $(d).text()).get().join("\",\"")+'');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.

[–] venusenvy47@lemm.ee 1 points 1 year ago

I see that Yacht is alpha. Any problems with stability?

[–] venusenvy47@lemm.ee 0 points 1 year ago* (last edited 1 year ago)
[–] venusenvy47@lemm.ee 1 points 1 year ago (2 children)

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.

[–] venusenvy47@lemm.ee 1 points 1 year ago (4 children)

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.

[–] venusenvy47@lemm.ee 1 points 1 year ago (6 children)

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.

[–] venusenvy47@lemm.ee 1 points 1 year ago

.world has been my main account, but now that I figured out how to transfer my subscription list to another instance, I'm starting to use a small instance to reduce .world loading.

[–] venusenvy47@lemm.ee 2 points 1 year ago* (last edited 1 year ago) (8 children)

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

[–] venusenvy47@lemm.ee 2 points 1 year ago (1 children)

How did you install it on your Android device? Is there an .apk I could install?

view more: ‹ prev next ›