openpanel  by Openpanel-dev

Open-source product analytics platform

Created 2 years ago
5,678 stars

Top 8.8% on SourcePulse

GitHubView on GitHub
Project Summary

OpenPanel is an open-source web and product analytics platform, positioning itself as a feature-rich alternative to Mixpanel, Plausible, and GA4. It addresses the need for advanced analytics, real-time dashboards, and session replay capabilities, with a strong emphasis on user privacy and data control through optional self-hosting. The platform is designed for developers and businesses seeking a transparent, customizable, and cost-effective analytics solution.

How It Works

The architecture leverages a modern stack for performance and scalability. The dashboard is built with Next.js and Tailwind CSS, styled using Shadcn UI, while the event API is powered by Fastify. Data storage employs PostgreSQL for basic information and ClickHouse for efficient event analytics. Redis handles caching and message queuing, augmented by BullMQ and GroupMQ for robust background job processing. Authentication is managed via Oslo, and API communication is streamlined through tRPC. This combination enables real-time data updates, complex querying, and a developer-friendly experience.

Quick Start & Requirements

  • Primary install/run command: Requires pnpm install, setting up .env from .env.example, pnpm dock:up, pnpm codegen, pnpm migrate:deploy, and pnpm dev.
  • Prerequisites: Docker, Docker Compose, Node.js, pnpm.
  • Access: Dashboard at https://localhost:3000, API at https://api.localhost:3333.
  • Links: Website, Docs, Discord, X/Twitter are mentioned.

Highlighted Details

  • Offers comprehensive features including funnels, cohorts, user profiles, session history, and unlimited session replay, surpassing limitations in some competing free tiers.
  • Prioritizes privacy with cookieless tracking and GDPR compliance, contrasting with GDPR concerns around GA4.
  • Provides extensive SDK support (Web, Swift, Kotlin, ReactNative) and API access, catering to developers.
  • Includes integrated A/B testing, smart event/funnel notifications, and an AI-powered MCP Server for natural language data querying.

Maintenance & Community

  • Community channels include Discord and X/Twitter.
  • No specific details on core contributors, sponsorships, or project roadmap are provided in the README.

Licensing & Compatibility

  • The README does not explicitly state the project's license. This omission is a critical factor for adoption, especially for commercial use.
  • No specific compatibility notes for commercial use or integration with closed-source systems are mentioned.

Limitations & Caveats

  • The project's license is not specified, posing a significant adoption risk.
  • The README does not detail known bugs, alpha/beta status, or specific platform limitations.
  • Self-hosting requires a development environment with Docker and Node.js expertise.
Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
10
Issues (30d)
15
Star History
118 stars in the last 30 days

Explore Similar Projects

Starred by Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
16 more.

OpenBB by OpenBB-finance

0.6%
67k
Financial data platform for analysts, quants, and AI agents
Created 5 years ago
Updated 9 hours ago
Feedback? Help us improve.