Description
github-repo-stats is a GitHub Action that collects a daily snapshot of a repository's traffic statistics and turns them into reports. GitHub's built-in traffic view only keeps 14 days of data, so the action runs once a day and saves each snapshot in git, which builds up a longer history. Each run analyzes all the stored snapshots and produces a report that can cover an arbitrarily long period. Reports come in two formats: an HTML report styled like GitHub's Markdown rendering, which can be served through GitHub Pages, and a PDF report with vector graphics. Charts are made with Altair and Vega. The data, aggregates and reports are committed to a special branch of the repository where the action is installed, so there is no cloud storage or database to manage. The observed repository can be a different one from the repository that runs the action. The README says the analysis accounts for several traps in the raw traffic data, and it links to a wiki tutorial for setup.…
Highlights
- Daily snapshots of repository traffic beyond 14 days
- HTML and PDF reports
- Charts made with Altair and Vega
- Data stored in git, with no database
- Can report on a different repository
Ratings & Reviews
No ratings yet
Be the first to rate Github Repo Stats.
People also visit
Github Repo Stats FAQ
What does this action do?
It saves a daily snapshot of a repository's traffic statistics and generates reports from the full history.
Why daily snapshots?
GitHub's built-in traffic statistics only cover the past 14 days. Saving a snapshot every day keeps a longer record.
Where is the data stored?
In the git repository where you install the action, on a special branch. The commits give you a history of data updates and reports.
Can I view the HTML report online?
Yes. The HTML report can be served right away through GitHub Pages, as the demo in the README does.
Is there a setup guide?
The README points to a simple tutorial in the project's wiki.
What are the best Github Repo Stats alternatives?
Popular alternatives to Github Repo Stats include Daily Stars Explorer, OSS Insight and Github-vis. See all Github Repo Stats alternatives








