Twitter bot that searches github for issues with the label "help wanted"
It currently fetches the newest issue from GitHub's search api every ten minutes and tweets the title of the issue along with it's url.
https://twitter.com/helpwantedbot
First, create a twitter app here.
In development, the app uses dotenv to source environment variables to authenticate your twitter app.
.env file:
CONSUMER_KEY=your_consumer_key
CONSUMER_SECRET=your_consumer_secret
ACCESS_TOKEN=your_access_token
ACCESS_TOKEN_SECRET=your_access_token_secret
Install dependencies and run:
$ npm install
$ npm start
The app uses octokit as a client to Github's api, which provides an optional debug parameter:
$ DEBUG=octokit:rest* npm start