Bklit: Open-Source Analytics SaaS (Discontinued)
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Bklit was a privacy-focused, open-source analytics platform designed for modern web applications, offering real-time tracking of pageviews, events, and user sessions. Built with a powerful SDK and a beautiful dashboard, it provided robust features for web analytics. Please note, Bklit Analytics has been discontinued, and its hosted service, npm packages, and self-hosted infrastructure are no longer maintained.
Repository Information
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.
Introduction
Bklit Analytics was an ambitious open-source project aimed at providing a privacy-focused analytics platform for modern web applications. It allowed users to track pageviews, custom events, user sessions, and conversion funnels through a powerful SDK and an intuitive dashboard. Built with a cutting-edge tech stack, Bklit offered real-time insights and a comprehensive feature set for web analytics.
Important Note: Bklit Analytics has been officially discontinued. The hosted service, npm packages (@bklit/sdk, @bklit/create), and self-hosted infrastructure are no longer maintained. While the project is no longer actively developed, its codebase remains a valuable resource for understanding advanced analytics system design and modern web development practices.
Installation
Although the project is discontinued, you can still explore its architecture and setup for learning purposes. The project was designed for a quick start:
To get Bklit running in under 2 minutes, you would use:
npx @bklit/create
This CLI tool was designed to automate the setup process, checking prerequisites, generating secure secrets, setting up PostgreSQL & ClickHouse with Docker, installing dependencies, creating the database schema, and starting the development server.
Prerequisites (for local exploration):
- Node.js 22.0.0+
- pnpm 9.6.0+
- Docker (optional, for automatic database setup)
- PostgreSQL (if not using Docker)
- ClickHouse (if not using Docker)
For manual setup, the repository provides detailed instructions, including cloning the repo, installing dependencies, configuring environment variables, and starting backend and frontend services.
Examples
The primary example of interacting with Bklit was through its npx @bklit/create command, which provided a full local development environment. This setup included:
- Dashboard: Accessible at
http://localhost:3000 - Playground: For SDK testing, at
http://localhost:5173 - Website: Marketing site, at
http://localhost:4000 - WebSocket: Real-time server, at
ws://localhost:8080
These local instances allowed developers to experiment with the analytics SDK, track events, and visualize data in real-time, showcasing the platform's capabilities before its discontinuation. The project's architecture, involving a WebSocket server, Redis queue, and ClickHouse for data storage, offers a robust example of a real-time analytics pipeline.
Why Use
Despite its discontinuation, Bklit remains an excellent open-source project for educational purposes and as a reference for building complex, real-time web applications. Its codebase demonstrates:
- Real-time Analytics: A sophisticated WebSocket-based architecture for instant live tracking and session management.
- Modern Tech Stack: Utilizes Next.js 16 (App Router), React 19, Tailwind CSS v4, PostgreSQL with Prisma ORM, ClickHouse for analytics, Redis for queuing, tRPC for type-safe APIs, and shadcn/ui for components.
- Monorepo Structure: Managed with Turborepo and pnpm workspaces, showcasing best practices for large-scale projects.
- Comprehensive Features: Features like a visual funnel builder, geographic insights, and a developer-friendly SDK provide a blueprint for advanced analytics functionalities.
- Privacy Focus: Designed with privacy in mind, offering a valuable perspective on building ethical data platforms.
Exploring Bklit's source code can provide invaluable insights into building high-performance, scalable, and real-time data-driven applications.
Links
For those interested in exploring the project's codebase and its related components:
- GitHub Repository: bklit/bklit
- Bklit UI Library: bklit-ui
- Original Documentation: docs.bklit.com (Note: This documentation may no longer be actively maintained or available.)
Related repositories
Similar repositories that may be relevant next.

LangWatch: The Platform for LLM Evaluations and AI Agent Testing
April 28, 2026
LangWatch is an open-source platform designed for end-to-end LLM evaluations and AI agent testing. It helps teams test, simulate, evaluate, and monitor LLM-powered agents both before release and in production. Built for robust regression testing, simulations, and production observability, LangWatch eliminates the need for custom tooling.
Streamystats: Advanced Analytics and AI for Your Jellyfin Library
March 20, 2026
Streamystats is a powerful statistics service designed for Jellyfin, offering comprehensive analytics and data visualization for your media library. It provides detailed dashboards, user-specific watch history, and advanced AI features like chat and personalized recommendations. This project enhances the Jellyfin experience by transforming raw viewing data into insightful, actionable information.
Aptabase: Open Source, Privacy-First Analytics for Apps
March 5, 2026
Aptabase is an open-source, privacy-first analytics platform designed for mobile, desktop, and web applications. It offers a simple, user-friendly dashboard for essential metrics and provides an extensive list of SDKs for various frameworks. This robust solution ensures compliance with privacy regulations like GDPR while delivering valuable app insights.

Tianji: All-in-One Website Analytics, Uptime Monitor, and Server Status
January 23, 2026
Tianji is an open-source, all-in-one solution for comprehensive website and server monitoring. It integrates website analytics, uptime monitoring, and server status tracking into a single, lightweight application. Designed to simplify insights, Tianji offers a powerful alternative to managing multiple specialized tools.
Source repository
Open the original repository on GitHub.