2020-10-25 20:48:44 +00:00
# Libreddit
> An alternative private front-end to Reddit
Libre + Reddit = Libreddit
- 🚀 Fast: written in Rust for blazing fast speeds and safety
- ☁️ Light: no javascript, no ads, no tracking
2020-11-23 04:22:51 +00:00
- 🕵 Private: all requests are proxied through the server, including media
2020-11-22 04:35:42 +00:00
- 🔒 Safe: does not rely on Reddit's OAuth-requiring APIs
2020-10-25 20:48:44 +00:00
- 📱 Responsive: works great on mobile!
Think Invidious but for Reddit. Watch your cat videos without being watched.
## Screenshot
2020-11-25 03:27:12 +00:00
![](https://i.ibb.co/Tgjb3w7/image.png)
2020-10-25 20:48:44 +00:00
## Status
- [x] Hosting
- [x] Instances
- [x] Clearnet instance
- [ ] .onion instance
- [x] Cargo deployment
- [x] Docker deployment
- [x] Subreddits
- [x] Title
- [x] Description
- [x] Posts
- [x] Post sorting
- [x] Posts
2020-11-18 00:56:37 +00:00
- [x] Flairs
2020-10-25 20:48:44 +00:00
- [x] Comments
- [x] Comment sorting
- [ ] Nested comments
- [x] UTC post date
- [x] Image thumbnails
- [x] Embedded images
2020-11-23 04:22:51 +00:00
- [x] Proxied images
2020-10-25 20:48:44 +00:00
- [x] Reddit-hosted video
2020-11-23 04:22:51 +00:00
- [x] Proxied video
2020-10-25 20:48:44 +00:00
- [x] Users
- [x] Username
- [x] Karma
- [x] Description
- [x] Post history
2020-11-23 19:33:43 +00:00
- [x] Comment history
2020-10-25 20:48:44 +00:00
- [ ] Search
- [ ] Post aggregating
- [ ] Comment aggregating
- [ ] Result sorting
## Instances
- [libredd.it ](https://libredd.it ) 🇺🇸 (Thank you to [YeapGuy ](https://github.com/YeapGuy )!)
- [libreddit.spike.codes ](https://libreddit.spike.codes ) 🇺🇸
2020-11-23 20:18:06 +00:00
## Installation
2020-11-23 03:21:07 +00:00
2020-10-26 04:19:04 +00:00
### A) Cargo
2020-10-25 20:48:44 +00:00
Make sure Rust stable is installed along with `cargo` , Rust's package manager.
```
2020-10-26 04:19:04 +00:00
cargo install libreddit
2020-10-25 20:48:44 +00:00
```
### B) Docker
Deploy the Docker image of Libreddit:
```
2020-10-26 04:03:59 +00:00
docker run -d --name libreddit -p 8080:8080 spikecodes/libreddit
2020-10-25 20:48:44 +00:00
```
Deploy using a different port (in this case, port 80):
```
2020-10-26 04:03:59 +00:00
docker run -d --name libreddit -p 80:8080 spikecodes/libreddit
2020-10-25 20:48:44 +00:00
```
### C) AUR
Libreddit is available from the Arch User Repository as [`libreddit-git` ](https://aur.archlinux.org/packages/libreddit-git ).
Install:
```
yay -S libreddit-git
```
2020-11-23 20:18:06 +00:00
### D) GitHub Releases
If you're on Linux and none of these methods work for you, you can grab a Linux binary from [the newest release ](https://github.com/spikecodes/libreddit/releases/latest ).
## Deploy an Instance
Once installed, deploy Libreddit (unless you're using Docker) by running:
```
libreddit
```
Specify a custom address for the server by passing the `-a` or `--address` argument:
```
libreddit --address=0.0.0.0:8111
```
2020-11-24 02:25:22 +00:00
To disable the media proxy built into Libreddit, run:
```
libreddit --no-default-features
```
2020-11-23 20:18:06 +00:00
## Building from Source
2020-10-26 04:19:04 +00:00
```
git clone https://github.com/spikecodes/libreddit
cd libreddit
cargo run
2020-11-25 03:27:12 +00:00
```