jstrieb/github-stats
Zig GPL-3.0Better GitHub statistics images for your profile, with stats from private repos too
3.5k
Stars
752
Forks
25
Open issues
5
Contributors
AI Analysis
Generates GitHub profile statistics visualizations using GitHub Actions, including data from private repositories and contributions. Users can display automated charts and images in their profile README that adapt to GitHub's light and dark themes. Useful for showcasing complete contribution history beyond public repositories.
Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.
AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.
GitHub profile stats visualizer with private repo support, running entirely via GitHub Actions
github-stats generates SVG visualizations of GitHub user and repository statistics, including data from private repositories and contributed-to repos. Built in Zig and designed to run on GitHub Actions without external servers, it targets developers who want richer profile statistics than GitHub's public API exposes. The project solves a specific problem: making contribution history visible when public metrics omit private work. Adoption appears concentrated among individual developers rather than enterprises.
Created August 2020, emerged during the GitHub profile README trend. Addresses a genuine gap: public GitHub stats exclude private repository contributions, which represent significant work for many developers. Positioned as a privacy-respecting alternative to centralized statistics services by running entirely within a user's own GitHub Actions.
Reached 3,492 stars over ~6 years with steady but slow growth (1 star in past 7 days as of June 2026). Growth plateau suggests the project has found its audience but faces limited expansion. Substantially smaller than competing projects (github-readme-stats: 79k stars), indicating either narrower appeal or market saturation in the profile-stats niche. Recent activity remains present (last push June 16, 2026) but growth has stagnated.
Adoption not verified. No explicit case studies, user testimonials, or quantified deployment numbers in README. Star count and fork count suggest some usage, but these metrics do not translate to regular production use. README's extensive disclaimer section suggests users encounter real problems, but frequency and scope unknown. Appears to be used primarily for personal GitHub profiles rather than as infrastructure.
Likely a Zig-based command-line tool that fetches GitHub API data via personal access tokens, processes repository statistics locally (cloning repos to count lines changed via git), generates SVG images, and outputs JSON. Based on README, appears designed as a GitHub Actions workflow runner rather than a service. Architecture emphasizes privacy by avoiding central servers.
Not documented in README. No mention of test suite, CI/CD testing strategy, or test coverage metrics. Presence of GitHub Actions workflow implied but details not provided.
Project shows signs of active but slow maintenance. Last push June 16, 2026 (12 days before evaluation date) indicates ongoing updates. 752 forks and presence of issue tracking suggest engagement. However, README explicitly disclaims multiple API reliability issues (view counts inaccurate, line-of-code calculations incomplete for high-commit repos, contributor stats endpoint unreliable per GitHub), suggesting known limitations are accepted rather than actively resolved. Maintenance appears reactive rather than aggressive.
ADOPT IF: you have significant private repository contributions you want to visualize, prefer not to trust external services with your GitHub token, and can tolerate GitHub Actions setup overhead and known API limitations. AVOID IF: you want a turnkey hosted solution, need real-time accuracy in line-of-code or view count statistics, or lack comfort with personal access tokens and GitHub Actions workflows. MONITOR IF: you're considering building GitHub profile analytics and want to understand the privacy-first approach, or if you rely on accurate contributor statistics (README flags known GitHub API unreliability that may worsen).
Independent dimensions
Mainstream potential
3/10
Technical importance
6/10
Adoption evidence
2/10
- GitHub API unreliability documented in README: contributor stats endpoint no longer works reliably, line counts can be inflated or missing for high-commit repos, view counts often inaccurate — core metrics may be systematically wrong without user awareness
- GitHub Actions rate limits and quota constraints could prevent statistics regeneration for users with many repositories, but severity and frequency not quantified in README
- Single-author project (based on GitHub name jstrieb) with no visible co-maintainers — bus factor risk if maintainer becomes unavailable
- Zig language choice may limit contributor pool and long-term maintenance; Zig ecosystem smaller than JavaScript/TypeScript alternatives
- Setup complexity (personal access tokens, GitHub Actions secrets, repository cloning) creates friction compared to hosted alternatives; onboarding likely loses users
Project will likely remain stable niche tool for privacy-conscious developers with private repos, but mainstream adoption probability is low. Growth has flatlined; unlikely to close gap with github-readme-stats (23x larger). May be maintained indefinitely by author but probably won't attract significant new user cohorts or community contributors.
Newsletter
Get analyses like this every Monday
Free weekly digest of the most interesting open-source discoveries.
Languages
Information
- Language
- Zig
- License
- GPL-3.0
- Last updated
- 3w ago
- Created
- 72mo ago
- Analyzed with
- anthropic/claude-haiku-4-5
Stars over time
Contributors over time
Top 100 contributors only — repos with more will plateau at 100.
Open issues
Huge usage of copilot agent
UnexpectedToken and DebugAllocator double free when generating stats in GitHub Actions
Exclude forked repo
Could we try directly generating images from the built version's github-stats within CI/CD?
Change default commiter to generic github actions bot
Top contributors
Similar repos
anuraghazra/github-readme-stats
GitHub Readme Stats is a serverless tool that generates dynamically rendered...
| Repository | Stars | Week Δ | Language | Score | Updated |
|---|---|---|---|---|---|
|
|
3.5k | — | Zig | 8/10 | 3w ago |
|
|
79.8k | — | JavaScript | 6/10 | 1w ago |
|
|
24.3k | — | TypeScript | 7/10 | 9mo ago |
Dominant competitor offering similar profile card generation. JavaScript-based, cloud-hosted (appears to run on external servers), far larger user base. github-stats differentiates via private repo support and local GitHub Actions execution, but remains ~23x smaller by stars.
TypeScript-based interactive profile README builder. Broader scope (generates entire README, not just stats cards). Different audience (profile setup vs. ongoing stats refresh). Significantly larger adoption.
Free, built-in, requires no setup. Lacks private repo data and historical context. github-stats provides richer analytics but requires manual GitHub Actions setup and token management.
Tracks time spent coding across repos. Different data model (time vs. commits/lines). Requires explicit instrumentation. Orthogonal rather than competitive.