Skip to content

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

Notifications You must be signed in to change notification settings

kiprasmel/github-star-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published