feat: add ntfy notification support

This commit is contained in:
2026-07-26 16:29:08 +02:00
parent 12183f26e8
commit 2427e5e426
2 changed files with 74 additions and 1 deletions
+11 -1
View File
@@ -38,7 +38,13 @@ The default values are below.
"ping": false,
"userPing": "@someone",
"userPingServer": "matrix.org"
}
},
"ntfy": {
"enable": False,
"auth": "user:password",
"server": "ntfy.example.com",
"topic": "Alerts"
}
}
```
`configTime` (seconds) is the time between each check of all the PR.
@@ -48,6 +54,10 @@ The default values are below.
`matrix.room` (string) Matrix room to send the notifications.
`matrix.ping` (boolean) Pings a user in the notification messages.
`matrix.userPing` and `matrix.userPingServer` (strings) are the required information for the ping.
`ntfy.enable` (boolean) Enable ntfy notifications.
`ntfy.auth` (string of form user:password) Credentials. If you use a token, please let user empty and put the token in password. An empty auth header will skip auth.
`ntfy.server` (string url) Ntfy server to use.
`ntfy.topic` (string) Ntfy topic for the notification.
### Usage