Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The future of Libreddit #871

Open
freedit-dev opened this issue Dec 14, 2023 · 11 comments
Open

The future of Libreddit #871

freedit-dev opened this issue Dec 14, 2023 · 11 comments
Labels
feature parity Changes to make Libreddit more like Reddit

Comments

@freedit-dev
Copy link

freedit-dev commented Dec 14, 2023

In response to Reddit's recent restrictions on non-logged-in users, several strategies have been discussed to maintain access while preserving user privacy and efficiency.

The first strategy involves client-side access. Users can leverage their local browsers, circumventing the need for server relay. This approach offers notable benefits, including the absence of IP restrictions, enhanced speed, and unrestricted browsing. While this method does expose the user's IP to Reddit, potentially compromising privacy, it still offers a faster and more private experience compared to direct Reddit access. Theoridically, it just needs every user to download a binary and run it locally. I think this is the best solution. Unfortunately, the Libreddit author seems to be so pessimistic about this solution to mention it in the README(instead they just told users that this project is dead).

The second method is also direct client access, but users don't need to locally install LIbreddit; instead, they use the web version, like the wasm version. That needs developers' great effort.

The third strategy focuses on developing a SOCKS proxy (#841 ) that utilizes services like Cloudflare Warp or the Tor network. I'm working on this and it worked well at the moment. There is a tor-embedded fork and it works well https://git.spec.cat/Nyaaori/libreddit

Lastly, someone suggests integrating an account system. Theoretically, access to Reddit should be feasible with an account. However, this method is not foolproof, as Reddit could still potentially impede access through IP detection and blocking mechanisms. Implementing an account system could allow users to navigate Reddit's restrictions, but it also risks being undermined by Reddit's ability to detect and block based on IP addresses. And it requires developer to make it happen.

If you are not interested in the technical details, just want to get rid of the shitty Reddit UI, you can just:

  1. Download the binary from release page, run locally.
  2. Or use the tor-embedded fork https://git.spec.cat/Nyaaori/libreddit
  3. Or use the SOCKS proxy instance like https://libreddit.freedit.eu/

For maintainers and developers, I just want to say thank you for your work. And please, don't give up, don't let Reddit win, don't tell us in Readme that this project is dead. We need you, we need Libreddit. We need a better Reddit experience.

@freedit-dev freedit-dev added the feature parity Changes to make Libreddit more like Reddit label Dec 14, 2023
@extremelyonline
Copy link

extremelyonline commented Dec 14, 2023

I was able to implement Cloudflare Warp in my public instance using docker . User should be aware of its privacy implications.

Our Libreddit instance now uses @sigaloid's fork as in #871 (comment)!

I keep my instance only to mitigate bad experiences on a bad platform. Seek greener pastures!

@FireMasterK
Copy link
Contributor

I still think solutions like #819 and the GraphQL API are the way forward. IP rotation could also be done to lower risks of detections, but I don't think is necessary currently.

@wsy2220
Copy link
Contributor

wsy2220 commented Dec 16, 2023

I just want a cleaner reddit. So I let libreddit to send my cookies, which works fine.

@sigaloid
Copy link
Member

sigaloid commented Dec 16, 2023

I still think solutions like #819 and the GraphQL API are the way forward. IP rotation could also be done to lower risks of detections, but I don't think is necessary currently.

This is what i'll end up merging when i fork it.

Sorry for the radio silence and only intermittent messages - I've been linking that fork to a few users and they're saying it's working now. So i'll be forking it all and accepting the backlogged contributions. Reason for fork and not just updating this, is that other maintainers are not as willing to merge this due to legal issues

I don't believe tor is the way to go as it embeds a lot of complexity - rather just spoof a mobile client like others do

@freedit-dev
Copy link
Author

@sigaloid Oh, sorry. I missed your work on the Android Oauth fork. I'll take a look at it and see if I can get it working.

And I holp the main repo could release binary package for Windows and Mac OS X. So for users who just want a better UI, they could use it on their personal computer without compiling. You could refer to this GitHub Actions workflow file: https://github.com/freedit-dev/libreddit/blob/master/.github/workflows/release.yml

By the way, tor doesn't have to be bundled with libreddit. It could be installed separately and work as a socket proxy. Just see https://gitlab.torproject.org/tpo/core/arti

@sigaloid
Copy link
Member

sigaloid commented Dec 18, 2023

I think a feature addition for the arti tor proxy wouldn't be a bad idea. Just as an option to add onto it

@sigaloid
Copy link
Member

Okay, I've gotten around to it. https://github.com/redlib-org/redlib

Ended up using my original OAuth spoofing. Will be looking into adding Tor (redlib-org/redlib#1)

@rndmh3ro
Copy link

Okay, I've gotten around to it. https://github.com/redlib-org/redlib

Ended up using my original OAuth spoofing. Will be looking into adding Tor (redlib-org/redlib#1)

I just tested redlib, as my instance was banned by reddit some weeks ago.

I used it as a drop-in replacement for libreddit on my running instance. I built redlib and replaced libreddit binary with redlib and now it works again. That's awesome, thanks!

@sigaloid
Copy link
Member

Glad to hear! I would love to add your URL to the instance list, once I create it :)

@throwaway-d
Copy link

I saw this interesting idea: https://codeberg.org/teddit/teddit/issues/427
But @sigaloid got the solution already!

@codenyte
Copy link

codenyte commented Mar 1, 2024

IP rotation has been mentioned here before. Perhaps this could be useful: iv-org/smart-ipv6-rotator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature parity Changes to make Libreddit more like Reddit
Projects
None yet
Development

No branches or pull requests

8 participants