diff options
| author | Christian Cleberg <[email protected]> | 2026-08-02 15:29:32 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-02 15:29:32 -0500 |
| commit | 972abc197bafc995f65cf3a45b1d901675be3176 (patch) | |
| tree | 9dca52b4b903bb36c03512cfc08a68ef4bd8c4d6 /README.nfo | |
| parent | 081e09659f8e1cc4197cbe02b56e8b273708ff72 (diff) | |
| download | hutch-notify-main.tar.gz hutch-notify-main.tar.bz2 hutch-notify-main.zip | |
Diffstat (limited to 'README.nfo')
| -rw-r--r-- | README.nfo | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/README.nfo b/README.nfo new file mode 100644 index 0000000..e19e76c --- /dev/null +++ b/README.nfo @@ -0,0 +1,45 @@ +┌──────────────────────────────────────────────────────────────┐ +│ H U T C H - N O T I F Y [ KRZ ] krz.sh │ +└──────────────────────────────────────────────────────────────┘ + +WHAT + backend for push notifications in hutch. + +DOES + - register apns device tokens + - store notification subscriptions + - poll sr.ht for changes + - send pushes via apns + +STACK + python (fastapi), sqlite, apns (http/2, token auth). + +STATUS + early development. current scope: device registration and a test + push endpoint. planned: build, ticket, and inbox notifications. + +RUN + python3.12 -m venv .venv + source .venv/bin/activate + pip install -r requirements.txt + uvicorn app.main:app --reload + +ENV + create .env: + + API_KEY=change-me + DATABASE_URL=sqlite+aiosqlite:///./hutch_notify.db + APNS_KEY_ID= + APNS_TEAM_ID= + APNS_BUNDLE_ID= + APNS_PRIVATE_KEY_PATH= + SRHT_TOKEN= + +NOTES + - the ios app registers with apns and sends its token here. + - keep the apns .p8 key secure. + - event-driven eventually; the first version polls. + +┌──────────────────────────────────────────────────────────────┐ +│ krz.sh │ +└──────────────────────────────────────────────────────────────┘ |
