Skip to content

ayush221b/flutter-issues-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giving Issues the Attntion They Deserve!

Twitter Follow_On_Medium LinkedIn

Flutter Issues Logo

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 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.

  1. In response, GitHub gives us a list of issues, which we go through to identify which issues to tweet about.

  2. Finally when we have our selected list, we use 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.

About

This Twitter bot tweets about the issues listed on the official Flutter GitHub Repository that should get the community's attention.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published