| name | last commit | updated |
|---|---|---|
| .github/ | Add GitHub Sponsors funding file | 10 days ago |
| .qlty/ | Qlty: disable function_complexity | 1 month ago |
| app/ | Add Qlty config; pass an APNSTarget to send_alert | 1 month ago |
| .env.example | initial commit | 7 months ago |
| .gitignore | initial commit | 7 months ago |
| LICENSE | convert readme to nfo; relicense to 0bsd | 3 months ago |
| README.org | Convert README.nfo to README.org (!1) | 2 months ago |
| hutch-notify.service | update working directory | 7 months ago |
| pyproject.toml | Merge pull request #2 from krazywarez/dependabot/pip/sqlalchemy-gte-2.0.52 | 3 months ago |
| uv.lock | Upgrade certifi, mako, pyjwt in uv.lock (!3) | 23 days ago |
hutch-notify
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.
Clone
SSHgit clone ssh://git@gitbay.org/krz/hutch-notify.git
HTTPSgit clone https://gitbay.org/krz/hutch-notify.git