added readme and notify.sh

This commit is contained in:
2026-06-01 07:48:49 -05:00
commit ebd97f9087
2 changed files with 18 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# Scripts
This is just a handy place to put shell scripts that I write.
## notify.sh
A script that wraps the pushover API for sending notifications.
[Here](https://learningunix.net/posts/dead-simple-notifications-with-pushover/)
is an article on example usage. It relies on the user's pushover user and api key
to be saved as environment variables.
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
/usr/bin/curl -s \
--form-string "token=$PUSHOVER_TOKEN" \
--form-string "user=$PUSHOVER_USER" \
--form-string "title=$1" \
--form-string "message=$2" \
https://api.pushover.net/1/messages.json