v0.5.2 — 33 checks, 8 categories
Score any Git repository's health in seconds
33 checks across docs, tests, CI, security, dependencies, and activity. Offline, deterministic, CI-ready.
go install github.com/spbuilds/repohealth/cmd/repohealth@latest repohealth --versionrepohealth version v0.5.2repohealth .
RepoHealth v0.5.2
Overall Score:77 / 100Grade: B
✓Documentation14 / 15
✓Testing17 / 20
✓CI/CD15 / 15
✓Dependencies8 / 9
✓Security8 / 10
✓Code Statistics5 / 5
✓Activity13 / 15
◐TODO / Debt4 / 7
PrometheusKubernetesGinTerraformReactDjango
See it in action

We scored 17 well-known repos
Measures repository hygiene and conventions, not code quality. Even excellent projects can score lower if they don't follow standard GitHub conventions.
| # | Repository | Score | Grade |
|---|---|---|---|
| 1 | prometheus | 85 | A- |
| 2 | gin | 85 | A- |
| 3 | terraform | 83 | B+ |
| 4 | docker/compose | 82 | B+ |
| 5 | grafana | 81 | B+ |
| 6 | react | 77 | B |
| 7 | next.js | 73 | B- |
| 8 | rails | 68 | C+ |
| 9 | fastapi | 68 | C+ |
| 10 | cpython | 68 | C+ |
| 11 | flask | 67 | C+ |
| 12 | django | 66 | C+ |
| 13 | kubernetes | 64 | C |
| 14 | vue | 63 | C |
| 15 | express | 54 | D |
| 16 | laravel | 53 | D |
| 17 | golang/go | 51 | D |
How does your repo score?
Run it on any local Git repository. One command, instant results.
repohealth . repohealth /path/to/any/repo33 checks across 8 categories
Every check is deterministic — same repo always gets the same score.
📄
Documentation
🧪
Testing
⚙️
CI/CD
📦
Dependencies
🔒
Security
📊
Code Statistics
📈
Activity
🔧
TODO / Debt
Three commands to repo health
01
Install
go install github.com/spbuilds/repohealth/cmd/repohealth@latest02
Run
repohealth .03
Get Score
Score: 77/100 (B)CI quality gate in 3 lines
Add a health threshold to your pipeline. Exit 0 if score meets threshold, exit 2 if below. Works with GitHub Actions, GitLab CI, CircleCI, and any CI system.
exit 0 → score ≥ threshold
exit 2 → score < threshold
name: Repo Health Check
on: [push, pull_request]
jobs:
health:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: |
go install github.com/spbuilds/repohealth/cmd/repohealth@latest
repohealth . --ci --threshold 70Four output formats
Terminal
defaultJSON
--format jsonMarkdown
--format markdownHTML
--format html