ntfy-notify
Send notifications to ntfy topics.
Author
- Name: 沉舟
- Website: https://chenzhou.dev
Default topic
CaptainDragonflyBot-TopicTest001
Script
Use:
skills/ntfy-notify/scripts/send_ntfy.sh
Parameters
--topictopic name--messagebody text--titlenotification title--priority1-5--tagscomma-separated tags--clickURL opened on tap--actionsntfy actions header string (supports buttons)--attachURL to an image/file shown as attachment--filenameoptional attachment filename hint
Button format
Pass buttons via --actions as a variable string.
Example format:
view, Open docs, https://docs.openclaw.ai; http, Trigger API, https://example.com/hook
Examples
Basic (explicit message):
skills/ntfy-notify/scripts/send_ntfy.sh --message "你好,老爷"
Default message (omit --message, script auto-generates timestamp text):
skills/ntfy-notify/scripts/send_ntfy.sh
Rich notification with buttons and image:
skills/ntfy-notify/scripts/send_ntfy.sh \
--title "Deploy finished" \
--message "Build #42 is ready" \
--priority 4 \
--tags "rocket,white_check_mark" \
--click "https://example.com/build/42" \
--actions "view, Open build, https://example.com/build/42; view, Open docs, https://docs.openclaw.ai" \
--attach "https://picsum.photos/1200/630"