
March 30, 2026
π See the LIVE DEMO in action
MapView
Render maps directly from your backend no external APIs required. Fast, controlled, and production-ready.
Try the demo βMotivation: I didn’t want to lose the metrics for ruby-libgd and libgd-gis. So I built an app that stores all logs and generates custom charts using ruby-libgd.
π What You’ll Get
A dashboard like this:

- Historical metrics (not just 14 days)
- Views and clones charts
- Top referral sources
- Daily automatic updates
π οΈ How It Works
GitHub API β GitHub Actions (daily) β Private repo (CSV) β Dashboard HTML + charts
- Archive Metrics (daily): saves views, clones, and referrers to CSV
- Generate Dashboard (weekly or manual): generates HTML and charts
- GitHub Pages: publishes the dashboard automatically
π Quick Tutorial (5 Steps)
1. Clone the repository
git clone https://github.com/ggerman/github-metrics-dashboardcd github-metrics-dashboard
2. Configure your repositories
Edit config.yml:
repositories: - owner: your_username name: your_repo display_name: My Project description: "Brief description"

3. Create a GitHub token
- Settings β Developer settings β Personal access tokens β Tokens (classic)
- Permissions: repo
- Copy the token
4. Add secrets to your repository
Settings β Secrets and variables β Actions:

5. Enable GitHub Pages
Settings β Pages β Source: GitHub Actions
Then run the workflows manually from the Actions tab:
- Archive Metrics β Run workflow
- Generate Dashboard β Run workflow
π― Final Result
Visit https://your_username.github.io/github-metrics-dashboard/ and you’ll see:
- Cards with total views and clones
- Trend charts
- Top referral sources
- Data that never disappears after 14 days
Example: https://ggerman.github.io/github-metrics-dashboard/
π§‘ Stuck? Need Help?
Contact me directly: ggerman@gmail.com or https://rubystacknews.com/get-in-touch/
I’ll help you get it running.
π¦ Resources
- github.com/ggerman/github-metrics-dashboard
- ruby-libgd β Pure Ruby charts
- libgd-gis β GIS maps in Ruby
Enjoy your repository metrics (forever) π

