mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
1.2 KiB
Executable File
1.2 KiB
Executable File
Overview
Apprise is a notification gateway/publisher that allows you to push notifications to 80+ different services.
Notes
You need to bring your own separate Apprise instance to use this publisher gateway. I suggest this Apprise image.
Usage
- Go to settings and fill in relevant details.
- Use the Apprise container's URL in the
APPRISE_HOSTsetting.
Examples
Telegram
Troubleshooting
-
Replace
<bottoken>and<chatid>with your values. -
Test telegram notification in browser
https://api.telegram.org/bot<bottoken>/sendMessage?chat_id=<chatid>&text=%40%40TEXT%40%40
- Test apprise notification in console (replace
192.168.1.2:9999with your apprise ip and port)
curl -X POST -d '{"urls":"tgram://<bottoken>/<chatid>","body":"test body from curl","title":"test title from curl"}' -H "Content-Type: application/json" "http://192.168.1.2:9999/notify/"
- Test from the docker apprise container console
apprise -vv -t "Test Message from apprise console" -b "Test Message from apprise console" \
tgram://<bottoken>/<chatid>/
