ghstats

Self-Hosted

Open-source GitHub repository analytics tool

Visit Website

Overview

ghstats is an open-source analytics tool for tracking and visualizing GitHub repository metrics. It provides insights into stars, forks, issue trends, contributor activity, and commit history. Deployable via Docker or direct Node.js installation, it supports monitoring multiple repos and offers customizable dashboards. No external data sharing ensures privacy—all analytics run on your self-hosted instance, using only GitHub’s public API (with optional personal tokens for private repos).

Key Features

  • Tracks GitHub repo metrics (stars, forks, issues, contributions)
  • Generates interactive visualizations and dashboards
  • Self-hostable via Docker or Node.js
  • Supports multiple repositories
  • Privacy-focused (no external data sharing)

Frequently Asked Questions

? Is ghstats hard to install?

No—ghstats is easy to deploy using Docker (single command) or Node.js (clone repo + npm install). Minimal configuration is needed, including an optional GitHub API token for private repos.

? Is it a good alternative to GitHub Insights?

Yes—ghstats offers core metrics like stars, forks, and contributions but is self-hosted, free, and privacy-focused. It’s ideal for users who want data control without paid GitHub plans.

? Is it completely free?

Yes—ghstats is released under the MIT License, so it’s free to use, modify, and self-host with no hidden fees or premium tiers.

Top Alternatives

GitHub Insights Search Google
Code Climate Search Google
GitLab Analytics Search Google

Tool Info

Pricing Open Source
Category Analytics
Platform Self-Hosted

Pros

  • Free and open-source
  • Easy deployment with Docker
  • Full control over data privacy
  • Supports both public and private GitHub repos

Cons

  • Requires GitHub API token for private repo access
  • Limited to GitHub metrics only
  • Basic UI compared to premium SaaS tools

More Analytics Tools