# PostHog vs Trench

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

| | PostHog | Trench |
|---|---|---|
| Score | 81/100 ✓ | 52/100 |
| Rank in category | #1 of 27 in Analytics | #9 of 27 in Analytics |
| GitHub stars | 40 496 ✓ | 1 666 |
| Stars, last 30 days | +587 | — |
| Stable releases, 12 months | 3494 ✓ | 0 |
| Latest release | agent-skills-v0.3883.0 · 28 Oct 2026 | — |
| Setup | Advanced | Moderate ✓ |
| Official Docker image | Yes ✓ | No |
| License | Other | MIT |
| Main language | Python | Typescript |

## Which one should you pick?

PostHog scores 81/100 against 52/100 for Trench, so it is the safer default.

PostHog ships more often: 3494 stable releases in the past year, against 0 for Trench.

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

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

## Details

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

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