Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djm158/help-wanted-bot
Twitter bot that finds and tweets issues with the tag "help wanted"
https://github.com/djm158/help-wanted-bot
github-api nodejs twitter
Last synced: about 1 month ago
JSON representation
Twitter bot that finds and tweets issues with the tag "help wanted"
- Host: GitHub
- URL: https://github.com/djm158/help-wanted-bot
- Owner: djm158
- Created: 2018-03-04T21:48:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:49:55.000Z (about 2 years ago)
- Last Synced: 2023-02-28T13:37:01.868Z (almost 2 years ago)
- Topics: github-api, nodejs, twitter
- Language: JavaScript
- Size: 54.7 KB
- Stars: 6
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/djm158/help-wanted-bot.svg?branch=master)](https://travis-ci.org/djm158/help-wanted-bot)
Twitter bot that searches github for issues with the label "help wanted"
It currently fetches the newest issue from [GitHub's search api](https://developer.github.com/v3/search/) 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](https://apps.twitter.com/).
In development, the app uses [dotenv](https://github.com/motdotla/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:
```sh
$ npm install
$ npm start
```## Debug
The app uses [octokit](https://github.com/octokit/rest.js) as a client to Github's api, which provides an optional debug parameter:
```sh
$ DEBUG=octokit:rest* npm start
```