ntfy-notify
is a simple Linux daemon to send subscribed ntfy messages to your Linux desktop via notify-send
.
- Fetch missed notifications when you were offline
- WebSocket connection
- Click actions
- Support icon and attachment
- Detect Internet connectivity
- Filter notifications
-
Download ntfy-notify from releases page
-
Create
config.yml
endpoint: ntfy.sh:443
#username: ntfy_user
#password: ntfy_password
topics: ntfy_notify_announcement,ntfy_notify_release
- Run ntfy-notify
ntfy-notify -c ./config.yml
If your Internet connection is not so stable, you could use nm-dispatcher or similar tools to manage this application's lifecycle. Please DO feedback on how to reliably and efficiently detect network connection and stop/restart ntfy-notify
process.
[Unit]
Description=ntfy-notify
After=network.target NetworkManager.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/ntfy-notify -c %h/.config/ntfy-notify/config.yml -json
KillSignal=SIGINT
[Install]
WantedBy=default.target
GPLv3 Holger Huo