Skip to content

This (very simple) tool uses GitHub's API to fetch and persist insights data, allowing you to better understand long-term usage patterns and trends of your repositories - blazingly fast.

License

williamboman/gh-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-analyzer

GitHub's insights capabilities are pretty limited, and will only give you data for a limited time range (past 2 weeks). This (very simple) tool uses GitHub's API to fetch and persist insights data, allowing you to better understand long-term usage patterns and trends of your repositories - blazingly fast.

Install

$ cargo install --git https://github.com/williamboman/gh-analyzer

Requirements

Example usage

0 0 * * * gh-analyzer --out-dir /srv/github-stats repo    williamboman/gh-analyzer
0 0 * * * gh-analyzer --out-dir /srv/github-stats clones  williamboman/gh-analyzer
0 0 * * * gh-analyzer --out-dir /srv/github-stats traffic williamboman/gh-analyzer

Notes

Historic data have a tendency to be volatile, where historic numbers provided by the API seem to change over time. This is worth keeping in mind when ingesting the data into another system, like a time series database.

About

This (very simple) tool uses GitHub's API to fetch and persist insights data, allowing you to better understand long-term usage patterns and trends of your repositories - blazingly fast.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages