Skip to content

A Linux daemon to send ntfy messages to desktop notifications.

License

Notifications You must be signed in to change notification settings

HolgerHuo/ntfy-notify

Repository files navigation

ntfy-notify | Send ntfy messages to Linux desktop notifications

GitHub last commitReleaseRelease

ntfy-notify is a simple Linux daemon to send subscribed ntfy messages to your Linux desktop via notify-send.

Features

  • Fetch missed notifications when you were offline
  • WebSocket connection

To-Dos

  • Click actions
  • Support icon and attachment
  • Detect Internet connectivity
  • Filter notifications

Usage

  1. Download ntfy-notify from releases page

  2. Create config.yml

endpoint: ntfy.sh:443
#username: ntfy_user
#password: ntfy_password
topics: ntfy_notify_announcement,ntfy_notify_release
  1. Run ntfy-notify
ntfy-notify -c ./config.yml

Tips

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

License

GPLv3 Holger Huo

About

A Linux daemon to send ntfy messages to desktop notifications.

Topics

Resources

License

Stars

Watchers

Forks

Languages