Site engine v6 — dynamic Flask app with search, analytics, RSS, sitemap

This commit is contained in:
drjones
2026-08-04 00:38:05 -07:00
commit 3e4d6721d3
3 changed files with 1403 additions and 0 deletions

14
README.md Normal file
View File

@@ -0,0 +1,14 @@
# ai — Auto Publisher Site
Live at `ai.thetempleofdoom.com` — part of the autonomous publishing network.
## Tech Stack
- Python Flask on port 5000
- nginx reverse proxy on port 80
- SQLite database with FTS5 search
- Cloudflare tunnel for public access
## Deploy
```bash
cd /opt/publisher && systemctl restart publisher
```

1379
app.py Normal file

File diff suppressed because it is too large Load Diff

10
start.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Per-vertical site launcher — installed on each CT
# Usage: /opt/publisher/start.sh
# Expects PUBLISHER_VERTICAL env var to be set
export PUBLISHER_VERTICAL="${PUBLISHER_VERTICAL:-guides}"
export PUBLISHER_SECRET="auto-publish-2026"
cd /opt/publisher
exec python3 app.py --port 5000 --host 0.0.0.0