Skip to content
/ ghinfo Public

jq-powered Bash script experiment to display useful information about GitHub users & repos

License

Notifications You must be signed in to change notification settings

nathos/ghinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ghinfo

jq-powered Bash script experiment to display useful information about GitHub users & repos

What is it?

ghinfo displays summaries of GitHub users and repositories. Quickly grab stats, get a sense of project activiy, and display clone URLs all without leaving the command line.

Usage

  • To display a summary of a GitHub user:

    ./ghinfo -u <username>

  • To display a summary of a GitHub repository:

    ./ghinfo -r <username/repositoryname>

  • To display a list of forks for a GitHub repository:

    ./ghinfo -f <username/repositoryname>

For all commands, ghinfo can also accept a full GitHub user or repo URL as valid input.

NOTE: ghinfo must be executable: chmod 755 ghinfo

Dependencies

ghinfo uses the jq JSON processor and curl.

See the detailed installation instructions for jq.

Mac users can easily install jq with Homebrew:

brew install jq

About

jq-powered Bash script experiment to display useful information about GitHub users & repos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages