Add teddit

This commit is contained in:
Seth For Privacy 2022-09-09 09:50:15 -04:00
parent 6d6984deae
commit 5eef07d3df
No known key found for this signature in database
GPG Key ID: 6B9791C6214D1E57
5 changed files with 118 additions and 0 deletions

15
apps/teddit/config.json Normal file
View File

@ -0,0 +1,15 @@
{
"$schema": "../schema.json",
"name": "teddit",
"available": true,
"port": 8110,
"id": "teddit",
"tipi_version": 1,
"version": "latest",
"categories": ["social"],
"description": "A free and open source alternative Reddit front-end focused on privacy. Inspired by the Nitter project.",
"short_desc": "Alternative Reddit front-end focused on privacy https://teddit.net",
"author": "teddit",
"source": "https://codeberg.org/teddit/teddit",
"form_fields": []
}

View File

@ -0,0 +1,43 @@
version: "3.7"
services:
teddit:
image: teddit/teddit:latest
container_name: teddit
networks:
- tipi_main_network
ports:
- ${APP_PORT}:8080
depends_on:
- teddit-redis
restart: unless-stopped
environment:
- REDIS_HOST=teddit-redis
- DOMAIN=${APP_DOMAIN}
- THEME=dark
- HTTPS_ENABLED=false
- REDIRECT_HTTP_TO_HTTPS=false
- REDIRECT_WWW=false
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
interval: 1m
timeout: 3s
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.teddit.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.teddit.entrypoints: websecure
traefik.http.routers.teddit.service: teddit
traefik.http.routers.teddit.tls.certresolver: myresolver
traefik.http.services.teddit.loadbalancer.server.port: 8080
teddit-redis:
image: redis:alpine
container_name: teddit-redis
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30

View File

@ -0,0 +1,43 @@
version: "3.7"
services:
teddit:
image: teddit/teddit:latest
container_name: teddit
networks:
- tipi_main_network
ports:
- ${APP_PORT}:8080
depends_on:
- teddit-redis
restart: unless-stopped
environment:
- REDIS_HOST=teddit-redis
- DOMAIN=${APP_DOMAIN}
- THEME=dark
- HTTPS_ENABLED=false
- REDIRECT_HTTP_TO_HTTPS=false
- REDIRECT_WWW=false
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
interval: 1m
timeout: 3s
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.teddit.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.teddit.entrypoints: websecure
traefik.http.routers.teddit.service: teddit
traefik.http.routers.teddit.tls.certresolver: myresolver
traefik.http.services.teddit.loadbalancer.server.port: 8080
teddit-redis:
image: redis:alpine
container_name: teddit-redis
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30

View File

@ -0,0 +1,17 @@
# teddit
[teddit.net](https://teddit.net)
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
* [Unofficial API](https://codeberg.org/teddit/teddit/wiki#teddit-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](https://matrix.to/#/#teddit:matrix.org)
XMR: 832ogRwuoSs2JGYg7wJTqshidK7dErgNdfpenQ9dzMghNXQTJRby1xGbqC3gW3GAifRM9E84J91VdMZRjoSJ32nkAZnaCEj

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB