https://github.com/ayush221b/flutter-issues-bot
This Twitter bot tweets about the issues listed on the official Flutter GitHub Repository that should get the community's attention.
https://github.com/ayush221b/flutter-issues-bot
flutter github-api twitter-api-tweets twitter-bot
Last synced: 3 months ago
JSON representation
This Twitter bot tweets about the issues listed on the official Flutter GitHub Repository that should get the community's attention.
- Host: GitHub
- URL: https://github.com/ayush221b/flutter-issues-bot
- Owner: ayush221b
- Created: 2019-10-05T03:32:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T01:46:29.000Z (about 3 years ago)
- Last Synced: 2023-03-10T18:48:44.700Z (almost 3 years ago)
- Topics: flutter, github-api, twitter-api-tweets, twitter-bot
- Language: JavaScript
- Size: 676 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Giving Issues the Attntion They Deserve!
[](https://twitter.com/ayushshekhar17)
[](https://medium.com/@ayushshekhar)
[](https://www.linkedin.com/in/ayushshekhar/)

# Star the repo to show your support. It will mean a lot.
## About the Project
I created this project as an open source initiative to help resolve the issues on the Flutter Repository faster. Being a Flutter Developer myself, I have always applauded the commitment of the Flutter team to help and resolve issues, but when you have 7,000+ open issues, it definitely helps to have as much community support as we can get.
## How does the bot work ?
1. It hits the [Github Search API](https://developer.github.com/v3/search/#search-issues-and-pull-requests) for issues, that are open.
The full URL which is used is:
`
https://api.github.com/search/issues?q='e'+is:issue+state:open+repo:flutter/flutter&sort=updated
`
For consecutive requests we alternate between sorting by `updated` and `created`.
2. In response, GitHub gives us a list of issues, which we go through to identify which issues to tweet about.
3. Finally when we have our selected list, we use [capture-website](https://www.npmjs.com/package/capture-website) to get a screenshot of the issue url, and then send the image along with a tweet. This is done for all the selected issues.
## Running the Project Locally
```
git clone https://github.com/ayush221b/flutter-issues-bot.git
cd flutter-issues-bot
npm install
touch .env
```
Then inside the .env file, put in all your Twitter API credentials, as per the keys given in `config.js`
## Contributing
1. Fork the Project to your GitHub Account
2. Clone the forked repo
3. Create a branch
4. Make some changes
5. Push to your repo
6. Open Pull Request
Done.