Tianji

Tianji is a self-hosted website analytics and uptime monitoring platform that combines visitor traffic insights, service availability checks, and server…

  • Monitoring & Logging
  • Network Services
  • Web & Publishing
Tianji is a self-hosted website analytics and uptime monitoring platform that combines visitor traffic insights, service availability checks, and server status into a single dashboard. It is a Google Analytics alternative for personal sites, blogs, and self-hosted services.

Platform availability

Available on 4 of 10 platforms

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

85/100 Excellent

Maintained
100last commit 5 days ago
Popular
703,122 GitHub stars
Easy to install
654 install platforms, install notes, Docker image
Light to run
95512 MB minimum RAM, runs on ARM

Availability: platform listings confirmed today, links checked yesterday

GitHub stars
3,122
Open issues
145
Last commit
2026-11-16
Latest release
v1.34.3
License
Apache-2.0
Activity
steady

Checked 2 days ago - source: GitHub (msgbyte/tianji)

Resources & Compatibility

Minimum requirements: 512 MB RAM. ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Start Tianji and change the default login Download the docker-compose.yml file (the file that tells Docker how to run Tianji) and run docker compose up -d to start it in the background. Use admin/admin the first time, then change that password right away or strangers can sign in and control your setup. source
  • Use port 12345 to reach the web page If you use the manual pm2 install (a tool that keeps the server running), the web interface runs on http://localhost:12345 by default. If you want to reach it from another computer, allow that port in your firewall so the browser can connect. source
  • Set a real API key before using the API If you plan to let other programs talk to Tianji through its API (its code-to-code connection), replace the example API key and base URL with your own. Without a valid key, Tianji will refuse the request and you won't get data. source

Fetched 53 days ago - each note links to its source

Alternatives (12)

  • Beszel - A lightweight server monitoring hub with historical data, docker stats, and alerts.
  • Better Stack - AI-driven monitoring platform providing incident management, real-time logs, uptime, traces, error tracking, infrastructure analytics, and…
  • GoAccess - GoAccess is an open-source, real-time web log analyzer and interactive viewer that runs in a *nix terminal or generates live, browser-frien…
  • GoatCounter - GoatCounter is an open-source, privacy-friendly web analytics platform that tracks visits and page views without personal identifiers, givi…
  • Google Analytics - Gain insights into website traffic with Advanced Segmentation, Custom Reporting, and data visualization.
  • HitKeep - HitKeep is privacy-first, open-source web analytics for self-hosters and teams, running as a single Go binary with an embedded DuckDB datab…
  • Matomo - Matomo is a free and open source web analytics platform that runs on your own PHP/MySQL web server, tracking your websites' traffic and del…
  • Offen - Offen Fair Web Analytics is an open-source, self-hosted web analytics platform that collects first-party data with explicit opt-in consent,…
  • PHP Server Monitor - PHP Server Monitor checks whether your websites and servers are up and running.
  • Plausible Analytics - Plausible is a simple tool for tracking how many people visit your website.
  • Prisme Analytics - Prisme is an open-source, privacy-friendly web analytics service for tracking your website or web application.
  • Uptime Kuma - Uptime Kuma is an easy-to-use, self-hosted monitoring tool that tracks the availability of websites, APIs, network services, and Docker con…

Checked 54 days ago - source: AlternativeTo

Common questions

What credentials does Tianji use for the first login, and what should I do after logging in?

The default account is admin/admin, and you should change the password as soon as possible.

How do I deploy Tianji with Docker?

Download the provided docker-compose.yml file and run docker compose up -d.

What should I configure before using Tianji's API from another program?

Replace the example API key and base URL with your own valid values. Without a valid key, Tianji will refuse the request.

What common issue is documented for Tianji when using HTTPS?

WebSocket connections may fail to connect properly, even though other functions work normally.

Answers sourced from github.com, tianji.dev, tianji.msgbyte.com

Community

Collected 48 days ago - public community threads