A Slack bot for keeping your team fit through open pull requests
Switch branches/tags
Nothing to show
Clone or download
zachdunn Merge pull request #3 from jutaz/patch-1
Removed my existence in README.md
Latest commit d988d95 Jan 13, 2015
Failed to load latest commit information.
.gitignore Initial commit Jan 10, 2015
.jshintrc Added deps Jan 10, 2015
LICENSE Initial commit Jan 10, 2015
Procfile Will work as heroku worker Jan 10, 2015
README.md Update README.md Jan 13, 2015
main.js Fixed minute timing Jan 10, 2015
package.json Promisify all the things! Jan 10, 2015



A Slack bot for keeping your team fit through open pull requests.

'swolebot in action'


We @robinpowered wanted to stay healthy, so we started doing pushups based on open PR`s we have.

How to set this up?


git clone git@github.com:robinpowered/swolebot.git

Create Heroku

heroku create

Configure Heroku environment variables:

SLACK_API_TOKEN - required
REPOS - required. Uses comma-separated format. Eg. 'rails/rails,robinpowered'. You can specify repo, or whole ORG.
SLACK_CHANNEL - required. Defaults to #general
SLACK_ICON - An URL to Swolebot avatar, if you do not like default one
SLACK_USERNAME - Meh. Default: Swolebot
RATIO - Open PR to pushups ratio. Formula: open_PRs * ratio. Default: 2
HOURS - On what hours this should run. Defaults to 11,14,17. Format: Comma-separated values
TIMEZONE - set your TZ. Any valid momentjs TZ will do. Defaults to "America/New_York"

Push to Heroku

git push heroku master

P.S. Don`t worry, this will only run on workdays!

Be fit!