selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

openpanel logo

Self-host openpanel

worker

Open-source web and product analytics, Mixpanel-style

ReleaseOpen CoreAGPL-3.0
Docker ComposeFull install guide
curl -fsSL https://raw.githubusercontent.com/Openpanel-dev/openpanel/main/self-hosting/install.sh | sh
Updated5 months ago
LanguageTypescript
Setup difficultyModerate
Stars
7 279
RAM
4GB
Requires
ClickHouse, PostgreSQL, Redis, Redpanda
Docker
lindesvard/openpanel-api

What is openpanel?

openpanel alternatives

All self-hosted alternatives to Google Analytics → All self-hosted alternatives to Mixpanel →

Should you self-host openpanel?

openpanel scores 69/100 on selfhost.directory (how scoring works) and ranks #5 of 22 in Web analytics. It has 7 279 GitHub stars, +183 in the last 30 days.

It shipped 59 stable releases in the past year. The latest, v3.30.0, came out on 6 November 2026.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Plausible Analytics (79/100, 29 812 stars). It scores higher overall, so compare the two before you pick. See openpanel vs Plausible Analytics side by side.

Features

  • A/B Testing
  • Cookieless, GDPR-compliant tracking
  • Custom dashboards and charts
  • Data ExportSelf-hosting CLI exports JSONL; S3/GCS storage integrations are listed as coming soon
  • Event and funnel notifications
  • Funnels and cohort analysis
  • In-app AI chat assistantOptional; requires your own OpenAI or Anthropic API key and incurs provider usage costs
  • MCP Server
  • Multi-team sharing and collaboration
  • Real-time Dashboards
  • REST API and SDKs
  • Retention analysis
  • Revenue Tracking
  • Session Replay
  • Two-factor authenticationNeeds ENCRYPTION_KEY set

openpanel README

How to install openpanel

Install openpanel with Docker Compose

Environment variables
DATABASE_URL, REDIS_URL, CLICKHOUSE_URL, API_URL, DASHBOARD_URL, COOKIE_SECRET, ENCRYPTION_KEY
curl -fsSL https://raw.githubusercontent.com/Openpanel-dev/openpanel/main/self-hosting/install.sh | sh
openpanel init
openpanel up

Deploy with Docker Compose on a VPS or dedicated server; services are op-db, op-kv, op-ch, op-rp, op-api, op-dashboard, op-worker and op-proxy (Caddy).

How to configure openpanel

  • DATABASE_URLPostgreSQL connection string for the main database (required)

    values: string

  • CLICKHOUSE_URLClickHouse HTTP connection URL for analytics data storage (required)

    values: string

  • REDIS_URLredis://localhost:6379Redis connection string for caching and queue management (required)

    values: string

  • API_URLPublic API URL exposed to the browser (required)

    values: string

  • RESEND_API_KEYResend API key for transactional emails

    values: string

openpanel releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Web analytics

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…