aggregithub
Aggregate your GitHub statistics for fun and profit!
aggregithub [options] <repos> <aggregate type> [aggregate options]
Options:
-g only match repo names with this glob-like pattern
--token your GitHub API access token (default: process.env.GITHUB_AUTH_TOKEN)
Note: you will run into GitHub API rate limits
if you don't provide the --token
option or set the GITHUB_AUTH_TOKEN
environment variable.
Examples
Get commit totals for a user's repos:
aggregithub users/shawnbot commits total > shawnbot-commits.json
Get daily and weekly commit totals for an organization:
aggregithub orgs/18F commits > shawnbot-commits.json
Available Statistics
commits
Uses the commit activity API
to get total, daily and weekly commit counts within the last year.
More coming soon!