{"id":13840548,"url":"https://github.com/dwisiswant0/slackcat","last_synced_at":"2025-03-24T00:32:05.552Z","repository":{"id":41328271,"uuid":"289426214","full_name":"dwisiswant0/slackcat","owner":"dwisiswant0","description":"A simple way of sending messages from the CLI output to your Slack with webhook.","archived":false,"fork":false,"pushed_at":"2023-12-13T11:17:03.000Z","size":9,"stargazers_count":112,"open_issues_count":1,"forks_count":29,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-05T17:25:14.310Z","etag":null,"topics":["alert","alerting","go","golang","monitoring","slack","slack-commands"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwisiswant0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["dwisiswant0"],"custom":["https://paypal.me/dw1s","https://saweria.co/dwisiswant0","https://unstoppabledomains.com/d/dwisiswant0.crypto"]}},"created_at":"2020-08-22T05:33:18.000Z","updated_at":"2024-07-24T10:28:16.000Z","dependencies_parsed_at":"2024-04-18T23:35:05.723Z","dependency_job_id":null,"html_url":"https://github.com/dwisiswant0/slackcat","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwisiswant0%2Fslackcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwisiswant0%2Fslackcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwisiswant0%2Fslackcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwisiswant0%2Fslackcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwisiswant0","download_url":"https://codeload.github.com/dwisiswant0/slackcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221925896,"owners_count":16902777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alert","alerting","go","golang","monitoring","slack","slack-commands"],"created_at":"2024-08-04T17:00:50.236Z","updated_at":"2024-10-28T20:19:26.006Z","avatar_url":"https://github.com/dwisiswant0.png","language":"Go","funding_links":["https://github.com/sponsors/dwisiswant0","https://paypal.me/dw1s","https://saweria.co/dwisiswant0","https://unstoppabledomains.com/d/dwisiswant0.crypto"],"categories":["Go","Go (531)"],"sub_categories":[],"readme":"# slackcat\n\nA simple way of sending messages from the CLI output to your Slack with webhook.\n\n\u003e See [discat](https://github.com/dwisiswant0/discat) for Discord version.\n\n## Installation\n\n- Download a prebuilt binary from [releases page](https://github.com/dwisiswant0/slackcat/releases/latest), unpack and run! or\n- If you have go1.13+ compiler installed: `go get github.com/dwisiswant0/slackcat`\n  - for go1.18+: `go install github.com/dwisiswant0/slackcat@latest`\n\n## Configuration\n\n**Step 1:** Get yours Slack incoming webhook URL [here](https://slack.com/intl/en-id/help/articles/115005265063-Incoming-webhooks-for-Slack).\n\n**Step 2** _(optional)_**:** Set `SLACK_WEBHOOK_URL` environment variable.\n```bash\nexport SLACK_WEBHOOK_URL=\"https://hooks.slack.com/services/xxx/xxx/xxx\"\n```\n\n## Usage\n\nIt's very simple!\n\n```bash\n▶ echo -e \"Hello,\\nworld!\" | slackcat\n```\n\n### Flags\n\n```\nUsage of slackcat:\n  -1    Send message line-by-line\n  -u string\n        Slack Webhook URL\n  -v    Verbose mode\n```\n\n### Workaround\n\nThe goal is to get automated alerts for interesting stuff!\n\n```bash\n▶ assetfinder dw1.io | anew | slackcat -u https://hooks.slack.com/services/xxx/xxx/xxx\n```\n\nThe `-u` flag is optional if you've defined `SLACK_WEBHOOK_URL` environment variable.\n\nSlackcat also strips the ANSI colors from stdin to send messages, so you'll receive a clean message on your Slack!\n\n```bash\n▶ nuclei -l urls.txt -t cves/ | slackcat\n```\n\n![Proof](https://user-images.githubusercontent.com/25837540/90967983-4d29a100-e511-11ea-9138-28b6901856dc.png)\n\n### Line-by-line\n\nInstead 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)_.\n\n```bash\n▶ amass track -d domain.tld | slackcat -1\n```\n\n## Thanks\n\n- Inspired by [rez0](https://twitter.com/rez0__) [article](https://rez0.blog/hacking/2020/02/07/bugbounty-alert-automation-tips.html), that's why this tool was made!\n- [acarl005](https://github.com/acarl005) for his awesome stripansi.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwisiswant0%2Fslackcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwisiswant0%2Fslackcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwisiswant0%2Fslackcat/lists"}