A Command-line tool to statistics the GitHub repositories
$ go install github.com/anqiansong/github-compare@latest
$ github-compare zeromicro/go-zero go-kratos/kratos asim/go-micro go-kit/kit
- Creating a personal access token
- Set access token token
- Copied the access token and export to environment
- Or you can set the access token by passing
github-compare
argument--token
# set access token through the flag --token
# github-compare zeromicro/go-zero --token ${accessToken}
# or export access token to environment (recommended)
$ export GITHUB_ACCESS_TOKEN=${GITHUB_ACCESS_TOKEN}
$ github-compare zeromicro/go-zero
- A GitHub personal access token is required.
github-compare
accepts 1 to 4 repositories data queries.- If you prefer to export the access token to environment, you must use
environment key
GITHUB_ACCESS_TOKEN
If this repository can help you, give a star please!
Thanks all!