Feature: GTS notifications into Nextcloud notifications (bell + mobile push) #2

Open
opened 2026-08-05 22:22:35 -07:00 by neonoverlord · 0 comments
Member

Brock, 2026-08-05: work Pinnacle/GTS notifications into Nextcloud notifications.

Verdict: possible and worth it. Lives HERE (not bawnet/pinnacle): the app already holds per-user GTS OAuth tokens server-side for the widgets; Pinnacle is client-only and has no server presence.

Sketch:

  • BackgroundJob (NC cron, ~5 min) polls /api/v1/notifications?since_id=X per connected user; since_id stored per user for dedupe
  • Map types (mention/favourite/reblog/follow) -> INotificationManager notifications -> NC web bell + NC mobile app push, for free
  • Click-through: deep link into the bundled Pinnacle client (/apps/integration_gotosocial/client/statuses/{id}) — pairs with the gate-2 link rewiring (ops/features#30)
  • Per-user opt-in toggle in the app's personal settings; sane cap per poll so a federation storm doesn't flood the bell

Caveats: none structural — poll cost is trivial, and GTS's notification API is stable Mastodon-shape.

Brock, 2026-08-05: work Pinnacle/GTS notifications into Nextcloud notifications. **Verdict: possible and worth it.** Lives HERE (not bawnet/pinnacle): the app already holds per-user GTS OAuth tokens server-side for the widgets; Pinnacle is client-only and has no server presence. **Sketch:** - BackgroundJob (NC cron, ~5 min) polls `/api/v1/notifications?since_id=X` per connected user; `since_id` stored per user for dedupe - Map types (mention/favourite/reblog/follow) -> `INotificationManager` notifications -> NC web bell + NC mobile app push, for free - Click-through: deep link into the bundled Pinnacle client (`/apps/integration_gotosocial/client/statuses/{id}`) — pairs with the gate-2 link rewiring (ops/features#30) - Per-user opt-in toggle in the app's personal settings; sane cap per poll so a federation storm doesn't flood the bell **Caveats:** none structural — poll cost is trivial, and GTS's notification API is stable Mastodon-shape.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bawnet/integration_gotosocial#2