Pushover
From Indie IT Wiki
Revision as of 08:41, 5 September 2024 by Plittlefield (talk | contribs)
Command Line
Curl
curl -s -o /dev/null --form-string "token=<application_api_token_key>" --form-string "user=<user_key>" --form-string "message=hello world" https://api.pushover.net/1/messages.json
Priority
curl -s -o /dev/null --form-string "token=<application_api_token_key>" --form-string "user=<user_key>" --form-string "message=hello world" --form-string "priority=1" https://api.pushover.net/1/messages.json
Pushover CLI
A Python script...
https://github.com/aaronfagan/pushover-cli
https://icon-icons.com/icons2/384/PNG/128/utilities-terminal-icon_37688.png
~/.pushover/config
USER_KEY="userkeyinhere" APP_TOKEN="apptokeninhere"
/usr/local/bin/pushover --quiet --title "My Title" --message "My message."