2020-11-17 21:44:32 +01:00
|
|
|
|
# teddit
|
|
|
|
|
|
2020-11-17 22:02:20 +01:00
|
|
|
|
[teddit.net](https://teddit.net)
|
|
|
|
|
|
2020-11-17 21:44:32 +01:00
|
|
|
|
A free and open source alternative Reddit front-end focused on privacy.
|
|
|
|
|
Inspired by the [Nitter](https://github.com/zedeus/nitter) project.
|
|
|
|
|
|
|
|
|
|
* No JavaScript or ads
|
|
|
|
|
* All requests go through the backend, client never talks to Reddit
|
|
|
|
|
* Prevents Reddit from tracking your IP or JavaScript fingerprint
|
2020-12-19 21:18:14 +01:00
|
|
|
|
* [Unofficial API](https://codeberg.org/teddit/teddit/wiki#teddit-api) (no rate limits or Reddit account required)
|
2020-11-17 21:44:32 +01:00
|
|
|
|
* Lightweight (teddit frontpage: ~30 HTTP requests with ~270 KB of data downloaded vs. Reddit frontpage: ~190 requests with ~24 MB)
|
|
|
|
|
|
2020-11-29 13:03:06 +01:00
|
|
|
|
Join the teddit discussion room on Matrix: [#teddit:matrix.org](https://matrix.to/#/#teddit:matrix.org)
|
2020-11-19 06:55:25 +01:00
|
|
|
|
|
2020-11-17 21:44:32 +01:00
|
|
|
|
XMR: 832ogRwuoSs2JGYg7wJTqshidK7dErgNdfpenQ9dzMghNXQTJRby1xGbqC3gW3GAifRM9E84J91VdMZRjoSJ32nkAZnaCEj
|
2020-11-17 21:57:40 +01:00
|
|
|
|
|
2020-11-17 21:44:32 +01:00
|
|
|
|
BTC: bc1qlcrmt2pvlh4eq69l3l4h6z5jg74z2m2q3pasan
|
|
|
|
|
|
2020-12-01 16:16:30 +01:00
|
|
|
|
## Instances
|
|
|
|
|
|
|
|
|
|
[https://teddit.net](https://teddit.net) - Official instance
|
|
|
|
|
|
|
|
|
|
Community instances:
|
|
|
|
|
|
|
|
|
|
* [https://teddit.ggc-project.de](https://teddit.ggc-project.de)
|
|
|
|
|
|
2020-11-18 18:58:59 +01:00
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
|
|
* Sort comments in post
|
|
|
|
|
* User attributes
|
|
|
|
|
* Comment and post attributes (e.g. stickies)
|
2020-11-30 17:06:10 +01:00
|
|
|
|
* Subreddit flairs and wikis
|
2020-11-18 18:58:59 +01:00
|
|
|
|
* User trophies
|
|
|
|
|
* "other discussions" feature
|
2020-12-04 17:11:02 +01:00
|
|
|
|
* "Open on reddit" links
|
2020-11-18 18:58:59 +01:00
|
|
|
|
* ... and lot of other small stuff
|
|
|
|
|
|
|
|
|
|
## Roadmap
|
|
|
|
|
|
|
|
|
|
* Themes
|
|
|
|
|
* User settings
|
|
|
|
|
* HLS video streaming? (Would require browser JavaScript)
|
|
|
|
|
* Onion site
|
|
|
|
|
* User login, so people can use their Reddit account through teddit to comment and up/downvote posts etc.
|
|
|
|
|
|
2020-11-17 21:44:32 +01:00
|
|
|
|
## Installation
|
2020-11-17 21:57:40 +01:00
|
|
|
|
|
2020-12-07 20:57:20 +01:00
|
|
|
|
### Docker
|
|
|
|
|
|
2020-12-09 23:03:17 +01:00
|
|
|
|
Using [Docker and `docker-compose`](https://github.com/docker/compose):
|
|
|
|
|
|
|
|
|
|
```console
|
2020-12-07 20:57:20 +01:00
|
|
|
|
docker-compose build
|
|
|
|
|
docker-compose up
|
|
|
|
|
```
|
|
|
|
|
|
2020-12-10 23:18:18 +01:00
|
|
|
|
Teddit should now be running at <http://localhost:8080>.
|
2020-12-09 23:03:17 +01:00
|
|
|
|
|
2020-12-07 20:57:20 +01:00
|
|
|
|
### Manual
|
|
|
|
|
|
2020-12-09 23:03:17 +01:00
|
|
|
|
1. Install [Node.js](https://nodejs.org).
|
2020-12-10 23:18:18 +01:00
|
|
|
|
|
2020-12-09 23:03:17 +01:00
|
|
|
|
1. (Optional) Install [redis-server](https://redis.io).
|
|
|
|
|
|
|
|
|
|
Highly recommended – it works as a cache for Reddit API calls.
|
|
|
|
|
|
2020-12-10 23:18:18 +01:00
|
|
|
|
1. (Optional) Install [ffmpeg](https://ffmpeg.org).
|
|
|
|
|
|
|
|
|
|
It's needed if you want to support videos.
|
2020-12-09 23:03:17 +01:00
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
# Linux
|
|
|
|
|
apt install redis-server ffmpeg
|
|
|
|
|
|
|
|
|
|
# macOS
|
|
|
|
|
brew install redis
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
1. Clone and set up the repository.
|
2020-11-17 21:57:40 +01:00
|
|
|
|
|
2020-12-09 23:03:17 +01:00
|
|
|
|
```console
|
|
|
|
|
git clone https://codeberg.org/teddit/teddit
|
|
|
|
|
cd teddit
|
|
|
|
|
npm install --no-optional
|
|
|
|
|
cp config.js.template config.js # edit the file to suit your environment
|
|
|
|
|
redis-server
|
|
|
|
|
npm start
|
|
|
|
|
```
|
2020-12-03 18:29:03 +01:00
|
|
|
|
|
2020-12-10 23:18:18 +01:00
|
|
|
|
Teddit should now be running at <http://localhost:8080>.
|