Skip to content

github-insight is a command-line tool for creating insight page of GitHub repository.

License

Notifications You must be signed in to change notification settings

wf001/github-insight

Repository files navigation

github-insight

github-insight is a command-line tool for creating insight page of GitHub repository.

Features

  • Generate GitHub insight page of specified repository.
  • The insight include below data,
    • Basic information
    • Pie chart of distribution of languages
    • Bar chart of daily commit.
    • Latest commits
    • Pie chart of distribution of committers
    • Latest issues
    • Issues of beginners
    • Stack bar chart of issues.

Getting started

git clone https://github.com/wf001/github-insight

and create Github Personal Access token, run following command.

export GIT_KEY="<github personal access token>"
make build
./bin/ghi gen <username>/<repository>

Bob's your uncle! Finally open github-insight/generated/output.html with your browser.

Example is here

$ ./bin/ghi -h
NAME:
   ghi - Github insight page generator

USAGE:
   ghi [global options] command [command options] [arguments...]

VERSION:
   0.1.1

COMMANDS:
   gen      generate insight page
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

Note: GitHub's personal access token has an API call limit within a unit period. The maximum fetching amount per calling is 100. Thus, for example, running this CLI against a repository with 500 commits and 1000 issues will consume 15, and 4985 API call is available in the remaining hour.

see also official doc(this CLI uses only core API)

Thanks

License

Licensed under the MIT License.

About

github-insight is a command-line tool for creating insight page of GitHub repository.

Topics

Resources

License

Stars

Watchers

Forks