Go to file
2020-12-03 18:18:31 +01:00
dist improve post images on mobile 2020-12-02 22:53:54 +01:00
inc sorting comments in post to config file 2020-12-03 17:15:43 +01:00
views rm redundant lines 2020-12-02 21:06:28 +01:00
.gitignore simplify installation 2020-12-03 18:12:04 +01:00
app.js add missing config 2020-12-01 20:20:01 +01:00
config.js sorting comments in post to config file 2020-12-03 17:15:43 +01:00
config.js.template simplify installation 2020-12-03 18:12:04 +01:00
LICENSE add AGPL 3.0 license 2020-12-01 16:11:22 +01:00
package-lock.json add dark theme and preferences 2020-11-21 13:50:12 +01:00
package.json update version 2020-11-29 21:54:21 +01:00
README.md fix readme 2020-12-03 18:18:31 +01:00
routes.js sorting comments in post to config file 2020-12-03 17:15:43 +01:00
setup_server.js initial commit 2020-11-17 21:44:32 +01:00

teddit

teddit.net

A free and open source alternative Reddit front-end focused on privacy. Inspired by the 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
  • Lightweight (teddit frontpage: ~30 HTTP requests with ~270 KB of data downloaded vs. Reddit frontpage: ~190 requests with ~24 MB)

Join the teddit discussion room on Matrix: #teddit:matrix.org

XMR: 832ogRwuoSs2JGYg7wJTqshidK7dErgNdfpenQ9dzMghNXQTJRby1xGbqC3gW3GAifRM9E84J91VdMZRjoSJ32nkAZnaCEj

BTC: bc1qlcrmt2pvlh4eq69l3l4h6z5jg74z2m2q3pasan

Instances

https://teddit.net - Official instance

Community instances:

TODO

  • Sort comments in post
  • User attributes
  • Comment and post attributes (e.g. stickies)
  • Subreddit flairs and wikis
  • User trophies
  • “other discussions” feature
  • … and lot of other small stuff

Roadmap

  • Unofficial reddit API through teddit
  • 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.

Installation

  1. Install node.js For example: # curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
  2. Install redis-server and ffmpeg For example: # apt install redis-server ffmpeg Leave ffmpeg out if you dont want video support.
  3. $ git clone https://codeberg.org/teddit/teddit
  4. $ cd teddit
  5. $ npm install --no-optional
  6. Edit config.js.template to suit your environment. After done, rename it to config.js.
  7. Edit redis.conf file and set maxmemory value to suit your environment (e.g. 75% of your total RAM). # nano /etc/redis/redis.conf Add new lines: maxmemory 2gb maxmemory-policy volatile-ttl Save and exit.
  8. Restart redis For example: systemctl restart redis
  9. $ node app.js

Teddit should be now running.