Party Hardy

This commit is contained in:
2026-10-17 07:33:08 +02:00
parent d84e4cf3d3
commit 7274cc1840
51 changed files with 2738 additions and 2100 deletions
+4 -1
View File
@@ -42,12 +42,15 @@ sudo apt-get install -y libglib2.0-0 libpango-1.0-0 libpangoft2-1.0-0 libharfbuz
```
devplacepy/
main.py # FastAPI app, router registration
middleware/ # HTTP middlewares + shared request state (package)
errors.py # Global exception handlers
lifespan.py # Startup/shutdown, service registry
config.py # Settings from env vars + .env
database/ # dataset connection, index creation (package)
templating.py # Shared Jinja2 environment + globals
avatar.py # Multiavatar generation, URL builder
utils/ # Password hashing, session mgmt, time_ago, notification hook (package)
models.py # Pydantic schemas
models/ # Pydantic Form models, one module per domain (package)
push/ # Push delivery: provider protocol, Web Push, APNs, registrations
routers/ # One file per domain (auth, feed, posts, push, ...)
templates/ # Jinja2 HTML templates