bklit

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.

ArchivedTypeScriptAnalyticsWeb AppSelf Hosted
Stars
267
Forks
25
Stars, last 30 days
+0
Last commit
5 months ago
Contributors
6

Our take

Archivedarchived by its owners on GitHub, read-only

Health score

25/100

How it is scored
Activity
35
Community
23
Issues
21
Pull requests
20

+0 stars in the last 30 days

Bklit documents a substantial analytics architecture, but its archived status and discontinued service make it unsuitable as a maintained analytics platform.

Good fit if

  • You want to study the implementation of a WebSocket-to-Redis-to-ClickHouse analytics pipeline.
  • You are evaluating the existing dashboard, SDK or self-hosting setup as a code reference.
  • You can maintain the code and its Node.js, PostgreSQL, ClickHouse and Redis dependencies yourself.

Look elsewhere if

  • You need a supported hosted analytics service, npm SDK or self-hosted deployment, all of which the project says are discontinued.
  • You need ongoing fixes or active support: the repository is archived, has no recent commits, and recent issue and pull request handling is inactive.
  • You need a project with broad maintainer coverage: most contributions come from one person.
All health signals
Last commit2026-06-08 (5 months ago)
Commits, last 90 days0
Releases, last 12 months3 (latest v2.0.0, 2026-01-18)
Contributors6 (top contributor: 95% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age18 months

Checked on 2026-10-29 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

267

Forks

25

Change since Nov 15, 2026: 0 stars·0 forks

Overview

Bklit Analytics is a privacy-focused analytics platform for modern web applications, built on ClickHouse for storing and querying analytics events. It was designed to track pageviews, custom events, sessions and conversion funnels through an SDK and dashboard, with a self-hosting option.

The project combines a WebSocket server for live event delivery with Redis queuing and background workers. The hosted service, npm packages and self-hosted infrastructure have been discontinued, so this repository is now a read-only reference rather than a maintained analytics product.

Key Features

  • SDK-based tracking for pageviews, custom events and user sessions.
  • WebSocket-based live tracking, with events broadcast to dashboards.
  • Conversion funnel builder and geographic insights.
  • ClickHouse-backed event storage and analytics queries.
  • Redis queue and background workers for processing events in batches.
  • Next.js dashboard and supporting documentation, website and SDK playground in a pnpm/Turborepo monorepo.

Use Cases

  • A developer researching how an analytics SDK can send events over persistent WebSocket connections.
  • A team evaluating ClickHouse, Redis and PostgreSQL together for an analytics product architecture.
  • A maintainer looking for a code reference for a self-hosted analytics dashboard and funnel builder.

What you need

Detected in the repository

  • Node.js >=22.0.0 (from package.json)
  • A Compose file to run it with its related services
  • Automated checks on GitHub Actions

Getting Started

The README documents this quick-start command:

npx @bklit/create

The creator package is no longer maintained, so this command may not work. See the repository README for the documented manual setup and configuration details.

License in Plain Words

No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.

Alternatives

  • minilytics: Minilytics ties visitor behavior to revenue for indie founders on Cloudflare, while bklit offered broader event analytics with ClickHouse and funnels.
  • tianji: Tianji combines website analytics with uptime and server monitoring, while bklit focused on product analytics with ClickHouse and funnels.
  • vince: Vince is a lightweight, self-hosted web analytics service, while bklit offered ClickHouse-backed event analytics and product funnels.
ProjectLanguageLicenseStarsStatus
bklitTypeScript–267Archived
minilyticsTypeScriptMIT262New
tianjiTypeScriptApache-2.03.1kActive
vinceGoAGPL-3.02kInactive

Considerations

  • This GitHub repository is archived and read-only. The hosted service, @bklit/sdk, @bklit/create and self-hosted infrastructure are no longer maintained.
  • The documented setup depends on Node.js 22 or later and services including PostgreSQL, ClickHouse and Redis. Docker is optional in the README's setup instructions.
  • The README states that the project is MIT-licensed, while the repository metadata does not assert a license. Check the license files and code before redistributing or adopting it.
  • The README describes optional integrations such as OAuth, Polar billing, Resend email, Mapbox maps and Trigger.dev jobs. These require separate credentials and are not core setup requirements.

Found this useful?

Share it with someone who would like bklit.

Comparisons