Carl-Gerhard Lindesvärd 81a7e5d62e feat: dashboard v2, esm, upgrades (#211)
* esm

* wip

* wip

* wip

* wip

* wip

* wip

* subscription notice

* wip

* wip

* wip

* fix envs

* fix: update docker build

* fix

* esm/types

* delete dashboard :D

* add patches to dockerfiles

* update packages + catalogs + ts

* wip

* remove native libs

* ts

* improvements

* fix redirects and fetching session

* try fix favicon

* fixes

* fix

* order and resize reportds within a dashboard

* improvements

* wip

* added userjot to dashboard

* fix

* add op

* wip

* different cache key

* improve date picker

* fix table

* event details loading

* redo onboarding completely

* fix login

* fix

* fix

* extend session, billing and improve bars

* fix

* reduce price on 10M
2025-10-16 12:27:44 +02:00
2024-08-09 23:00:38 +02:00
2025-06-26 22:48:54 +02:00
2025-06-06 19:14:18 +02:00
2025-06-06 19:14:18 +02:00

hero

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.

Disclaimer

Hey folks 👋🏻 Just a friendly heads-up: we're still in the early stages of this project. We have migrated from pages to app dir and made some major changes during the development of Openpanel, so everything is not perfect.

Stack

  • Nextjs - the dashboard
  • Fastify - event api
  • Postgres - storing basic information
  • Clickhouse - storing events
  • Redis - cache layer, pub/sub and queue
  • BullMQ - 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!

Star History Chart

Development

Prerequisites

  • Docker
  • Docker Compose
  • Node
  • pnpm

Setup

Add the following to your hosts file (/etc/hosts on mac/linux or C:\Windows\System32\drivers\etc\hosts on windows). This will be your local domain.

127.0.0.1 op.local
127.0.0.1 api.op.local

Start

pnpm dock:up
pnpm codegen
pnpm migrate:deploy # once to setup the db
pnpm dev

You can now access the following:

Description
OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
Readme 147 MiB
Languages
TypeScript 78.4%
MDX 13.2%
JavaScript 6.9%
HTML 0.4%
CSS 0.4%
Other 0.6%