Libreddit is going down as well.

The silver lining here is that both of them are wholeheartedly recommending lemmy as the alternative, so it should provide an extra push to those on the fence about migrating

  • venusenvy47@lemm.ee
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    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.