Send push notifications via Gotify from Clawdbot.
- Push notifications — send alerts to your phone/desktop
- Priority levels — control notification importance (0-10)
- Markdown support — rich formatted notifications
- Task completion — notify when long-running tasks finish
- Open your Gotify web UI
- Go to Apps tab
- Click Create Application
- Copy the generated Token
mkdir -p ~/.clawdbot/credentials/gotify
cp config.json.example ~/.clawdbot/credentials/gotify/config.json
# Edit with your actual valuesOr create manually:
{
"url": "https://gotify.example.com",
"token": "your-app-token-here"
}bash scripts/send.sh "Hello from Clawdbot!"bash scripts/send.sh "Task completed successfully"bash scripts/send.sh --title "Build Complete" --message "All tests passed"
# Or shorthand:
bash scripts/send.sh -t "Build Complete" -m "All tests passed"# High priority (triggers sound/vibration)
bash scripts/send.sh -t "Critical Alert" -m "Service down" -p 10
# Low priority (silent)
bash scripts/send.sh -m "Background task done" -p 2Priority levels:
- 0-3: Low (silent)
- 4-7: Normal (default: 5)
- 8-10: High (may trigger sound/vibration)
bash scripts/send.sh --markdown -t "Deploy Summary" -m "
## Deployment Complete
- **Status**: ✅ Success
- **Duration**: 2m 34s
- **Commits**: 5 new
"# Notify when a command finishes
./deploy.sh && bash scripts/send.sh "Deploy finished"
# Notify on error
./critical-task.sh || bash scripts/send.sh -t "⚠️ Failure" -m "Task failed" -p 10| Flag | Description |
|---|---|
-m, --message |
Notification message (required) |
-t, --title |
Notification title (optional) |
-p, --priority |
Priority 0-10 (default: 5) |
--markdown |
Enable markdown formatting |
export GOTIFY_URL="https://gotify.example.com"
export GOTIFY_TOKEN="your-app-token""Gotify not configured"
→ Check your config file exists at ~/.clawdbot/credentials/gotify/config.json
Connection refused
→ Verify your Gotify server URL is correct
401 Unauthorized
→ Your token is invalid — create a new app in Gotify
MIT