Extendable notification tool for various services
notifyer
is a notification tool written in golang. It will read stdin and sends notification to services such as Slack, Discord and so on. You will have to configure by writting TOML file. Don't worry, it is very very simple to configure and to use.
$ brew tap KeisukeYamashita/notifyer
$ brew install notifyer
$ git clone https://KeisukeYamashita/notifyer
$ make install
Post message to slack.
cat message.txt | notifyer slack
See below for detailed usage and supported services.
Currently supports sdtin only.
Service name | Status |
---|---|
Discord | ○ |
Slack | ○ |
Line | ○ |
The script will check the following files for configuration.
NOTIFYER_PATH
env var$HOME/.notify_discord
The config toml file should be in this format.
[slack]
url = "hogehoge"
channel = "poip"
[linebot]
accessToken = ""
to = ""
[discord]
url = "https://"
echo "Hello fron Notifyer" | notifyer slack
echo "Hello fron Notifyer" | notifyer linebot
echo "Hello fron Notifyer" | notifyer discord
Also docker images are supported.
echo "Hello from Notifyer" | docker run -v $HOME/.notifyer.toml:/root/.notifyer.toml 1915keke/notifyer:0.1.0 slack
- I welcome your contributions.
- Please send issues and pull requests.
Notifyer is released under the MIT license.
© 2019 GitHub, Inc.