Power up your slack with cowboy!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
app/cowboy
static
.env.example
.gitignore
LICENSE.md
Procfile
README.md
app.json

README.md

Cowboy

The good, the bad, and the ugly.

Watch cowboy in action!

watch cowboy in action!

Usage

From any Slack channel, just type /<command> [search terms].

For example:

/imdb casablanca
/excuse
/producthunt_posts 2

Available commands

More coming soon...

  • HN/best
  • DDG search
  • Weather forecast
  • Simple calculations
  • Define word
  • Wiki lookup

Integrate with your Slack team

  1. Go to your channel
  2. Click on Integrations.
  3. Scroll all the way down to DIY Integrations & Customizations section.
  4. For example, to add above movie lookup command, click on Add next to Slash Commands.
  • Command: /imdb or whatever you like
  • URL: http://cowboy-slack.herokuapp.com/movie.slack
  • Method: POST
  • For the Autocomplete help text, check to show the command in autocomplete list.
    • Description: Show movie details from IMDb
    • Usage hint: [movie]
  • Descriptive Label: Movie Lookup
  1. Do same for other available commands.

Important Note

  • If you are setting up your slack commands by relying on http://cowboy-slack.herokuapp.com server, then FYI, I am using Heroku's free dyno, which goes asleep after 20 minutes of inactivity. So if a command doesn't work for your first time, try it again after 5 seconds, as server would be awaken and wouldn't respond and that initial request times out, but subsequent requests will work quickly without a retry.
  • A free Heroku dyno could stay awake for 18 hours a day -- if this limit gets exceeded, Heroku shuts that dyno for 6 hours to recharge it. In such a case the server won't be able to respond any request for 6 hours.
  • If you want these commands respond all the time consistently, setup cowboy on your own premium server, follow next section on howto.

Wanna hack?

Follow this tutorial to setup this project locally, and optionally deploy it on Heroku. This project uses foreman utility to spin up/off server, Godeps to manage third-party libraries.

Wanna Contribute?

  • Please use the issue tracker to report any bugs or file feature requests.

Thankings

Copyright and License

Copyright (c) 2015, Vishal Telangre. All Rights Reserved.

This project is licenced under the MIT License.