Skip to content

Instantly share code, notes, and snippets.

@mamemomonga
Created April 3, 2022 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamemomonga/759541e2c738818c0eb2efa48fe86f44 to your computer and use it in GitHub Desktop.
Save mamemomonga/759541e2c738818c0eb2efa48fe86f44 to your computer and use it in GitHub Desktop.
prowlによるシンプルな通知
#!/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