Litlyx vs Tianji
A side-by-side comparison of two self-hosted web analytics options — licensing, setup difficulty, resource needs, and what each one replaces.
| Feature | Litlyx | Tianji |
|---|---|---|
| Deploy effort | Under-an-hour setup | Under-an-hour setup |
| Health score | 53 · Fair | 87 · Excellent |
| Category | Web Analytics | Web Analytics |
| License | AGPL-3.0 | Apache-2.0 |
| Language | TypeScript | TypeScript |
| Setup difficulty | Medium | Medium |
| Min. RAM | 512 MB | 512 MB |
| Deployment | docker | docker |
| GitHub stars | ★ 1,744 | ★ 3,100 |
| First released | 2024 | 2023 |
| Replaces | Google Analytics | Google Analytics |
What are Litlyx and Tianji?
Litlyx
Litlyx is an open-source, privacy-first analytics platform that integrates with a single line of code. It offers an AI assistant for querying your data and tracks visits, events, and conversions.
- One-line integration
- AI data assistant
- Event and conversion tracking
- Privacy-first by default
Tianji
Tianji is an all-in-one insight hub that combines website analytics, uptime monitoring, and server status into a single application. It offers a unified dashboard for observing your sites and infrastructure.
- Website analytics
- Uptime monitoring
- Server status reporting
- Unified insight dashboard
Litlyx vs Tianji: key differences
Both projects are written in TypeScript. Licensing differs — AGPL-3.0 for Litlyx versus Apache-2.0 for Tianji.
Why pick each one
Choose Litlyx if…
- Simple setup
- Natural-language data queries
Watch out for
- Young project
- Requires MongoDB
Choose Tianji if…
- Multiple tools in one
- Clean interface
Watch out for
- Jack-of-all-trades scope
- Younger project
Frequently asked questions
Is Litlyx or Tianji better?
Neither is universally better. Tianji has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.
Are Litlyx and Tianji free and open-source?
Yes. Litlyx is licensed under AGPL-3.0 and Tianji under Apache-2.0. Both can be self-hosted at no software cost.
Can I run Litlyx and Tianji with Docker?
Litlyx: yes. Tianji: yes.