Slackcat
A simple way of sending messages from the CLI output to your Slack with webhook.
Install / Use
/learn @dwisiswant0/SlackcatREADME
slackcat
A simple way of sending messages from the CLI output to your Slack with webhook.
See discat for Discord version.
Installation
- Download a prebuilt binary from releases page, unpack and run! or
- If you have go1.13+ compiler installed:
go get github.com/dwisiswant0/slackcat- for go1.18+:
go install github.com/dwisiswant0/slackcat@latest
- for go1.18+:
Configuration
Step 1: Get yours Slack incoming webhook URL here.
Step 2 (optional): Set SLACK_WEBHOOK_URL environment variable.
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/xxx/xxx/xxx"
Usage
It's very simple!
▶ echo -e "Hello,\nworld!" | slackcat
Flags
Usage of slackcat:
-1 Send message line-by-line
-u string
Slack Webhook URL
-v Verbose mode
Workaround
The goal is to get automated alerts for interesting stuff!
▶ assetfinder dw1.io | anew | slackcat -u https://hooks.slack.com/services/xxx/xxx/xxx
The -u flag is optional if you've defined SLACK_WEBHOOK_URL environment variable.
Slackcat also strips the ANSI colors from stdin to send messages, so you'll receive a clean message on your Slack!
▶ nuclei -l urls.txt -t cves/ | slackcat

Line-by-line
Instead of have to wait for previously executed program to finish, use the -1 flag if you want to send messages on a line by line (default: false).
▶ amass track -d domain.tld | slackcat -1
Thanks
Related Skills
imsg
343.1kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
slack
343.1kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
tmux
343.1kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
xurl
343.1kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
