{"id":13471209,"url":"https://github.com/bcicen/slackcat","last_synced_at":"2025-05-15T18:02:21.782Z","repository":{"id":48527296,"uuid":"48814717","full_name":"bcicen/slackcat","owner":"bcicen","description":"CLI utility to post files and command output to slack ","archived":false,"fork":false,"pushed_at":"2024-07-23T09:19:20.000Z","size":142,"stargazers_count":1221,"open_issues_count":13,"forks_count":57,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-11T21:12:51.055Z","etag":null,"topics":["cli","commandline","slack","slackapi"],"latest_commit_sha":null,"homepage":"http://slackcat.chat","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/bcicen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2015-12-30T18:46:01.000Z","updated_at":"2025-03-14T20:05:53.000Z","dependencies_parsed_at":"2024-01-14T09:59:28.796Z","dependency_job_id":"afbdd06e-d727-4492-928b-7400c3e0c83a","html_url":"https://github.com/bcicen/slackcat","commit_stats":{"total_commits":166,"total_committers":22,"mean_commits":7.545454545454546,"dds":0.5,"last_synced_commit":"5c4e4410002c29da54f9819970c44accd0db0b72"},"previous_names":["vektorlab/slackcat"],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fslackcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fslackcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fslackcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcicen%2Fslackcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcicen","download_url":"https://codeload.github.com/bcicen/slackcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480430,"owners_count":21110937,"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":["cli","commandline","slack","slackapi"],"created_at":"2024-07-31T16:00:41.649Z","updated_at":"2025-04-11T21:12:58.519Z","avatar_url":"https://github.com/bcicen.png","language":"Go","readme":"# slackcat\nSlackcat is a simple commandline utility to post snippets to Slack.\n\n\n  \u003cimg width=\"500px\" src=\"https://raw.githubusercontent.com/bcicen/slackcat/master/demo.gif\" alt=\"slackcat\"/\u003e\n\n\n## Installing\nDownload the [latest release](https://github.com/bcicen/slackcat/releases) for your platform:\n\n```bash\ncurl -Lo slackcat https://github.com/bcicen/slackcat/releases/download/1.7.2/slackcat-1.7.2-$(uname -s)-amd64\nsudo mv slackcat /usr/local/bin/\nsudo chmod +x /usr/local/bin/slackcat\n```\n\n`slackcat` is also available via homebrew:\n```brew\nbrew install slackcat\n```\n\n## Building\nTo optionally build `slackcat` from source, ensure you have [dep](https://github.com/golang/dep) installed and run:\n```\ngo get github.com/bcicen/slackcat \u0026\u0026 \\\ncd $GOPATH/src/github.com/bcicen/slackcat \u0026\u0026 \\\nmake build\n```\n\nYou must use GNU make for the build to work correctly. If your platform does not install GNU make as `make` (i.e. OpenBSD) then you will need to install gmake and run:\n```\ngo get github.com/bcicen/slackcat \u0026\u0026 \\\ncd $GOPATH/src/github.com/bcicen/slackcat \u0026\u0026 \\\ngmake build\n```\n\n## Configuration\n\nGenerate an initial config, or add a new team token with:\n```bash\nslackcat --configure\n```\nYou'll be prompted for a team nickname and a new browser window will be opened for you to confirm the request via Slack. Provide the returned token to slackcat when prompted, and you're ready to go!\n\nFor configuring multiple teams and default channels, see [Configuration Guide](https://github.com/bcicen/slackcat/blob/master/docs/configuration-guide.md).\n\n## Usage\nPipe command output as a text snippet:\n```bash\n$ echo -e \"hi\\nthere\" | slackcat --channel general --filename hello\n*slackcat* file hello uploaded to general\n```\n\nPost an existing file:\n```bash\n$ slackcat --channel general /home/user/bot.png\n*slackcat* file bot.png uploaded to general\n```\n\nStream input continuously:\n```bash\n$ tail -F -n0 /path/to/log | slackcat --channel general --stream\n*slackcat* posted 5 message lines to general\n*slackcat* posted 2 message lines to general\n...\n```\n\n## Options\n\nOption | Description\n--- | ---\n--tee, -t | Print stdin to screen before posting\n--stream, -s | Stream messages to Slack continuously instead of uploading a single snippet\n--noop | Skip posting file to Slack. Useful for testing\n--configure | Configure Slackcat via oauth\n--iconemoji, -i | Specify emoji icon for message (e.g. \":+1:\")\n--channel, -c | Slack channel, group, or user to post to\n--filename, -n | Filename for upload. Defaults to given filename or current timestamp if reading from stdin\n--filetype | Specify filetype for syntax highlighting. Defaults to autodetect\n--comment | Initial comment for snippet\n--username | Stream messages as given bot user. Defaults to auth user\n--thread | Stream messages to thread after initial comment message\n","funding_links":[],"categories":["Go","Weapons"],"sub_categories":["Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcicen%2Fslackcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcicen%2Fslackcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcicen%2Fslackcat/lists"}