No description
- Go 99.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| cli | ||
| debian | ||
| docs | ||
| internal | ||
| pkg | ||
| .all-contributorsrc | ||
| .gitignore | ||
| build.sh | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| goreleaser.yml | ||
| LICENSE | ||
| mkdocs.yml | ||
| README.md | ||
| shoutrrr.go | ||
Shoutrrr
Notification library for gophers and their furry friends. Heavily inspired by caronc/apprise.
Quick Start
As a package
Using shoutrrr is easy! There is currently two ways of using it as a package.
Using the direct send command
url := "slack://token-a/token-b/token-c"
err := shoutrrr.Send(url, "Hello world (or slack channel) !")
Using a sender
url := "slack://token-a/token-b/token-c"
sender, err := shoutrrr.CreateSender(url)
sender.Send("Hello world (or slack channel) !", map[string]string { /* ... */ })
Using a sender with multiple URLs
urls := []string {
"slack://token-a/token-b/token-c"
"discord://token@channel"
}
sender, err := shoutrrr.CreateSender(urls...)
sender.Send("Hello world (or slack channel) !", map[string]string { /* ... */ })
Through the CLI
Start by running the build.sh script.
You may then run send notifications using the shoutrrr executable:
$ shoutrrr send [OPTIONS] <URL> <Message [...]>
Documentation
For additional details, visit the full documentation.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Amir Schnell 💻 |
nils måsén 💻 📖 🚧 |
Luka Peschke 💻 📖 |
MrLuje 💻 📖 |
Simon Aronsson 💻 📖 🚧 |
Arne Jørgensen 📖 💻 |
Alexei Tighineanu 💻 |
Alexandru Bonini 💻 |
Senan Kelly 💻 |
JonasPf 💻 |
claycooper 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Related Project(s)
- watchtower - process for automating Docker container base image updates that uses shoutrrr for notifications
- kured - kubernetes reboot daemon has adopted shoutrrr as their unified notification method starting with version 1.7.0.