Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.04 KB

Build Status

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

Getting Started

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

Debug

The app uses octokit as a client to Github's api, which provides an optional debug parameter:

$ DEBUG=octokit:rest* npm start