# Tianji

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 open source and self-hosted, installable on TrueNAS, Proxmox and ZimaOS.

Canonical page: https://ourlocalhost.com/app/4386/tianji

## Description

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: TrueNAS, ZimaOS, Proxmox, Any server.

## Health score

85/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 5 days ago)
- Popular: 70 (3,122 GitHub stars)
- Easy to install: 65 (4 install platforms, install notes, Docker image)
- Light to run: 95 (512 MB minimum RAM, runs on ARM)

## Links

- Documentation: https://tianji.msgbyte.com/docs/intro
- TrueNAS: https://apps.truenas.com/catalog/tianji/
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=tianji
- Official website: https://tianji.msgbyte.com
- ZimaOS: https://github.com/bigbeartechworld/big-bear-casaos/tree/master/Apps/tianji
- GitHub: https://github.com/msgbyte/tianji

## 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.

## Alternatives

- 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…

---
Source: Our Local Host (https://ourlocalhost.com/app/4386/tianji), the self-hosted and open-source app directory.
