Add /about landing page with slow web philosophy

Shows instance stats, destination hash for subscribing, and explains
the slow web movement and how TinyWeb works. Destination hash is
stored in settings on startup so the about page can display it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Derick Phan 2026-03-25 23:21:02 -07:00 committed by lichenblankie
parent 1d0cd18f2f
commit c2a0781f9b
2 changed files with 58 additions and 2 deletions

3
app.py
View file

@ -4,7 +4,7 @@ import threading
import RNS
from http.server import HTTPServer
from db import init_db
from db import init_db, set_setting
from handlers import dispatch_request
from gateway import GatewayState, GatewayHandler, GATEWAY_PORT
@ -55,6 +55,7 @@ def main():
)
destination.announce()
set_setting("dest_hash", destination.hash.hex())
start_gateway(reticulum)
print(f"TinyWeb running!")