Back to articles
gghstats: Keep GitHub traffic past 14 days
NewsTools

gghstats: Keep GitHub traffic past 14 days

via Dev.toHermes Rodríguez

We've all been there. You ship an open-source project, a tiny CLI, or a docs site. You watch Insights → Traffic for a week: views spike, clones climb, life is good. Then you come back a month later and ask a simple question: did that blog post actually move the needle over time? GitHub’s answer is blunt: detailed traffic (views and clones) only lives in a rolling 14-day window. Past that, the granularity is gone unless you exported it yourself. I wanted historical traffic — without a SaaS middleman, without babysitting CSV exports, and with something I could run beside my other self-hosted stuff. That’s why I built gghstats . The first stable line is v0.1.0 (binaries on Releases , multi-arch image on GHCR ). The problem in one sentence GitHub is a great place to host code; it is not a long-term analytics warehouse for repository traffic. If you care about trends, seasonality, or “what happened after launch,” you need your own copy of that data. What gghstats does gghstats is a small Go

Continue reading on Dev.to

Opens in a new tab

Read Full Article
6 views

Related Articles