diff --git a/ntfysend b/ntfysend new file mode 100755 index 0000000..433bd3d --- /dev/null +++ b/ntfysend @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +source /etc/ntfysendrc + +message="$1" +title="${2:-$(hostname)}" + +curl -u "$NTFY_USER:$NTFY_PASSWORD" \ + -H "Title: $title" \ + -d "$message" \ + $NTFY_URL