Send formatted notifications via email and iMessage from a single command.
config/himalaya.toml)BLUEBUBBLES_SERVER — server URLBLUEBUBBLES_PASSWORD — API password./scripts/send-notification.sh \
--content <markdown-file> \
--emails <comma-separated-emails> \
--phones <comma-separated-phone-numbers>
| Flag | Required | Description |
|---|---|---|
| --- | --- | --- |
--content | Yes | Path to markdown file to send |
--emails | No* | Comma-separated email recipients |
--phones | No* | Comma-separated phone numbers (iMessage) |
\* At least one of --emails or --phones must be provided.
# Format first
prettier --write announcement.md --config config/.prettierrc.json
markdownlint announcement.md --config config/.markdownlint.json
# Send to team
./scripts/send-notification.sh \
--content announcement.md \
--emails team@company.com \
--phones +15555550123
send-notification.sh to deliver via email and/or iMessage共 2 个版本