This uses the AMQP message bus (as described in https://github.com/openSUSE/suse_msg) on rabbit.opensuse.org to generate push notifications via ntfy.sh.
SUSE is running an instance of this daemon. Feel free to send PRs for your custom notification needs.
Dependencies
- python3-pika
- python3-requests
Running
./bin/notify.py
Please note that - unless being started with --production, all ntfy.sh topics will be prefixed by -test to avoid spamming users.
Adding notification modules
Look e.g. at suse_notify/notifications/openqa_comment.py and see what was done there.
Just add another file into that folder.