mirror of
https://github.com/tomasriveral/nixpkgs-notifier.git
synced 2026-08-12 02:38:37 +02:00
feat: add ntfy notification support
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user