1
0
Fork
You've already forked teddit
0
forked from teddit/teddit
alternative Reddit front-end focused on privacy
  • JavaScript 55.7%
  • HTML 28.3%
  • CSS 15.9%
  • Dockerfile 0.1%
2021年04月13日 05:52:18 +02:00
inc Display profile icons 2021年03月22日 19:06:57 +01:00
static restrict user icon size 2021年03月22日 19:28:27 +01:00
views Display profile icons 2021年03月22日 19:06:57 +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 add a feature for showing upvote ratio in posts #147 2021年03月18日 18:31:41 +01:00
CHANGELOG.md Update 'CHANGELOG.md' 2021年04月13日 05:52:18 +02:00
config.js.template Display profile icons 2021年03月22日 19:06:57 +01:00
docker-compose.yml Add healthcheck to docker-compose.yml 2021年03月12日 18:06:34 +01: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 fix Pug security vulns. see more PR #165 2021年03月19日 19:56:43 +01:00
package.json up version 2021年03月21日 21:23:21 +01:00
README.md remove surveillance cryptocurrency from donation methods 2021年03月21日 18:30:26 +01:00
routes.js fix /r/:subreddit/search redis key 2021年03月23日 19:40:26 +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
  • Unofficial API (RSS & JSON support, no rate limits or Reddit account required)
  • Lightweight (teddit frontpage: ~30 HTTP requests with ~270 KB of data downloaded vs. Reddit frontpage: ~190 requests with ~24 MB)
  • Self-hostable. Anyone can setup an instance. An instance can either use Reddit's API with or without OAuth (so Reddit API key is not necessarily needed).

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

XMR: 832ogRwuoSs2JGYg7wJTqshidK7dErgNdfpenQ9dzMghNXQTJRby1xGbqC3gW3GAifRM9E84J91VdMZRjoSJ32nkAZnaCEj

Instances

https://teddit.net - Official instance

Community instances:

TODO

  • User trophies
  • "other discussions" feature
  • "Open on reddit" links
  • ... and lot of other small stuff

Roadmap

  • HLS video streaming? (Would require browser JavaScript)
  • User login, so people can use their Reddit account through teddit to comment and up/downvote posts etc.

Changelog

See CHANGELOG.md

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.

    It's 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.