Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avidit/cowsay-slack

:cow: A slack slash command to post cowsay messages in slack
https://github.com/avidit/cowsay-slack

cowsay-slack heroku ruby slack

Last synced: 26 days ago
JSON representation

:cow: A slack slash command to post cowsay messages in slack

Awesome Lists containing this project

README

        

# cowsay-slack

Post `cowsay` messages in slack.

```text
______
< Moo! >
------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
```

## Running Locally

Make sure you have [Ruby](https://www.ruby-lang.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.

```sh
git clone [email protected]:avidit/cowsay-slack.git
cd cowsay-slack
bundle install
```

Edit env.example with your environment variables and save it as .env

run `heroku local`

Your app should now be running on [localhost:5000](http://localhost:5000/).

## Deploying to Heroku

```sh
heroku create
git push heroku master
heroku open
```

Alternatively, [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/avidit/cowsay-slack)

## Adding Slash commands to Slack

[Documentation](https://api.slack.com/legacy/custom-integrations/slash-commands)

Command

```text
/cowsay
```