Notification library for gophers and their furry friends. Heavily inspired by caronc/apprise.
Using shoutrrr is easy! There is currently two ways of using it as a package.
url := "slack://token-a/token-b/token-c"
err := shoutrrr.Send(url, "Hello world (or slack channel) !") url := "slack://token-a/token-b/token-c"
sender := shoutrrr.CreateSender(url)
sender.Send("Hello world (or slack channel) !", map[string]string { /* ... */ })Start by running the build.sh script.
You may then run the shoutrrr executable:
$ ./shoutrrr
Usage:
./shoutrrr <ActionVerb> [...]
Possible actions: send, verify, generate$ ./shoutrrr send
Usage:
./shoutrrr send [OPTIONS] <URL> <Message [...]>
OPTIONS:
-verbose
display additional output$ ./shoutrrr verify
Usage:
./shoutrrr send [OPTIONS] <URL> <Message [...]>$ ./shoutrrr generate
Usage:
./shoutrrr generate [OPTIONS] <service>To make it easy and streamlined to consume shoutrrr regardless of the notification service you want to use, we've implemented a notification service url schema. To send notifications, instantiate the ShoutrrrrClient using one of the service urls below.
| Service | Format |
|---|---|
| Discord | discord://channel/token |
| Pushover | pushover://token/user/device |
| Slack | slack://token-a/token-b/token-cslack://botname/token-a/token-b/token-c |
| Teams | teams://token-a/token-b/token-c |
| Telegram | telegram://api-token/channeltelegram://api-token/channel-a/channel-b/channel-c/... |
| Gotify | gotify://gotify-host/token |
| Pushbullet | pushbullet://api-tokenpushbullet://api-token/device/#channel/[email protected] |