msgbyte

tianji: Combine Website Analytics and Service Monitoring

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.

TypeScriptApache-2.0AnalyticsMonitoringSelf Hosted
View on GitHub Compare
Stars
3.1k
Forks
193
Stars, last 30 days
+17

Our take

Health score

54/100

How it is scored
Activity
90
Community
26
Issues
33
Pull requests
66

+17 stars in the last 30 days

  • Releases more often than 93% of the projects we track
  • Slower to close issues than 91% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

3,119

Forks

199

Change since Nov 5, 2026: +1 stars·0 forks

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.

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.
ProjectLanguageLicenseStarsStatus
tianjiTypeScriptApache-2.03.1kNot checked yet
hertzbeatJavaApache-2.07.4kActive
grafanaTypeScriptAGPL-3.077.1kActive
bklitTypeScript–267Archived

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.

Found this useful?

Share it with someone who would like tianji.

Comparisons