{"repo":"vladkens/ghstats","free":true,"listed":false,"github":"https://github.com/vladkens/ghstats","clone":"git clone https://github.com/vladkens/ghstats.git","description":"🤩📈 Self-hosted GitHub traffic analytics with long-term history, SQLite storage, and a tiny Docker image.","language":"Rust","stars":187,"topics":["dashboard","github-api","github-tracker","github-traffic","rust","self-hosted","github","stargazers","analytics","docker"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"ghstats 🤩📈 Self-hosted GitHub traffic analytics with long-term history, SQLite storage, and a tiny Docker image. GitHub only keeps repository traffic data for 14 days. ghstats continuously pulls that data from the GitHub API and keeps your own history of views, clones, stars, forks, issues, and pull requests in a local SQLite database. Use it for personal projects, open-source portfolios, organization dashboards, or public stats pages where GitHub's built-in traffic tab is too short-lived. Features - Long-term history for GitHub repository traffic beyond the 14-day GitHub limit - Per-repository dashboards for stars, clones, views, referrers, and popular paths - Automatic hourly sync for public repos, with optional private repo support - Repo filtering by owner, exact name, forks, and archived status - JSON API for exposing collected stats to personal sites or other tools - Small self-hosted deployment: one Rust binary, one SQLite database, one Docker image Quick start Open http://127.0.0.1:8080 after the container starts. Note: ghstats Docker images run as a non-root user. If you upgrade an existing installation and the container cannot write to SQLite, fix the mounted data directory ownership once: Docker Compose: Why ghstats? - Own your history : keep traffic data for months or years instead of losing it after two weeks. - Keep the setup boring : no Postgres, no hosted account, no frontend build pipeline in production. - Publish only what you want : filter repositories, h","default_branch":null,"files":null,"tree":[],"storefront":"/r/vladkens","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vladkens/ghstats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}