Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/avidit/cowsay-slack
- Owner: avidit
- License: mit
- Created: 2016-05-20T15:08:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T13:49:52.000Z (about 2 years ago)
- Last Synced: 2023-08-02T13:11:18.585Z (over 1 year ago)
- Topics: cowsay-slack, heroku, ruby, slack
- Language: Ruby
- Homepage: https://cowsay-slack.herokuapp.com
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
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
```