Hacker News new | past | comments | ask | show | jobs | submit login
Slackcat – Pipe command output to Slack from your terminal (slackcat.chat)
121 points by bcicen_ on Jan 8, 2016 | hide | past | favorite | 40 comments



Fun little tool. Could maybe find it handy.

But STOP overriding scroll. It's annoying. Even if it's to make a "smooth" scroll: don't do it. Atleast detect that I'm using a Mac where it's already butter smooth. Don't override that native scroll with a large javascript scroll.


Didn't realize it was so obtrusive; I've removed it now. Thanks for the feedback.


It's greatly appreciated from many on this site.


How many users actually find this "smooth scrolling" welcome? Perhaps I'm just used to always setting my mouse and trackpad scroll speeds to my exact preference, while other people tend not to, but I've always found every form of scroll hijacking to be extremely irritating.


FYI, on Safari/OSX your terminal animation now overflows: http://imgur.com/CvjLwGH


Thanks for the heads up. I pushed an update and overflow seems to be fixed.


Give it another look. I just took this screenshot: http://imgur.com/4ChuDMa


It looks great now :-) And just spotted the fair amount of auto-correct mistakes that was in my first post :-D


Yeah, I looked at the website on my phone and there was clearly more text to read but I was prevented from scrolling down at all.


I tried to read the website, but it just decided to scroll in ways I didn't intended it too. The tool itself seems nice.


I'd like to use this but `slackcat --configure` apparently requires granting Slackcat developers ~full access to my Slack. Isn't there any way to set this up so that it only uses a private access token stored in my file system?


`echo "your-token-here" > ~/.slackcat`


I saw this too but where do I get the token?


You should be able to generate one per-team at https://api.slack.com/web (scroll down to the bottom)


Very cool! I guess I'll be remapping /dev/null this April 1st.

btw, that sleek scrolling plugin blocks two finger gestures (page back, forward) on my macbook :(


I could actually use something like slacktail -F. Does this exist?


I wasn't sure how many people would find it useful, but I have been working on a feature branch to add streaming. We'll aim to include it with the next release.


could be very useful for tailing audit logs to a "security team" channel or something like that.


Thanks for the vote; I've created a Github issue to track implementation of a streaming feature here: https://github.com/vektorlab/slackcat/issues/9


Here, try this other slackcat.

https://github.com/skattyadz/slackcat

tail -F logfile | grep --line-buffered -v '^\s*$' | slackcat


Piping output from Slack into your shell program would be a lot more fun.



Hahah and dangerous as all hell!!! I love it


This should be the new "wall" command!!!

Edit: Shirley my dear, you'd best know I was joking.


Great job, looks like a nice tool! Have you got any examples of what you've used it for? I liked the terminal animation at the top; made it clear what it does to me.

It's frustrating most of your comments are about the site scrolling with no other feedback and aren't even in the same thread. :(


Thanks! It has really come in handy when troubleshooting with a group of developers, during a unique deploy or migration - instead of one person trying to focus on the task and keep everyone updated at the same time, output of each step is shared for review/comments. I've also used it quite a bit to share the results of a database query or a listing of environment variables.


awesome tool. definitely could've used this a few times. it doesn't seem there's a way i can DM users rather than posting to groups. is this functionality possible and/or planned?


Thanks! There's a feature request here: https://github.com/vektorlab/slackcat/issues/10 and DM should be possible in the next release.


Unfortunately, Slack is not truly developer-friendly and cannot have the terminal in its full glory!


I like it! But not sure if it is significantly better than piping in to pbcopy on a Mac.


Sadly have to agree with the other commenters here that site broken on mobile....


The v0.7 release binary for OS X appears to be missing.

edit: fixed, thanks!


Indeed. The link is broken, and it isn't listed here: https://github.com/vektorlab/slackcat/releases


I'm sorry, but not having find control over scrolling is really annoying.


Please stop controlling user scrolling.


Why.... why would you want to pipe output from your terminal to a third party service like slack to store and analyse at will?

Who gives a shit about security, let's throw everything at Slack, because Slack!


Ya! I mean, when would it ever be useful to share a log file from your server with your team?


Because nothing confidential ever appears in logs, right?


because

A: "I'm haaving a problem with blah. It says Y is misconfigured" B: "send me the output of Y-configurator --display"

is way easier when you don't have to dump the output into text and email it (or trash formatting with copy and paste)


Is that significantly simpler than having them capture the output, and then make a Slack snippet?

  # on mac:
  Y-configurator --display | pbcopy
  # or on linux:
  Y-configurator | xclip -sel clip 
I mean, it's two steps instead of Slackcat's one step, but seems to require less configuration on their end.

Edit: Fellow devs seem to confirm that this is my misconception, and that slackcat pretty much rocks. :D




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: