All Projects → nficano → slackcat

nficano / slackcat

Licence: other
Concatenate files(s), or stdin, directly to Slack. 🐈

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to slackcat

Sysadmin Util
Tools for Linux/Unix sysadmins.
Stars: ✭ 761 (+3905.26%)
Mutual labels:  utilities, sysadmin
cakcuk
A Command Bot Interface builder, CLI-based to easily create your CLI commands for your Workspace
Stars: ✭ 13 (-31.58%)
Mutual labels:  slackbot
microlibs-scala
No description or website provided.
Stars: ✭ 24 (+26.32%)
Mutual labels:  utilities
botkit-heroku-redis-example
Tiny example of running botkit on Heroku with RedisCloud
Stars: ✭ 21 (+10.53%)
Mutual labels:  slackbot
NCoVUtils
Utility functions for the 2019-NCoV outbreak
Stars: ✭ 27 (+42.11%)
Mutual labels:  utilities
libra-code
quantum-dynamics-hub.github.io/libra/index.html
Stars: ✭ 33 (+73.68%)
Mutual labels:  utilities
Powershell-SlackBot
Powershell based Slack Bot using the Real Time Messaging API and WebSockets.
Stars: ✭ 41 (+115.79%)
Mutual labels:  slackbot
slack-logger
Slack logger that sends pretty formatted messages to a Slack channel.
Stars: ✭ 15 (-21.05%)
Mutual labels:  slackbot
ios
CoThings's iOS application. CoThings is a realtime counter for shared things.
Stars: ✭ 13 (-31.58%)
Mutual labels:  utilities
maturity-models
Maturity models for IT, Agile, DevOps, TOGAF, Six Sigma, P3M3, etc.
Stars: ✭ 157 (+726.32%)
Mutual labels:  sysadmin
framestack
Tools, Frameworks & Libraries to help you build your projects ✨
Stars: ✭ 27 (+42.11%)
Mutual labels:  utilities
whitelister
Simple, basic filtering and validation tool for Node.js.
Stars: ✭ 46 (+142.11%)
Mutual labels:  utilities
Jenkins-Pipeline-Utils
Global Jenkins Pipeline Library with common utilities.
Stars: ✭ 36 (+89.47%)
Mutual labels:  utilities
fridaybot
Slack bot for https://spb-frontend.slack.com
Stars: ✭ 29 (+52.63%)
Mutual labels:  slackbot
devops-ninja
This is a collection of some very useful command-line commands that eases the life of a DevOps Engineer.
Stars: ✭ 27 (+42.11%)
Mutual labels:  sysadmin
Puppy
Daily Use Utilities and Frameworks by .NET Core
Stars: ✭ 14 (-26.32%)
Mutual labels:  utilities
Windows-911
Curated list of FREE emergency resources when you find yourself in the inevitable pickle with Windows. PRs welcome!
Stars: ✭ 24 (+26.32%)
Mutual labels:  utilities
superfans
Tools for managing fans on Supermicro chassis
Stars: ✭ 44 (+131.58%)
Mutual labels:  sysadmin
chessbot
Slack bot for playing chess.
Stars: ✭ 32 (+68.42%)
Mutual labels:  slackbot
CircularArrays.jl
Multi-dimensional arrays with fixed size and circular indexing.
Stars: ✭ 19 (+0%)
Mutual labels:  utilities

SlackCat

Concatenate files(s), or stdin, directly to Slack.
3-minute setup & no third-party integration required.

pypi pypi pip dependencies

Get SlackCat

Download using pip via pypi.

pip install slackcat

Next, head to the Slack Incoming WebHooks Configuration, click the Add Configuration button and set the default configuration values to your liking. Once complete, copy the Webhook URL which we'll need in the next step.

Open your ~/.bash_profile file add following:

export SLACKCAT_WEBHOOK_URL="https://hooks.slack.com/services/TXXX/BXXXX/XXXXXXXXXXXXXXXXXXXXXXXX"

Make sure to replace the "https://hooks.slack.com/services/..." with the one provided above.

Usage

# - "Hey what's your public key dog?"
slackcat @doug ~/.ssh/id_rsa.pub

# - "Do we still use that crypto library written by the Cheese Cake Factory?"
grep -r 'from cheesecake.factory import x509' ./ | slackcat @paul

# - "Are you sure it's on your path?"
echo $PATH | slackcat "#general"

# - "These queries filling up in syslog look suspicious"
tail -f /var/log/syslog | slackcat "#general" -f

Customization

If you would like to override the bot's username, add the following line to your ~/.bash_profile file:

export SLACKCAT_USERNAME="abraham-linksys"

If you would like to override the bot's icon image, add the following line to your ~/.bash_profile file:

export SLACKCAT_ICON_URL="http://via.placeholder.com/500x500.png"

Development

Development 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.

How to release updates

If this is the first time you're releasing to pypi, you'll need to run: pip install -r tests/dev_requirements.txt.

Once complete, execute the following commands:

git checkout master

# Increment the version number and tag the release.
bumpversion [major|minor|patch]

# Upload the distribution to PyPi
python setup.py sdist bdist_wheel upload

# Since master often contains work-in-progress changes, increment the version
# to a patch release to prevent inaccurate attribution.
bumpversion --no-tag patch

git push origin master --tags
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].