Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 443 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 443 Bytes

github-star-count

efficiently fetch (using graphql) how many stars have all repos of a user received.

Usage

echo "username" > USERNAME
echo "gh_api_token" > TOKEN

node ./github-star-count.js

notes:

  • github's api token is sufficient w/o any extra permissions
  • we use node's fetch, thus node version >=18 is needed
    • or you could install node-fetch (npm i node-fetch@2)