Go to file
2020-12-16 18:52:20 +01:00
dist Do not link to authors of deleted entities 2020-12-15 19:23:19 +01:00
inc save files to specific dirs based on filename prefixes 2020-12-16 18:52:20 +01:00
views Do not link to authors of deleted entities 2020-12-15 19:23:19 +01:00
.dockerignore Added support for Docker, Docker-Compose 2020-12-07 12:57:20 -07:00
.gitignore simplify installation 2020-12-03 18:12:04 +01:00
app.js #51 update theme with url query parameter. 2020-12-12 20:26:01 -05:00
config.js.template add short url support #21 2020-12-09 19:06:25 +01:00
docker-compose.yml Added support for Docker, Docker-Compose 2020-12-07 12:57:20 -07:00
Dockerfile Reduce COPYs 2020-12-09 23:02:44 +01:00
LICENSE add AGPL 3.0 license 2020-12-01 16:11:22 +01:00
package-lock.json rm fs from dependencies 2020-12-07 21:13:52 +01:00
package.json Fix SPDX lincenceId 2020-12-09 22:45:54 +01:00
README.md Fix localhost URLs in readme 2020-12-10 23:18:18 +01:00
routes.js add short url support #21 2020-12-09 19:06:25 +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
  • “Open on reddit” links
  • … 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

Docker

Using Docker and docker-compose:

docker-compose build
docker-compose up

Teddit should now be running at http://localhost:8080.

Manual

  1. Install Node.js.

  2. (Optional) Install redis-server.

    Highly recommended  it works as a cache for Reddit API calls.

  3. (Optional) Install ffmpeg.

    Its needed if you want to support videos.

    # Linux
    apt install redis-server ffmpeg
    
    # macOS
    brew install redis
  4. Clone and set up the repository.

    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

Teddit should now be running at http://localhost:8080.