tianji: Combine Website Analytics and Service Monitoring

Summary
Tianji combines website analytics, uptime monitoring, and server status reporting in one self-hostable application. It suits teams that want a shared view of site traffic and service health without running separate tools.
At a glance
- Language
- TypeScript
- License
- Apache-2.0
- Stars
- 3.1k
- Forks
- 193
- Added to OSRepos
- January 23, 2026
- Last analyzed
- October 3, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
Tianji is an all-in-one insight hub for website analytics, uptime monitoring, and server status. It addresses the overhead of installing and maintaining separate tools for traffic measurement, availability checks, and server health reporting.
It is aimed at individuals and teams with practical monitoring needs who prefer a unified, self-hosted application over specialist platforms. Additional capabilities include telemetry, notifications, team collaboration, and survey support.
Key Features
- Website analytics for page visits and traffic insights.
- Uptime monitoring, including support for passively received results.
- Server status reporting.
- Problem notifications.
- Telemetry for collecting deployment information.
- Team collaboration and an OpenAPI interface.
- UTM tracking, surveys, and Lighthouse reports.
- Docker Compose and Helm installation support, as described in the project roadmap.
Use Cases
- A small website team can review traffic and availability from one application instead of maintaining separate analytics and uptime services.
- Operators can combine uptime checks with server status reports when they need a lightweight view of service health.
- Maintainers of self-hosted or open-source applications can collect basic deployment telemetry alongside other project insights.
- Teams can use shared analytics and monitoring when multiple people need visibility into a site's performance and incidents.
Project Facts
- Language: TypeScript
- License: Apache-2.0
- Stars: 3.1k
- Forks: 193
- Topics: analytics, docker, google-analytics, monitor, self-hosted, selfhosted, server-status, statistics, umami, uptime, uptime-monitor, uptimekuma, web-analytics
- Archived: No
Getting Started
With Docker Compose installed, run this from the repository root:
docker compose up -d
The application is available at http://localhost:12345 by default. See the README for configuration and source-development instructions.
Alternatives
- hertzbeat: HertzBeat focuses on infrastructure metrics, logs, alerts, and status pages, rather than combining those with website analytics.
- grafana: Grafana provides dashboards and alerting across data sources, but Tianji bundles website analytics with uptime and server monitoring.
- bklit: Bklit focuses on website events, sessions, and funnels, and is discontinued; Tianji also includes uptime and server monitoring.
Considerations
Tianji combines several areas of monitoring, but teams needing deep specialist analytics or infrastructure monitoring should check whether its features meet their requirements. Self-hosting requires operating the application and its PostgreSQL database. The README provides a Compose setup and local development guidance; consult it for environment configuration and deployment details.
Source repository
Open the original repository on GitHub.
16 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

OrcaReplay: Record and Replay AI Agent Runs
October 2, 2026
OrcaReplay records AI agent runs so developers can inspect what happened, replay interactions offline, and fork a run from a checkpoint onto another model. It is a TypeScript CLI for debugging and comparing agent behavior without modifying the agent.

openmake_llm: Coordinate AI Models, Agents, and Tools
October 1, 2026
OpenMake is a self-hosted AI workspace that coordinates chat models, agents, and tools in one place. It suits people who want multi-step AI workflows with local or open-weight models, while keeping infrastructure and model choices under their control.

zennotes: Manage Markdown Notes with Keyboard-First Tools
October 1, 2026
ZenNotes is a local-first Markdown notes app for people who prefer plain files, keyboard navigation, and Vim motions. It runs as an Electron desktop app or a self-hosted web app, with search, diagrams, CLI, and MCP integrations.

Kun: Local-First AI Agent Workspace
September 27, 2026
Kun is a local-first workspace for using AI agents across coding, writing, design, research, and automation. Its desktop GUI and terminal TUI share one runtime, keeping tasks and approvals connected.