Giter VIP home page Giter VIP logo

slackcat's People

Contributors

bobrik avatar ickymettle avatar paulhammond avatar pborreli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slackcat's Issues

doesn't support icon_url

in addition to icon_emoji Slack supports icon_url

I'd like to see icon_url be supported via the conf file. Best would be if it would just take whatever was in that file, override anything set via the command line options, and then send that to the server. That way you've got support for new any new functionality they add WITHOUT having to update the code (until you want it to be overrideable on the command line.)

Sending as a user?

Hi all,

I'm trying to setup the conf to send messages as my user.

I got the token from the website, by looking at the request slacks sends.

slackcat seems to be sending the messages --or at least it does not tell me the error-- but the messages does not appear on slack, so there must be something broken.

Am I doing something wrong?

Does slackcat supports links?

I want to pass into slackcat a string like

<http://google.com/|Google link>

and see a real link into slack channel. To do this, slackcat have to pass parse=full as I understand? read more here

But as I see, slackcat has already done it! Mb I should use link_names=1? Anyone knows?

Post data received on stdin as a single message wrapped in a codeblock

Hi!

What was the rationale behind 8ce046d? I imagine this change in behaviour would be useful when dealing with streaming output. Was that the intended use case?

I use slackcat to plumb finite chunks of command output into Slack. So that the lines of command output are not multiplexed with concurrent channel activity from other users, it would be nice to consume and post the entire stdin stream as before. Marking the text as preformated would also improve legibility.

Would you be receptive to such a PR? We could accommodate both use cases with a new --stream flag.

Default name

Is there a reason the default name isn't blank? I tend to give integrations a default name in the hook itself. I'm sure there's reason to use the user@system. Personally, I haven't had a need for it.

P.S. Awesome idea!

Dealing with empty lines in a file

I had an issue when attempting to cat a file with an empty line to slackcat. For example if the following is the contents of temp.log:

Hello

World

running cat temp.log | slackcat will result with

$ cat temp.log | slackcat
2015/01/13 14:18:12 Post failed: Not OK

and only hello printed in slack.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.