Created
April 3, 2022 03:31
-
-
Save mamemomonga/759541e2c738818c0eb2efa48fe86f44 to your computer and use it in GitHub Desktop.
prowlによるシンプルな通知
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
# 使い方 | |
# ./prowl-notify.sh "こんにちは" | |
# https://www.prowlapp.com/ | |
PROWL_APIKEY=ここにAPIキーを書く | |
curl -X POST -d 'apikey='"$PROWL_APIKEY"'&application=something&priority=-1&event='"$1"'' \ | |
https://api.prowlapp.com/publicapi/add | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment