Repolode
Openpanel-dev

Openpanel-dev/openpanel

Open-source web and product analytics platform, an alternative to Mixpanel with optional self-hosting.

Open-source alternative to:Mixpanel

Stars
7,184
Forks
523
Open issues
48
Last commit
6 hours ago

What is it?

OpenPanel is a web and product analytics platform that tracks user behavior through events, offering funnels, cohorts, user profiles, session history and real-time dashboards. It is positioned as an alternative to Mixpanel, with a cookieless tracking approach aimed at privacy and GDPR compliance.

The project provides SDKs for web, Swift, Kotlin and React Native, along with an event API and an MCP server that lets AI clients query analytics data. Features also include session replay, A/B testing with variant breakdowns, event and funnel notifications, and revenue tracking.

The stack is built on Next.js for the dashboard, Fastify for the event API, PostgreSQL for metadata, ClickHouse for event storage, and Redis with BullMQ for caching and queues. It can be self-hosted, and the repository includes a Docker-based local development setup that uses Bun.

Key features

  • 01Funnels, cohorts, user profiles and session history for product analysis
  • 02Session replay with built-in privacy controls
  • 03Real-time dashboards and custom charts
  • 04Cookieless tracking designed for GDPR compliance
  • 05SDKs for web, iOS, Android and server-side tracking
  • 06Self-hosting option with full control over data

Use cases

  • Tracking product usage and conversion funnels for a web or mobile app
  • Running A/B tests and monitoring variant results
  • Analyzing user behavior while keeping data in-house for privacy compliance
  • Letting AI assistants query analytics data through an MCP server

Quick start

  1. 1

    Install Bun, Docker and Docker Compose, then install dependencies

    bun install
  2. 2

    Copy the example environment file

    cp .env.example .env
  3. 3

    Start the Docker services

    bun run dock:up
  4. 4

    Start the development server (run the README's codegen and migrate steps first)

    bun run dev

Things to know

  • Running it locally needs Docker, Docker Compose and Bun, plus several services such as Postgres, ClickHouse and Redis.
  • Licensed under AGPL-3.0, a copyleft license that requires source disclosure for modified network-deployed versions.

In collections

Topics

FAQ

What is openpanel?
Open-source web and product analytics platform, an alternative to Mixpanel with optional self-hosting. OpenPanel is a web and product analytics platform that tracks user behavior through events, offering funnels, cohorts, user profiles, session history and real-time dashboards. It is positioned as an alternative to Mixpanel, with a cookieless tracking approach aimed at privacy and GDPR compliance.
Is openpanel free to use? What license does it have?
openpanel is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
Is openpanel still maintained?
Actively maintained. The last commit to openpanel was on Oct 22, 2026.
What can I use openpanel for?
Tracking product usage and conversion funnels for a web or mobile app Running A/B tests and monitoring variant results Analyzing user behavior while keeping data in-house for privacy compliance Letting AI assistants query analytics data through an MCP server
How do I install openpanel?
Install Bun, Docker and Docker Compose, then install dependencies: bun install Copy the example environment file: cp .env.example .env Start the Docker services: bun run dock:up Start the development server (run the README's codegen and migrate steps first): bun run dev
Where can I get openpanel?
The source code and installation instructions are on GitHub: https://github.com/Openpanel-dev/openpanel

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects