Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1 KB

README.md

File metadata and controls

34 lines (18 loc) · 1 KB

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