talira

An alternative private front-end to Reddit

open sourceAGPL-3.0-onlyself-hostablefree

Redlib is an alternative private front-end to Reddit, like Invidious is for YouTube: you browse subreddits, posts and comments through a Redlib server, which proxies every request (media included) so your browser never contacts Reddit, with no JavaScript, ads or tracking and a strict Content Security Policy. It's written in Rust with Hyper, is themed around Reddit's redesign, and covers most of what Reddit offers signed out. To get around Reddit's rate limits it mimics the official Android app's OAuth tokens and headers. You can use a public instance or self-host it with Docker, Podman, a static Linux binary or launchd on macOS, set instance-wide and default user settings through environment variables, and redirect Reddit links to it with LibRedirect. It began as a fork of Libreddit and is AGPL-3.0.

Problems it solves

  • browse Reddit without ads, tracking or the app nagging me to log in
  • read Reddit threads without my browser connecting to Reddit
  • self-host a private Reddit front-end for my household
  • lightweight Reddit reader that works without JavaScript
  • redirect every Reddit link I click to a privacy-friendly front-end
  • a maintained replacement for Libreddit

Features

  • all requests, including media, proxied through the server
  • no JavaScript, ads or tracking
  • strict Content Security Policy blocking browser requests to Reddit
  • most of Reddit's signed-out features
  • OAuth token spoofing and token refresh to avoid rate limits
  • instance settings and default user settings through environment variables
  • public instance list in Markdown and JSON
  • Docker, Podman quadlets, static Linux binaries, systemd and launchd setups

Limitations

  • still lacks a few of Reddit's features1