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:
parent
62055a578d
commit
175582914d
2 changed files with 58 additions and 2 deletions
3
app.py
3
app.py
|
|
@ -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!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue