Skip to content

hueristiq/xnotifi3r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hqnotifi3r

made with go maintenance open issues closed issues license twitter

hqnotifi3r is a helper utility to send messages from CLI to Slack.

Resources

Installation

From Binary

You can download the pre-built binary for your platform from this repository's releases page, extract, then move it to your $PATHand you're ready to go.

From Source

hqnotifi3r requires go1.17+ to install successfully. Run the following command to get the repo

go install github.com/hueristiq/hqnotifi3r/cmd/hqnotifi3r@latest

From Github

git clone https://github.com/hueristiq/hqnotifi3r.git && \
cd hqnotifi3r/cmd/hqnotifi3r/ && \
go build . && \
mv hqnotifi3r /usr/local/bin/ && \
hqnotifi3r -h

Post Insall Setup

Config File

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"

Usage

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

Contribution

Issues and Pull Requests are welcome!

About

A helper utility to send messages from CLI to Slack.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages