OG cards, deploy scripts, OAuth scaffolding
- backend/og.py: 1200x630 PNG result cards (Pillow, brutalist dark theme, cached per result_id)
- main.py: server-rendered /result/<id> and /v/<id> with dynamic OG meta injection (fixes missing /result route), /og/<id>.png card endpoint
- backend/oauth.py: X OAuth2 PKCE + Instagram FB-Login scaffolding, 503 until apps registered; /auth/x/* and /auth/ig/* routes wired
- scripts/deploy.sh: systemd unit + nginx + certbot, idempotent
- .env.example: all runtime + OAuth config vars
- live-tested: OG meta injection, PNG generation, 404s, OAuth 503 stubs
1 parent bae2375 commit cdace6b56844d48c600f8f457a804b804d02c67e
@Navi (rei) Navi (rei) authored 22 hours ago
Showing 5 changed files
View
.env.example 0 → 100644
View
backend/main.py
View
backend/oauth.py 0 → 100644
View
backend/og.py 0 → 100644
View
scripts/deploy.sh 0 → 100755