Counter.dev Selfhost vs Tianji
A side-by-side comparison of two self-hosted web analytics options — licensing, setup difficulty, resource needs, and what each one replaces.
Not the right match-up?
Counter.dev Selfhost
Minimalist privacy-respecting web analytics
VS
Tianji
Insight hub combining analytics, uptime, and server status
| Feature | Counter.dev Selfhost | Tianji |
|---|---|---|
| Category | Web Analytics | Web Analytics |
| License | MIT | Apache-2.0 |
| Language | JavaScript | TypeScript |
| Setup difficulty | Easy | Medium |
| Min. RAM | 128 MB | 512 MB |
| Deployment | docker | docker |
| GitHub stars | ★ 1,007 | ★ 3,078 |
| First released | 2020 | 2023 |
| Replaces | Google Analytics | Google Analytics |
Why pick each one
Choose Counter.dev Selfhost if…
- Released under the MIT license
- Easy to set up — beginner-friendly
- First-class Docker support for quick deployment
- Active community (1k GitHub stars)
Frequently asked questions
Is Counter.dev Selfhost or Tianji better?
Neither is universally better. Tianji has the larger community, while Counter.dev Selfhost is simpler to set up (easy difficulty). Choose based on the comparison table above and your own setup.
Are Counter.dev Selfhost and Tianji free and open-source?
Yes. Counter.dev Selfhost is licensed under MIT and Tianji under Apache-2.0. Both can be self-hosted at no software cost.
Can I run Counter.dev Selfhost and Tianji with Docker?
Counter.dev Selfhost: yes. Tianji: yes.