hqnotifi3r is a helper utility to send messages from CLI to Slack.
You can download the pre-built binary for your platform from this repository's releases page, extract, then move it to your $PATH
and you're ready to go.
hqnotifi3r requires go1.17+ to install successfully. Run the following command to get the repo
go install github.com/hueristiq/hqnotifi3r/cmd/hqnotifi3r@latest
git clone https://github.com/hueristiq/hqnotifi3r.git && \
cd hqnotifi3r/cmd/hqnotifi3r/ && \
go build . && \
mv hqnotifi3r /usr/local/bin/ && \
hqnotifi3r -h
The default config file should be located in $HOME/.config/hqnotifi3r/conf.yaml
and has the following contents:
version: 1.0.0
platforms:
slack:
-
id: "slack"
slack_token: "xoxb-123456789012-1234567890123-4mt0t4l1YL3g1T5L4cK70k3N"
slack_botname: "hqnotifi3r"
slack_channel_id: "C039ZSYCYKT"
-
id: "targets"
slack_token: "xoxb-123456789012-1234567890123-4mt0t4l1YL3g1T5L4cK70k3N"
slack_botname: "hqnotifi3r"
slack_channel_id: "C03L9RQRK4P"
To display help message for sigurls use the -h
flag:
hqnotifi3r -h
_ _ _ __ _ _____
| |__ __ _ _ __ ___ | |_(_)/ _(_)___ / _ __
| '_ \ / _` | '_ \ / _ \| __| | |_| | |_ \| '__|
| | | | (_| | | | | (_) | |_| | _| |___) | |
|_| |_|\__, |_| |_|\___/ \__|_|_| |_|____/|_| v1.0.0
|_|
USAGE:
hqnotifi3r [OPTIONS]
OPTIONS:
-d, --data file path to read data from
-p, --platform platform to send notification to
-i, --id id to send the notification to
Issues and Pull Requests are welcome!