A federated, self-hostable link aggregator and forum in Rust, a decentralised alternative to Reddit that runs on the fediverse.
redlib-org/redlib
A privacy-focused, JavaScript-free alternative front-end for browsing Reddit, written in Rust and proxying all requests through its server.
Open-source alternative to:Reddit
- Stars
- 3,979
- Forks
- 321
- Open issues
- 228
- Last commit
- 16 days ago
What is it?
Redlib is an alternative front-end for Reddit, a project that began as a fork of Libreddit. It renders Reddit pages on the server without JavaScript, ads, or trackers, so users can browse subreddits, posts, and comments without their requests going directly to Reddit.
All requests, including media, are proxied through the server, and a strict Content Security Policy keeps the browser from sending requests to Reddit. Redlib uses Hyper for HTTP, Askama for templates, and Rustls and BoringSSL for TLS. It supports many visual themes and per-user preferences stored in optional cookies, and it can be configured through environment variables or a redlib.toml file.
Redlib can be run as a Docker or Podman container (amd64, arm64, armv7), as a standalone binary, under systemd or launchd, or built from source with Cargo. It supports HTTP, SOCKS, and HTTPS proxies, and it can be set up with an optional RSS feed generator.
Key features
- 01Renders Reddit pages server-side with no JavaScript, ads, or tracking
- 02Proxies all requests, including media, through the server
- 03Strict Content Security Policy blocks browser requests to Reddit
- 04Many themes and per-user display settings such as layout and default sort
- 05Supports HTTP, SOCKS4/5, and HTTPS proxies
- 06Available as Docker/Podman images, binaries, and systemd or launchd services
Use cases
- Browsing Reddit without being tracked or shown ads
- Self-hosting a private Reddit viewer for a household or small group
- Running a Reddit front-end behind a reverse proxy or through a proxy network
- Using a lightweight Reddit reader on slow connections or older devices
Quick start
- 1
Build and run from source with Cargo after cloning the repository
git clone https://github.com/redlib-org/redlib && cd redlib cargo run - 2
Or run the Docker image from quay.io, serving on port 8080
docker pull quay.io/redlib/redlib:latest docker run -d --name redlib -p 8080:8080 quay.io/redlib/redlib:latest
Things to know
- Redlib is a Reddit front-end and still lacks some features of Reddit's signed-out site.
- Self-hosting requires setup, and public instances may be unreliable or change over time.
- Copyleft AGPL-3.0 license requires derivative works to be released under the same terms.
In collections
Topics
FAQ
- What is redlib?
- A privacy-focused, JavaScript-free alternative front-end for browsing Reddit, written in Rust and proxying all requests through its server. Redlib is an alternative front-end for Reddit, a project that began as a fork of Libreddit. It renders Reddit pages on the server without JavaScript, ads, or trackers, so users can browse subreddits, posts, and comments without their requests going directly to Reddit.
- Is redlib free to use? What license does it have?
- redlib is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is redlib still maintained?
- Actively maintained. The last commit to redlib was on Oct 22, 2026.
- What can I use redlib for?
- Browsing Reddit without being tracked or shown ads Self-hosting a private Reddit viewer for a household or small group Running a Reddit front-end behind a reverse proxy or through a proxy network Using a lightweight Reddit reader on slow connections or older devices
- How do I install redlib?
- Build and run from source with Cargo after cloning the repository: git clone https://github.com/redlib-org/redlib && cd redlib cargo run Or run the Docker image from quay.io, serving on port 8080: docker pull quay.io/redlib/redlib:latest docker run -d --name redlib -p 8080:8080 quay.io/redlib/redlib:latest
- Where can I get redlib?
- The source code and installation instructions are on GitHub: https://github.com/redlib-org/redlib
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An ad-free Reddit client for Android, written in Java, with a clean UI and support for posting, voting, commenting and messages.
Self-hosted PHP service that turns popular posts from Reddit, Hacker News, Lemmy, Lobsters, Mbin and GitHub into RSS feeds.
Self-hosted, privacy-first web analytics written in Rust, shipped as a single binary or Docker container.
A self-hostable community platform combining forum, blog, news, link directory and knowledgebase features, built in Go.
A Rust framework for building small, fast desktop and mobile apps with any web frontend, rendered in the system webview.