twobitshifter 2 years ago

I’ve used teddit but prefer libreddit https://github.com/libreddit/libreddit

> It is a private front-end like Invidious but for Reddit.

- Fast: written in Rust for blazing-fast speeds and memory safety

- Light: no JavaScript, no ads, no tracking, no bloat

-Private: all requests are proxied through the server, including media

-Secure: strong Content Security Policy prevents browser requests to Reddit

of course you cant post, comment, or upvote from it.

  • ajdude 2 years ago

    I really like libreddit. It was very easy for me to set up and host my own instance behind a VPN. I registered a very simple .com domain of repeating letters so I can quickly just double-tap the word "reddit" on my phone's address bar and replace the word "reddit" with my libreddit's domain name and tap "go".

    No more trying to type "old" over "www" or fight the "you must use the app"

    • akiselev 2 years ago

      Anyone who uses Kagi can add a rule to automatically redirect to their teddit instance or old.reddit [1].

      There are also plenty of extensions for almost every browser that redirects reddit, which are easy to fork and update for a custom instance.

      I added a custom !r bang that uses kagi to search reddit via a lens with that redirect. Works great

      [1] https://help.kagi.com/kagi/features/redirects.html

      • Semaphor 2 years ago

        For users interested in this:

        Go to https://kagi.com/settings?p=redirects

        Add these rules:

            ^https://reddit.com|https://old.reddit.com  
            ^https://www.reddit.com|https://old.reddit.com 
        

        Theoretically you should be able to turn it into one rule, but this worked for me, so I stopped ;)

    • mikae1 2 years ago

      I use https://addons.mozilla.org/en-US/firefox/addon/redirector/ for nitter, teddit and invidious.

      • dexterdog 2 years ago

        The problem with redirectors is that it first has to go to the site you want to avoid and then it gets redirected. I always wanted something that would re-write pages as they are displayed and I couldn't find anything so I wrote my own greasemonkey script that gives me all of my searxng/teddit/piped/rimgo/wikiless/quetre/libremdb/proxitok/neuters/scribe/.

        It also removes most utm trackers and referral codes from urls and pulls tracking urls that put the actual url in the querystring and replaces them and will pre-redirect on most common url shorteners so when you hover on a link you are more likely to see where it's actually going.

        I've thought about packaging it up for more general use, but it's one of those things on the todo list.

  • wintermutestwin 2 years ago

    >Libreddit is themed around Reddit's redesign whereas Teddit appears to stick much closer to Reddit's old design. This may suit some users better as design is always subjective.

dotty- 2 years ago

It sucks that all this talk about scraping HTML will only push Reddit to deprecate Old Reddit even faster so users are forced to use a Javascript-heavy experience, complete with random HTML IDs. What then?

  • midoridensha 2 years ago

    Maybe then, Reddit can go the way of Digg.

  • stepupmakeup 2 years ago

    They've already gotten rid of the .compact frontend and actively removed workarounds/aliases that users discovered when it was first removed. Old reddit is definitely next up on the chopping block.

    • prox 2 years ago

      Lightweight (teddit frontpage: ~30 HTTP requests with ~270 KB of data downloaded vs. Reddit frontpage: ~190 requests with ~24 MB)

      Was new reddit designed by actual morons? 24 MB and 190 requests! How did that pass any sort of QA?

      • Maxion 2 years ago

        Ad tracking, and obfuscation to make scraping harder, plus it's trendy to use lot's of JS libraries.

        • prox 2 years ago

          I just saw this comment on the Apolloapp reddit : >They’re trying to overvalue their services before going public. Execs want to cash out and move to a tropical island. I can’t wait for this cesspool to fail.

    • Avery3R 2 years ago

      appending .i to the end of the url will still get you the compact frontend

      • Tmpod 2 years ago

        I was quite sure you meant to say prefixing i. (which no longer works) but tried going to reddit.com/.i anyways and it actually works! I hope it stays operational, but surely they will also nuke it eventually :/

  • deathlight 2 years ago

    Old Dot Reddit is already so deprecated I'm astounded anybody even knows about it anymore. So what the heck are you talking about? It's pretty much gone so what's your go-to now that it's been a pretty garbage site to browse for more than a year? If it’s just inertia then Jesus. And now it's in it's just automatically submitting people's comments I never clicked enter before it just sent that yikes what the heck man you're the handle on your damn Tech the f** is going on.

ubermonkey 2 years ago

Good luck. News is the API fees are going to destroy Apollo.

  • scottydelta 2 years ago

    What a poor timing for something like this.

    • ajcoll5 2 years ago

      Actually, perfect timing. It doesn't use the official API.

  • seabass-labrax 2 years ago

    I believe Teddit uses scraping; I run a Teddit instance for myself and haven't needed to set up an API key.

  • matheusmoreira 2 years ago

    HTML is a perfectly good API.

    • VWWHFSfQ 2 years ago

      Reddit is a SPA though right

      • matheusmoreira 2 years ago

        Don't know to be honest. I assume new reddit is while old reddit isn't. Truth is the job is even easier in case of an SPA: you just need to use whatever internal APIs they built for themselves. Can't add idiotic restrictions to that without affecting the normal web service.

      • delfinom 2 years ago

        SPA being a problem was last decade. Headless chromium is pretty standard for scraping nowadays.

        • VWWHFSfQ 2 years ago

          How does that work for clients though. Should Apollo ship a headless chromium in their mobile app

          • rovr138 2 years ago

            Can they launch a browser view hidden and scrape it? I have no idea if they can read from it.

        • moneywoes 2 years ago

          Isn’t that very expensive to run at scale especially mixing in residential IPs to avoid blocking

          • ipaddr 2 years ago

            Each person would spider for their own needs and most would use residential ips

      • devjab 2 years ago

        Yes and no, the terrible attempts to build a new front-end are, but the old front-end that runs on python with Pylons (I believe) as it’s “front” isn’t.

        I like react, and I love typescript, but sites like Wikipedia, old.Reddit.com, stackoverflow, hacker news and so on are nice showcases of how you should never be afraid of the page reload, because your users won’t be unless you’re building something where you need to update screen states without user inputs. Like when your user receives a mail and can’t just reload the page because your users input would be lost if you do so. I think this last part is the primary reason (along with mobile) that Reddit has been attempting to move to React, because the “social” parts like chats and private messages don’t instantly show up for users in the old front-end. Unfortunately they haven’t been very successful so far.

        You probably can scrape their current or their new.Reddit front-ends since you can scrape SPAs, but it’s much, much, easier to scrape the old.Reddit front.

    • mr_toad 2 years ago

      Most HTML is undocumented and unstable, so I’d say it’s far from perfect.

      • matheusmoreira 2 years ago

        It's perfect in that there's no way for them to differentiate from normal browser traffic. This is adversarial interoperability which is exactly how we're supposed to deal with corporations and their idiotic "terms". Nobody is forced to accept their "take it or leave it" BS.

        https://www.eff.org/deeplinks/2019/10/adversarial-interopera...

        If it's important enough, someone somewhere will care enough to fix it when it inevitably breaks. Look at youtube-dl and its variations, there's even a youtube.js now.

        https://news.ycombinator.com/item?id=31021611

        • moneywoes 2 years ago

          Can’t they just fingerprint the incoming requests based on a litany of variables such as headers ip etc to prevent this “scraping”?

          Sorry I don’t follow

          • matheusmoreira 2 years ago

            Sure. We can also control those variables. Youtube-dl has a small javascript interpreter to figure out the audio and video URLs that YouTube generates for every client. In this thread it was also pointed out that people can use headless chrome.

            It's simple. If they allow public access to their site at all, there's pretty much nothing they can do to stop any of this.

        • great_psy 2 years ago

          I would be very curious to know how many engineers inside google have as their sole responsibility to fight programs like YouTube-dl and so on.

          I am willing to bet it’s a whole division.

          • matheusmoreira 2 years ago

            They can fight all they want. In the end it doesn't matter how many engineers they throw at the problem. The only way they can win is for the world to descend ever deeper into DRM tyranny. Google must literally own your computer in order to prevent you from copying YouTube videos. It has to come pwned straight off the factory so that Google can literally dictate that you the user are prohibited from running certain bad programs that are known to hurt their bottom line.

            I realize we're not too far off from that dystopia but it's still a battle that deserves to be fought for the principle of it.

  • willjp 2 years ago

    Good to know, good time to donate if I can. I love apollo

  • grensley 2 years ago

    $12,000 per 50 million requests according to a post the dev made on Reddit, which he claims translates to $20 million a year.

    • grensley 2 years ago

      And per user it's about $25 a year

  • princevegeta89 2 years ago

    This is the first classic example that I've encountered where a company will uses its power and ownership to completely render smaller, independent products unsustainable

samspenc 2 years ago

Slightly off the main topic - but this is the first time I've seen codeberg.org (where Teddit is hosted). Looks like a serious competitor to GitHub, curious if anyone has worked with Codeberg and can list its pros and cons compared to GitHub / GitLab.

davisr 2 years ago

For the Redirector browser plugin:

        {
            "description": "Reddit to Teddit",
            "exampleUrl": "https://www.reddit.com/u/rmhack",
            "exampleResult": "https://teddit.net/u/rmhack",
            "error": null,
            "includePattern": "^(https?://)([a-z0-9-]*\\.)reddit.com/(.*)",
            "excludePattern": "",
            "patternDesc": "Convert all Reddit http(s) subdomains to teddit.net",
            "redirectUrl": "https://teddit.net/$3",
            "patternType": "R",
            "processMatches": "noProcessing",
            "disabled": false,
            "grouped": false,
            "appliesTo": [
                "main_frame"
            ]
        },
seabass-labrax 2 years ago

On my personal Teddit instance, pages load approximately eight times faster than on reddit.com! There are also some nice UX features, such as being able to see the entire nested threads (like here on Hacker News) without expanding them individually.

  • ecliptik 2 years ago

    Did you do anything to speed up Teddit page loads? I self-host too and Teddit is a bit sluggish since it seems to load everything on the page before rendering[1].

    I tried Libreddit as an alternative, which is much faster, but I prefer the look/feel of Teddit.

    1. https://codeberg.org/teddit/teddit/issues/248

    • seabass-labrax 2 years ago

      No, I'm sorry to say I haven't made any patches for that. My broadband speed is about 5MiB per second and it loads quickly on that, but Teddit does indeed time-out quite frequently on GSM.

  • Semaphor 2 years ago

    > eight times faster than on reddit.com!

    vs new or vs old? New is dog-slow IME, old is faster.

reddtastic 2 years ago

If you don’t mind that Reddit knows your IP, and if you want to explore the NSFW side of Reddit, try https://reddtastic.com

You can view multiple subreddits by joining their name with a plus sign, e.g. https://reddtastic.com/r/nsfw+gonewild

Edit: Yes, the home page is NSFW! You can also browse

- Reddit’s front page: https://reddtastic.com/r/

- r/popular: https://reddtastic.com/r/popular

- r/all: https://reddtastic.com/r/all

- Or any other subreddit like https://reddtastic.com/r/aww

  • low_tech_love 2 years ago

    Whoa MAJOR NSFW warning here!! Don't click this if you're not alone. I know the commenter mentioned but it sounded like it was an optional thing. Nope!

code_biologist 2 years ago

While we're on the topic of privacy focused frontends, anyone have recommendations for similar YouTube frontends?

  • brucethemoose2 2 years ago

    invidious is the closest analogue, if its still alive.

  • dredmorbius 2 years ago

    Piped and Invidious.

    I prefer Invidious for vague reasons, though either it or the instance I use most often seems to fail about 25--50% of the time on videos, with more popular content (e.g., music) failing most often, so I'll fall back to Piped.

    Otherwise I use mpv / ytdl, and in fact greatly prefer that approach.

    For those prefering a standalone GUI, there's VLC.

    • Tmpod 2 years ago

      I also quite enjoy the mpv/yt-dl(p) setup, and I often pair it with ytfzf[1] to ease the search part. FreeTube[2] is also a nicely done desktop frontend, capable of proxying requests through invidious.

      [1]: https://github.com/pystardust/ytfzf

      [2]: https://github.com/FreeTubeApp/FreeTube

      • dredmorbius 2 years ago

        Search is the one thing that mpv & yt-dlp don't handle. The now-moribund mps-youtube did offer search and curation and remains hands down the best interface to that service I've ever used. (It was throttled by API limits, I strongly suspect intentionally by Google.)

        I've started seeing some CLI youtube search front-ends, though I've yet to try them. Thanks for mentioning ytfzf, as I'm not sure that's popped up for me before.

zeagle 2 years ago

For those hosting their own Reddit/libreddit instance doesn't that reduce anonymity to Reddit by having only a single user? I have been using public ones to mix my traffic in with others.

snwfog 2 years ago

https://rdddeck.com is also a good reddit front-end. Its like Tweetdeck but for Reddit. Supports mobile as well.

great_psy 2 years ago

Does it do the scraping before you visit the subreddit ? Is there any local caching involved ?

Or are all the improvements from skipping the client side garbage calls?

proxiful-wash 2 years ago

what are the chances teddit is stealing our data?

brucethemoose2 2 years ago

If its anything like nitter, it doesn't use the public API and so is not as vulnerable to Reddit's changes.

artificial 2 years ago

If you’re on iOS Hyperweb has support for Teddit redirects, very convenient.

  • unsupp0rted 2 years ago

    Hyperweb looks great!

    Is there any way to have Google Flights redirect the URL to default my currency to my home region?

    Google Flights always shows results in the local currency.

    Even when I’m logged into Google Flights, even when it has a cookie from my previous search, even when I’m on a VPN for my home currency region, it still defaults search results to the currency of wherever I’m sitting.

    Can Hyperweb override this?

moneywoes 2 years ago

Very slow but I think that’s a feature. Makes Reddit less addicting

  • dexterdog 2 years ago

    It's plenty fast for me because I self host it and don't use a public proxy. You can self-host it in a docker container locally if you want. The real plus is that there is no way to comment or even vote which makes reddit less of a time waster.

  • aSockPuppeteer 2 years ago

    I ended up deleting my Reddit accounts. Spend less time manually typing subreddits in or even using Reddit at all. I’m sure something else will take over but for now this and tildes leaves not much. There is more time for books or other things.

    I wonder if a huge swath of people started batch edit-deleting poisoning old comments, gpdr delete requests, and deleting accounts that Reddit would respond. It would greatly reduce their search clicks and we’ll be on stackoverflow, discord, or something else soon.

    • anthk 2 years ago

      In my case I just run

            lynx gopher://gopherddit.com 
      

      with a tweaked lynx.cfg to display images with sxiv and videos with mpv.

      Only for /r/retrobattlestations, maybe /r/worldnews and /r/vintageunix.

goodpoint 2 years ago

I'd rather have a reddit replacement.

dbg31415 2 years ago

.net?

Oof. I mean I know it doesn’t really matter, but anything with a .net address just seems dead on arrival.

Are you married to the name / domain?

anthk 2 years ago

Also:

lynx gopher://hngopher.com