From 2238a0fddc247fca5be27e4806f05896b71f3971 Mon Sep 17 00:00:00 2001 From: hobokenchicken Date: Mon, 6 Jul 2026 14:06:18 -0400 Subject: [PATCH] docs: fix VAPID_SUBJECT (no mailto:), add recent features to roadmap - Self-Hosting: VAPID_SUBJECT without mailto: prefix (library adds it) - Self-Hosting: fix keygen command to go run ./cmd/keygen - Self-Hosting: add iOS/Android push delivery notes - Roadmap: add formatting toolbar, DM kaomoji/GIFs, last-channel restore, DM push --- Roadmap.md | 5 ++++- Self-Hosting.md | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Roadmap.md b/Roadmap.md index eb09131..3116250 100644 --- a/Roadmap.md +++ b/Roadmap.md @@ -81,4 +81,7 @@ - [x] WebAuthn passkey backend (full begin/finish flow) - [x] WebAuthn passkey frontend (register/login buttons) - [x] REST API documentation (Swagger UI at /docs) -- [x] Swaggo handler annotations (in progress) +- [x] Inline markdown formatting toolbar (B/I/S/code/spoiler) +- [x] GIF picker and kaomoji in DMs +- [x] Restore last active channel on login +- [x] DM push notifications diff --git a/Self-Hosting.md b/Self-Hosting.md index 04b0d6d..cb587ae 100644 --- a/Self-Hosting.md +++ b/Self-Hosting.md @@ -50,7 +50,7 @@ GIPHY_API_KEY= # Push notifications (optional) VAPID_PUBLIC_KEY= VAPID_PRIVATE_KEY= -VAPID_SUBJECT=mailto:admin@your.domain +VAPID_SUBJECT=admin@your.domain ``` ## Ports required @@ -125,19 +125,19 @@ To enable push notifications: 1. Generate VAPID keys: ```bash - # Use any VAPID key generator, e.g.: - go run -exec "go run ./cmd/gen-vapid" . - # Or use an online generator + go run ./cmd/keygen ``` 2. Add to `.env`: ```env VAPID_PUBLIC_KEY= VAPID_PRIVATE_KEY= - VAPID_SUBJECT=mailto:admin@your.domain + VAPID_SUBJECT=admin@your.domain ``` -3. Users can subscribe via the web UI (browser notifications) + Set `VAPID_SUBJECT` to your email address **without** the `mailto:` prefix (the library adds it automatically). + +3. Users are auto-subscribed on login. On iOS, the prompt requires a tap gesture (a banner appears). On Android, notifications deliver through FCM when Chrome is running. Ensure Chrome battery optimization is set to Unrestricted for reliable delivery when the PWA is closed. ## Roles & permissions