Skip to content

asnelling/repoinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

repoinfo

A simple CLI to retrieve various info (number of watchers, number of forks, and size) for GitHub repositories.

Usage

./repoinfo.py [-h] [-s FIELD] repositories [repositories ...]

Positional Arguments

argument description
repositories GitHub repos to get info for (in user/repo format)

Optional Arguments

short long description
-h --help show usage information
-s FIELD --sort FIELD sort output on FIELD, which may be: name, watchers, forks, or size

Example

$ ./repoinfo.py \
      sindresorhus/awesome \
      vinta/awesome-python \
      timofurrer/awesome-asyncio \
      herrjemand/awesome-webauthn
      
NAME                        WATCHERS FORKS SIZE
sindresorhus/awesome          156425 20318 1271
vinta/awesome-python           95518 18667 6596
timofurrer/awesome-asyncio      2918   228  116
herrjemand/awesome-webauthn      393    49  152

Rate Limiting

The GitHub API imposes strict rate limiting for unauthenticated requests. For increased limits, provide an OAuth2 key/secret in the GH_CLIENT_ID and GH_CLIENT_SECRET environment variables when running repoinfo.

About

CLI for viewing info of GitHub repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages