# ghstats vs PostHog

> Two self-hosted [Analytics projects](https://selfhost.directory/analytics), compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

| | ghstats | PostHog |
|---|---|---|
| Score | 45/100 | 81/100 ✓ |
| Rank in category | #18 of 27 in Analytics | #1 of 27 in Analytics |
| GitHub stars | 190 | 40 493 ✓ |
| Stars, last 30 days | — | +584 |
| Stable releases, 12 months | 11 | 3487 ✓ |
| Latest release | v0.10.0 · 25 Aug 2026 | agent-skills-v0.3875.0 · 28 Oct 2026 ✓ |
| Setup | Easy ✓ | Advanced |
| Official Docker image | Yes | Yes |
| License | MIT | Other |
| Main language | Rust | Python |

## Which one should you pick?

PostHog scores 81/100 against 45/100 for ghstats, so it is the safer default.

PostHog ships more often: 3487 stable releases in the past year, against 11 for ghstats.

If you want the quickest setup, ghstats is easier to run; PostHog needs more configuration.

PostHog is growing faster right now (+584 stars in 30 days).

## Details

- [ghstats](https://selfhost.directory/project/ghstats) (markdown: https://selfhost.directory/project/ghstats.md)
- [PostHog](https://selfhost.directory/project/posthog) (markdown: https://selfhost.directory/project/posthog.md)

---
Source: https://selfhost.directory/compare/ghstats-vs-posthog