💆 A Slack bot that will help you break your GitHub contribution streak and idk do something else like read a book or go outside
JavaScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
cloudformation
test
.eslintrc
.travis.yml
LICENSE
README.md
SETUP.md
index.js
package-lock.json
package.json

README.md

chillbot Build Status

A Slack bot that will help you break your GitHub contribution streak and idk do something else like read a book or go outside. Runs every Saturday and Sunday morning at 8 AM EST.

This bot uses the Github Events API by fetching the last 300 events (maximum allowed in the request) that you performed on GitHub.

Set up

💡 New to deploying code to Amazon Web Services (AWS)? Try the get started steps in SETUP.md for a walk-through of the process and the code.

Run:

npm install
npm link

Set GitHub access token as environment variable:

echo "export GithubAccessToken=0000ffff0000ffff0000ffff0000ffff0000ffff" >> ~/.bash_profile

Create a Slack Webhook and set the url as environment variable:

echo "export SlackHookURL=0000ffff0000ffff0000ffff0000ffff0000ffff" >> ~/.bash_profile

Test locally

Run:

chillbot --channel=<Slack channel> --github=<Github username> --streak=<Number of days>

Example:

chillbot --channel=@katydecorah --github=katydecorah --streak=7