feat: replace Web Push with ntfy for medication reminders

Single notification path via ntfy HTTP publish for reliable Android delivery;
remove VAPID, push subscriptions, and SW push handlers. PWA settings show
topic subscribe link; humor texts and deep-link actions unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-07-06 10:42:58 +02:00
parent 24ac7f2f48
commit 1cada42370
17 changed files with 251 additions and 323 deletions
+5 -4
View File
@@ -5,10 +5,11 @@ APP_PIN=1234
JWT_SECRET=change-me-to-a-long-random-string
JWT_EXPIRE_DAYS=90
# VAPID keys für Web Push — generieren mit: python tools/gen_vapid.py
VAPID_PRIVATE_KEY=
VAPID_PUBLIC_KEY=
VAPID_CLAIMS_EMAIL=mailto:admin@schwenk.online
# ntfy — Erinnerungen an Topic publizieren (ntfy-App abonnieren)
NTFY_URL=https://ntfy.schwenk.online
NTFY_TOPIC=takeyourmeds
NTFY_TOKEN=
NTFY_CLICK_URL=https://medis.schwenk.online
# OpenRouter (optional — Roast-of-the-Day)
OPENROUTER_API_KEY=