A very simple JavaScript utility that queries the GitHub API to get all the users who starred a repository and write their details to a CSV file.
The utility will filter out all users who don't have an email address registered with GitHub.
- GitHub Personal API Token
- Node.js and npm Node ^6.0.0, npm ^3.0.0
-
git clone
git clone -
Run
npm install -
Create a file in the root of the project called
github.creds.json, this should contain your GitHub username and personal token eg:{ "user": "name", "token": "12345" } -
Run
node index.js user repowhere repo is the repository whos stars you want to scrape and user is the owner of the repo. -
GitHub Stargazer will write a
.csvfile to the root of the project containing all the users who stared the project and have an email address linked to their GitHub account.