Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace LibReddit with Redlib #5459

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/libreddit/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"name": "LibReddit",
"available": true,
"exposable": true,
"deprecated": true,
"port": 8105,
"id": "libreddit",
"tipi_version": 3,
"tipi_version": 4,
"version": "latest",
"categories": ["social"],
"description": "LibReddit is a bloat free reddit frontend written in Rust, no ads, no tracking and strong Content Security Policy prevents any request from going to reddit, everything is proxied.",
Expand Down
20 changes: 20 additions & 0 deletions apps/redlib/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "../schema.json",
"name": "Redlib",
"available": true,
"exposable": true,
"dynamic_config": true,
"port": 8501,
"id": "redlib",
"tipi_version": 1,
"version": "latest",
"categories": ["social"],
"description": "An alternative private front-end to Reddit, with its origins in Libreddit.",
"short_desc": " Private front-end for Reddit",
"author": "sigaloid",
"source": "https://github.com/redlib-org/redlib",
"form_fields": [],
"supported_architectures": ["amd64"],
"created_at": 1731263656297,
"updated_at": 1731263656297
}
15 changes: 15 additions & 0 deletions apps/redlib/docker-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"services": [
{
"name": "redlib",
"image": "quay.io/redlib/redlib:latest",
"internalPort": 8080,
"isMain": true,
"healthCheck": {
"test": "wget --spider -q --tries=1 http://localhost:8080/settings",
"interval": "10s",
"timeout": "3s"
}
}
]
}
40 changes: 40 additions & 0 deletions apps/redlib/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: "3.7"
services:
redlib:
container_name: redlib
image: quay.io/redlib/redlib:latest
DireMunchkin marked this conversation as resolved.
Show resolved Hide resolved
ports:
- ${APP_PORT}:8080
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 10s
timeout: 3s
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.redlib-web-redirect.redirectscheme.scheme: https
traefik.http.services.redlib.loadbalancer.server.port: 8080
# Web
traefik.http.routers.redlib-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.redlib-insecure.entrypoints: web
traefik.http.routers.redlib-insecure.service: redlib
traefik.http.routers.redlib-insecure.middlewares: redlib-web-redirect
# Websecure
traefik.http.routers.redlib.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.redlib.entrypoints: websecure
traefik.http.routers.redlib.service: redlib
traefik.http.routers.redlib.tls.certresolver: myresolver
# Local domain
traefik.http.routers.redlib-local-insecure.rule: Host(`redlib.${LOCAL_DOMAIN}`)
traefik.http.routers.redlib-local-insecure.entrypoints: web
traefik.http.routers.redlib-local-insecure.service: redlib
traefik.http.routers.redlib-local-insecure.middlewares: redlib-web-redirect
# Local domain secure
traefik.http.routers.redlib-local.rule: Host(`redlib.${LOCAL_DOMAIN}`)
traefik.http.routers.redlib-local.entrypoints: websecure
traefik.http.routers.redlib-local.service: redlib
traefik.http.routers.redlib-local.tls: true
runtipi.managed: true
15 changes: 15 additions & 0 deletions apps/redlib/metadata/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

# Redlib

> An alternative private front-end to Reddit, with its origins in [Libreddit](https://github.com/libreddit/libreddit).

![screenshot](https://i.ibb.co/18vrdxk/redlib-rust.png)

---

**10-second pitch:** Redlib is a private front-end like [Invidious](https://github.com/iv-org/invidious) but for Reddit. Browse the coldest takes of [r/unpopularopinion](https://redlib.matthew.science/r/unpopularopinion) without being [tracked](#reddit).

- 🚀 Fast: written in Rust for blazing-fast speeds and memory safety
- ☁️ Light: no JavaScript, no ads, no tracking, no bloat
- 🕵 Private: all requests are proxied through the server, including media
- 🔒 Secure: strong [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) prevents browser requests to Reddit
Binary file added apps/redlib/metadata/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.