https://github.com/mattipv4/github-first-contributions
A little script that scrapes GitHub hovercards on PRs to see if they're first contributions.
https://github.com/mattipv4/github-first-contributions
Last synced: 9 months ago
JSON representation
A little script that scrapes GitHub hovercards on PRs to see if they're first contributions.
- Host: GitHub
- URL: https://github.com/mattipv4/github-first-contributions
- Owner: MattIPv4
- Created: 2019-11-02T12:19:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-15T00:14:31.000Z (11 months ago)
- Last Synced: 2025-03-28T17:06:03.231Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 317 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
GitHub First Contributions
A little script that scrapes GitHub hovercards on PRs to see if they're first contributions.
----
## Why scraping, not the API?
You may have seen this on a user's hovercard in a PR before: "their first in @org" or "their first ever".
This information is readily available in the HTML view of the pull request, but GitHub doesn't reveal this data in the
API response for the PR.
I wanted to get this data for a program we run at work and so instead of making *loads* of API requests to GitHub to get
all the PRs a user has ever made etc. to determine if the PR is a first, I simply wrote this script that just scrapes
the HTML hovercard for the user in each PR.

## Contributing
Contributions are always welcome to this project!\
Take a look at any existing issues on this repository for starting places to help contribute towards, or simply create your own new contribution to the project.
Please make sure to follow the existing standards within the project such as code styles, naming conventions and commenting/documentation.
When you are ready, simply create a pull request for your contribution and I will review it whenever I can!
### Donating
You can also help me and the project out by sponsoring me through [GitHub Sponsors](https://github.com/users/MattIPv4/sponsorship) (preferred), contributing through a [donation on PayPal](http://paypal.mattcowley.co.uk/) or by supporting me monthly on my [Patreon page](http://patreon.mattcowley.co.uk/).
## Discussion, Support and Issues
Need support with this project, have found an issue or want to chat with others about contributing to the project?
> Please check the project's issues page first for support & bugs!
Not found what you need here?
* If you have an issue, please create a GitHub issue here to report the situation, include as much detail as you can!
* _or,_ You can join our Slack workspace to discuss any issue, to get support for the project or to chat with contributors and myself: