bklit vs tianji
Self-hosted analytics and monitoring compared
bklit focuses on website events, sessions, and conversion funnels, while tianji combines website analytics with uptime monitoring and server status reporting. Their maintenance status is a key difference: bklit is discontinued and archived, while tianji is not archived.

bklit: Privacy-Focused Web Analytics with ClickHouse
Bklit is a privacy-focused, open-source analytics platform for web apps, built on ClickHouse for event storage and queries. It offered real-time tracking, funnels and a dashboard, but the repository is archived and the service is discontinued.

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.
| bklit | tianji | |
|---|---|---|
| Language | TypeScript | TypeScript |
| License | — | Apache-2.0 |
| Stars | 267 | 3.1k |
| Forks | 25 | 199 |
| Last analyzed | Oct 29, 2026 | Nov 7, 2026 |
Key differences
- bklit tracks custom events, sessions, and conversion funnels; tianji also covers uptime monitoring, server status, and problem notifications.
- bklit uses WebSockets for live visitor and session updates, with ClickHouse for analytics events and PostgreSQL for application data.
- tianji includes telemetry, team collaboration, UTM tracking, surveys, and Lighthouse reports alongside analytics and monitoring.
- bklit is archived and discontinued, and its hosted service, packages, and self-hosted infrastructure are no longer maintained; tianji is not archived.
- bklit reports a NOASSERTION license in repository metadata, although its README says MIT; tianji uses Apache-2.0.
- bklit documents a setup requiring Node.js 22 or later, pnpm 9.6 or later, PostgreSQL, and ClickHouse; tianji provides a Compose setup and requires PostgreSQL for self-hosting.
Choose bklit if you…
- want to study an architecture combining a browser SDK, real-time events, and ClickHouse storage.
- need to review or maintain an existing bklit installation, accounting for its discontinued status.
Choose tianji if you…
- want website analytics, uptime monitoring, and server status in one self-hosted application.
- need shared visibility through features such as team collaboration, notifications, or deployment telemetry.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.