Tianji
Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives.
What is Tianji?
Tianji is a free and open-source self-hosted analytics platform. It's written mainly in TypeScript and released under the Apache-2.0 license. The project has 3.1K stars on GitHub and 199 forks, and its last commit landed 8 days ago. Our maintenance health score is 88/100 (thriving). It can be deployed with Docker.
How to self-host Tianji
- 1. Get a server. A $5/month VPS or any always-on machine at home works for most single-user setups.
- 2. Install it. Tianji ships Docker images — grab the
docker-compose.ymlfrom the repository and rundocker compose up -d. - 3. Add HTTPS. Put it behind Caddy, Traefik or Nginx Proxy Manager.
- 4. Back up. Schedule backups of its data volume and database — self-hosting means you own recovery too.
Tianji FAQ
Is Tianji free?
Yes. Tianji is open-source (Apache-2.0), so you can download, self-host and modify it for free. You only pay for the server you run it on.
How do I self-host Tianji?
The quickest route is Docker: Tianji ships container images, so a single docker-compose file on any Linux VPS or home server gets you running. Put it behind a reverse proxy such as Caddy, Traefik or Nginx Proxy Manager for HTTPS, and back up its data volume regularly.
Is Tianji still maintained?
Tianji's last commit was 8 days ago and its latest release (v1.34.3) shipped 11 days ago. Its health score is 88/100, which we rate as “Thriving”.
What are the best alternatives to Tianji?
Popular alternatives to Tianji include Umami (★ 40.3K), Plausible Analytics (★ 29.9K), Swetrix (★ 1.2K), Superset (★ 75.6K), Shynet (★ 3.2K). Compare them side by side on this page.
Tianji alternatives
All analytics platform →Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics.
★ 29.9KElixirAGPL-3.0ThrivingUltimate, open-source web analytics to satisfy all your needs.
★ 1.2KTypeScriptAGPL-3.0ThrivingModern, privacy-friendly, and detailed web analytics that works without cookies or JS.
★ 3.2KPythonApache-2.0ActiveTraces, evals, prompt management and metrics to debug and improve your LLM application.
★ 37.7KTypeScriptMITProprietaryThrivingProduct analytics, session recording, feature flagging and a/b testing that you can self-host.
★ 41KPythonMITThrivingConnect and query your data sources, build dashboards to visualize data and share them with your company.
★ 28.9KTypeScriptBSD-2-ClauseThriving