Openpanel-dev/openpanel
Openpanel-dev/openpanel has 7,253 GitHub stars and 539 forks. GitHot measured +6 stars in 24 hours. Last checked 2026-11-04 20:01 UTC. Last push 2026-11-03.
OpenPanel 是一个开源的网站和产品分析平台,也是 Mixpanel 的开源替代方案,并支持自行部署。
可以做什么
- 🔍 Advanced Analytics: Funnels, cohorts, user profiles, and session history
- 🎬 Session Replay: Record and replay user sessions with privacy controls built in
- 📊 Real-time Dashboards: Live data updates and interactive charts
- 🎯 A/B Testing: Built-in variant testing with detailed breakdowns
实测星标增长
- 24小时
- +6
- 7天
- 更新延迟
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Openpanel
An open-source alternative to Mixpanel
Website
·
Docs
·
Sign in
·
Discord
·
X/Twitter
·
Creator
·
Openpanel is an open-source web and product analytics platform that combines the power of Mixpanel with the ease of Plausible and one of the best Google Analytics replacements.
✨ Features
- 🔍 Advanced Analytics: Funnels, cohorts, user profiles, and session history
- 🎬 Session Replay: Record and replay user sessions with privacy controls built in
- 📊 Real-time Dashboards: Live data updates and interactive charts
- 🎯 A/B Testing: Built-in variant testing with detailed breakdowns
- 🔔 Smart Notifications: Event and funnel-based alerts
- 🌍 Privacy-First: Cookieless tracking and GDPR compliance
- 🚀 Developer-Friendly: Comprehensive SDKs and API access
- 📦 Self-Hosted: Full control over your data and infrastructure
- 💸 Transparent Pricing: No hidden costs or usage limits
- 🛠️ Custom Dashboards: Flexible chart creation and data visualization
- 📱 Multi-Platform: Web, mobile (iOS/Android), and server-side tracking
- 🤖 MCP Server: Ask Claude, Cursor, or any MCP client about your users — 38 tools, hosted, no install
- 💰 Revenue Tracking: Monitor purchases, subscriptions, and LTV alongside product events
- 🔌 Integrations: Connect Google Search Console, and more to enrich your data
📊 Analytics Platform Comparison
| Feature | OpenPanel | Mixpanel | GA4 | Plausible |
|---|---|---|---|---|
| ✅ Open-source | ✅ | ❌ | ❌ | ✅ |
| 🧩 Self-hosting supported | ✅ | ❌ | ❌ | ✅ |
| 🔒 Cookieless by default | ✅ | ❌ | ❌ | ✅ |
| 🔁 Real-time dashboards | ✅ | ✅ | ❌ | ✅ |
| 🔍 Funnels & cohort analysis | ✅ | ✅ | ✅* | ✅*** |
| 👤 User profiles & session history | ✅ | ✅ | ❌ | ❌ |
| 🎬 Session replay | ✅ | ✅**** | ❌ | ❌ |
| 📈 Custom dashboards & charts | ✅ | ✅ | ✅ | ❌ |
| 💬 Event & funnel notifications | ✅ | ✅ | ❌ | ❌ |
| 🌍 GDPR-compliant tracking | ✅ | ✅ | ❌** | ✅ |
| 📦 SDKs (Web, Swift, Kotlin, ReactNative) | ✅ | ✅ | ✅ | ❌ |
| 💸 Transparent pricing | ✅ | ❌ | ✅* | ✅ |
| 🚀 Built for developers | ✅ | ✅ | ❌ | ✅ |
| 🔧 A/B testing & variant breakdowns | ✅ | ✅ | ❌ | ❌ |
✅* GA4 has a free tier but often requires BigQuery (paid) for raw data access. ❌** GA4 has faced GDPR bans in several EU countries due to data transfers to US-based servers. ✅*** Plausible has simple goals ✅**** Mixpanel session replay is limited to 5k sessions/month on free and 20k on paid. OpenPanel has no limit.
Stack
- Nextjs - the dashboard
- Fastify - event api
- Postgres - storing basic information
- Clickhouse - storing events
- Redis - cache layer, pub/sub and queue
- BullMQ - queue
- GroupMQ - for grouped queue
- Resend - email
- Arctic - oauth
- Oslo - auth
- tRPC - api
- Tailwind - styling
- Shadcn - ui
Self-hosting
OpenPanel can be self-hosted and we have tried to make it as simple as possible.
You can find the how to here
Give us a star if you like it!
Development
Prerequisites
- Docker
- Docker Compose
- Bun
Start
bun install
cp .env.example .env
echo "API_URL=http://localhost:3333" > apps/start/.env
bun run dock:up
bun run codegen
bun run migrate:deploy # once to setup the db
bun run dev
You can now access the following:
- Dashboard: https://localhost:3000
- API: https://api.localhost:3333
- Bullboard (queue): http://localhost:9999
bun run dock:chto access clickhouse terminalbun run dock:redisto access redis terminal
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,163 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,699 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,199 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,413 星标