{"id":19663403,"url":"https://github.com/nficano/slackcat","last_synced_at":"2025-09-10T20:36:33.969Z","repository":{"id":51092519,"uuid":"101196661","full_name":"nficano/slackcat","owner":"nficano","description":"Concatenate files(s), or stdin, directly to Slack. 🐈","archived":false,"fork":false,"pushed_at":"2021-05-24T10:17:56.000Z","size":17,"stargazers_count":19,"open_issues_count":8,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-08T13:52:14.184Z","etag":null,"topics":["python","shell","slack","slackbot","sysadmin","utilities"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nficano.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}},"created_at":"2017-08-23T15:34:44.000Z","updated_at":"2021-02-13T04:42:02.000Z","dependencies_parsed_at":"2022-09-19T08:51:45.128Z","dependency_job_id":null,"html_url":"https://github.com/nficano/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/nficano%2Fslackcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nficano%2Fslackcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nficano%2Fslackcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nficano%2Fslackcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nficano","download_url":"https://codeload.github.com/nficano/slackcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223932189,"owners_count":17227273,"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":["python","shell","slack","slackbot","sysadmin","utilities"],"created_at":"2024-11-11T16:14:28.199Z","updated_at":"2024-11-11T16:14:29.552Z","avatar_url":"https://github.com/nficano.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://assets.nickficano.com/gh-slackcat.svg\" height=\"64\"\u003e\n  \u003ch2 align=\"center\"\u003eSlackCat\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eConcatenate files(s), or \u003ccode\u003estdin\u003c/code\u003e, directly to Slack.\u003cbr\u003e\n  3-minute setup \u0026 no third-party integration required.\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://pypi.python.org/pypi/slackcat/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/slackcat.svg\" alt=\"pypi\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.python.org/pypi/slackcat/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/slackcat.svg\" alt=\"pypi\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/pip_dependencies-0-brightgreen.svg\" alt=\"pip dependencies\"\u003e\n\u003c/p\u003e\n \u003c/p\u003e\n\n### Get SlackCat\n\nDownload using pip via pypi.\n\n```bash\npip install slackcat\n```\n\nNext, head to the [Slack Incoming WebHooks Configuration](https://slack.com/apps/A0F7XDUAZ-incoming-webhooks), click\nthe ``Add Configuration`` button and set the default configuration values to your\nliking. Once complete, copy the Webhook URL which we'll need in the next step.\n\nOpen your ``~/.bash_profile`` file add following:\n\n```bash\n\nexport SLACKCAT_WEBHOOK_URL=\"https://hooks.slack.com/services/TXXX/BXXXX/XXXXXXXXXXXXXXXXXXXXXXXX\"\n```\n\n_Make sure to replace the \"https://hooks.slack.com/services/...\" with the one provided above._\n\n### Usage\n\n```bash\n\n# - \"Hey what's your public key dog?\"\nslackcat @doug ~/.ssh/id_rsa.pub\n\n# - \"Do we still use that crypto library written by the Cheese Cake Factory?\"\ngrep -r 'from cheesecake.factory import x509' ./ | slackcat @paul\n\n# - \"Are you sure it's on your path?\"\necho $PATH | slackcat \"#general\"\n\n# - \"These queries filling up in syslog look suspicious\"\ntail -f /var/log/syslog | slackcat \"#general\" -f\n```\n\n### Customization\n\nIf you would like to override the bot's username, add the following line to your ``~/.bash_profile`` file:\n\n```bash\n\nexport SLACKCAT_USERNAME=\"abraham-linksys\"\n```\n\nIf you would like to override the bot's icon image, add the following line to your ``~/.bash_profile`` file:\n\n```bash\n\nexport SLACKCAT_ICON_URL=\"http://via.placeholder.com/500x500.png\"\n```\n\n### Development\nDevelopment of \"SlackCat\" is facilitated exclusively on GitHub. Contributions in the form of patches, tests and feature creation and/or requests are very welcome and highly encouraged. Please open an issue if this tool does not function as you'd expect.\n\n**How to release updates**\n\nIf this is the first time you're releasing to pypi, you'll need to run: ``pip install -r tests/dev_requirements.txt``.\n\nOnce complete, execute the following commands:\n\n```bash\n\ngit checkout master\n\n# Increment the version number and tag the release.\nbumpversion [major|minor|patch]\n\n# Upload the distribution to PyPi\npython setup.py sdist bdist_wheel upload\n\n# Since master often contains work-in-progress changes, increment the version\n# to a patch release to prevent inaccurate attribution.\nbumpversion --no-tag patch\n\ngit push origin master --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnficano%2Fslackcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnficano%2Fslackcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnficano%2Fslackcat/lists"}