msgbyte

tianji: Website Analytics, Uptime Monitoring and Server Status

Tianji is a TypeScript all-in-one insight hub combining website analytics, uptime monitoring and server status in one self-hostable application. It suits teams that want lightweight visibility without running separate tools for each need.

ActiveTypeScriptApache-2.0AnalyticsSelf HostedMonitoring
Stars
3.1k
Forks
199
Stars, last 30 days
+10
Last commit
2 days ago
Contributors
16

Our take

Activeregular commits and releases

Health score

57/100

How it is scored
Activity
90
Community
27
Issues
46
Pull requests
63

+10 stars in the last 30 days

  • Releases more often than 93% of the projects we track

Tianji is an actively maintained, broad-scope monitoring and analytics application, but its contributor activity is highly concentrated and recent issue closure is limited.

Good fit if

  • You want website analytics, uptime monitoring and server status together, and can run the application with PostgreSQL.
  • You prefer self-hosting and want a Docker Compose setup, with an Apache-2.0 license.
  • You value regular releases and commits, and can account for the project relying heavily on one contributor.

Look elsewhere if

  • You need a dedicated survey page now, which the README lists as unfinished.
  • You need a project with broadly distributed contributor activity or stronger recent evidence of issue resolution.
  • You need a specialist analytics or monitoring tool rather than Tianji's combined, lightweight approach.
All health signals
Last commit2026-11-04 (2 days ago)
Commits, last 90 days100+
Releases, last 12 months100+ (latest v1.33.14, 2026-11-04)
Contributors16 (top contributor: 99% of commits)
Issues closed, last 90 days1
Pull requests merged, last 90 days7 (typically merged in 0 days)
Project age3 years

Checked on 2026-11-07 with the GitHub API.

Project history

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

Selected snapshot

Stars

3,123

Forks

199

Change since Nov 17, 2026: 0 stars·-1 forks

Overview

Tianji is a TypeScript all-in-one insight hub for website analytics, uptime monitoring and server status. It brings together the basic traffic, connectivity and server-health insights that might otherwise require separate analytics, monitoring and telemetry services, with the aim of making lightweight monitoring simpler to run.

It is aimed at people operating websites or self-hosted applications who want one place to review these signals, including teams collecting basic telemetry from their deployments. It also includes team collaboration, notifications, UTM tracking, surveys and Lighthouse reports. See the project website and GitHub repository.

Key Features

  • Website analytics for page visits and traffic.
  • Uptime monitoring, including passive receipt of monitor results.
  • Server-status reporting and telemetry.
  • Problem notifications and hooks.
  • Team collaboration and an OpenAPI interface.
  • UTM tracking, waitlists and surveys. The README notes that a dedicated survey page is still unfinished.
  • Lighthouse reports.

Use Cases

  • A website operator wants analytics and uptime checks in one self-hosted service instead of maintaining separate tools.
  • A small infrastructure team wants a shared view of server status and notifications alongside website traffic.
  • Maintainers of a self-hosted application want to collect basic deployment telemetry.
  • A team running campaigns wants UTM tracking and lightweight website analytics in the same application.

What you need

Detected in the repository

  • Node.js (from package.json)
  • A Dockerfile, so it can run in a container; a Compose file sets up the related services
  • Automated checks on GitHub Actions

License in plain words

Apache-2.0permissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license, the NOTICE file and a note of your changes
  • Share your changes: no
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

From the repository root, start the application and PostgreSQL with Docker Compose:

docker compose up -d

The app is available at http://localhost:12345 by default. See the README for environment configuration and other deployment options.

Alternatives

  • minilytics: Minilytics focuses on revenue attribution for indie founders on Cloudflare, rather than combining analytics with uptime and server monitoring.
  • Checkmate: Checkmate focuses on website availability and server health monitoring, rather than including website analytics in an all-in-one hub.
ProjectLanguageLicenseStarsStatus
tianjiTypeScriptApache-2.03.1kActive
minilyticsTypeScriptMIT262New
CheckmateTypeScriptAGPL-3.010.9kActive

Considerations

  • Self-hosting requires a PostgreSQL database. Docker Compose starts the database alongside the app; source development also requires Node.js and server environment configuration.
  • The project is active, with regular commits and releases, but measured contributor activity is concentrated almost entirely on one person. Only one issue was closed in the measured 90-day period, so do not assume rapid issue resolution.
  • The README marks the dedicated survey page as unfinished, despite listing survey support among the roadmap items.
  • Apache-2.0 permits broad use, but teams should retain required license and notice information when redistributing the software.

Found this useful?

Share it with someone who would like tianji.

Comparisons