Useful checker web app for seeing how close you are to achieving the requirments for a free t-shirt as part of Hacktoberfest.
https://hacktoberfestchecker.herokuapp.com/
-
Generate a github personal access token to ensure you don't get rate limited easily.
-
export GITHUB_TOKEN=YOUR_TOKEN
-
npm install
-
node index.js
-
Point browser to localhost:5000?username=YOUR_GITHUB_USERNAME
- Ajax form submission
- Implement an actual web page using bootstrap or something
- Add field for entering github username
- Cache usernames and etags to make use of
If-None-Match
to reduce risk of reaching rate limit on github API. - Show a list of pull requests in question
- Add disclaimer (github API only allows max of 300 events, so if you're a busy github bee, it probably won't do you justice)
- Add contextual message, e.g. 2/4 PRs done "Half way there", 4/4 PRs done "Way to go", 12/4 PRs done "Now you're showing off"