FathomSelf-hosted privacy-focused website analytics
TianjiCombined web analytics, uptime, and server status
Fathom vs Tianji
How Fathom and Tianji compare on popularity, activity, license and platforms: two open-source Web & Product Analytics projects, both alternatives to Google Analytics and Pirsch.
At a glance
- Fathom has more GitHub stars (8k vs 3.1k, about 3× as many).
- Tianji was updated more recently (last commit today, Fathom 8 months ago).
- Fathom uses MIT; Tianji uses Apache-2.0 (both permissive).
- Both can be self-hosted.
- Fathom is the older project (repository started 2016; Tianji in 2023).
Side by side
| Fathom | Tianji | |
|---|---|---|
| GitHub stars | ★ 8,037 | ★ 3,126 |
| Forks | 388 | 202 |
| Last commit | 8 months ago | today |
| Latest version | v1.3.1 | v1.34.7 |
| Repository started | November 2016 | August 2023 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Docker, Web | Docker |
| Main language | Go | TypeScript |
| Alternative to | Google Analytics, Pirsch | Google Analytics, Google Analytics 4, Pirsch |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Fathom
Fathom Lite is an open-source, self-hosted web analytics stack with a dashboard and tracking snippet. It is a maintained earlier edition of the hosted Fathom Analytics product.
Key features
- Self-hosted analytics dashboard
- Per-site tracking snippet
- Docker image available
- Local user account management
- Go and Preact stack
- CSP configuration guidance
Tianji
Tianji bundles website analytics, uptime monitoring, and server status reporting in one open-source application for lightweight operations insight.
Key features
- Website analytics
- Uptime monitoring
- Server status reporting
- Status pages
- Telemetry collection
- OpenAPI interface