feat: Native ntfy notification integration #41

Open
opened 2026-05-08 04:46:04 +00:00 by jmiller · 1 comment
Owner

Built-in ntfy push notifications.

  • Per user/org/repo configuration
  • Event filters (issues, PRs, releases, CI)
  • Priority level mapping
  • Mobile push via ntfy app
  • Admin default server config
Built-in ntfy push notifications. - Per user/org/repo configuration - Event filters (issues, PRs, releases, CI) - Priority level mapping - Mobile push via ntfy app - Admin default server config
jmiller added the type: feature label 2026-05-11 17:08:56 +00:00
Author
Owner

Verified on v1.26.1-moko.3

Implementation

  • Notifier interface implemented (embeds NullNotifier)
  • Events: NewIssue, IssueChangeStatus, NewPullRequest, MergePullRequest, NewRelease, WorkflowRunStatusUpdate
  • Async HTTP POST with 5s timeout (non-blocking)
  • Per-event priority and emoji tags

Config

[ntfy]
ENABLED = true
SERVER_URL = https://ntfy.mokoconsulting.tech
DEFAULT_TOPIC = mokogitea

Files

  • modules/setting/ntfy.go
  • services/ntfy/ntfy.go
  • services/ntfy/notifier.go

Code compiled and deployed. Enable via app.ini to activate.

Authored-by: Claude Opus 4.6 (1M context)

## Verified on v1.26.1-moko.3 ### Implementation - Notifier interface implemented (embeds NullNotifier) - Events: NewIssue, IssueChangeStatus, NewPullRequest, MergePullRequest, NewRelease, WorkflowRunStatusUpdate - Async HTTP POST with 5s timeout (non-blocking) - Per-event priority and emoji tags ### Config ```ini [ntfy] ENABLED = true SERVER_URL = https://ntfy.mokoconsulting.tech DEFAULT_TOPIC = mokogitea ``` ### Files - modules/setting/ntfy.go - services/ntfy/ntfy.go - services/ntfy/notifier.go Code compiled and deployed. Enable via app.ini to activate. *Authored-by: Claude Opus 4.6 (1M context)*
jmiller reopened this issue 2026-05-22 02:03:23 +00:00
jmiller added the pending: testing label 2026-05-22 02:03:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#41