https://github.com/Openpanel-dev/openpanel
All the goodies from both Mixpanel and Plausible combined into one tool.
https://github.com/Openpanel-dev/openpanel
analytics
Last synced: 20 days ago
JSON representation
All the goodies from both Mixpanel and Plausible combined into one tool.
- Host: GitHub
- URL: https://github.com/Openpanel-dev/openpanel
- Owner: Openpanel-dev
- License: agpl-3.0
- Created: 2024-02-29T07:27:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T09:38:22.000Z (6 months ago)
- Last Synced: 2024-10-28T12:40:46.156Z (6 months ago)
- Topics: analytics
- Language: TypeScript
- Homepage: https://openpanel.dev
- Size: 9.86 MB
- Stars: 3,051
- Watchers: 23
- Forks: 106
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Roadmap: ROADMAP.md
Awesome Lists containing this project
- awesome-homelab - Openpanel - dev/openpanel?style=flat)  | All the goodies from both Mixpanel and Plausible combined into one tool. | (Apps / Analytics)
- awesome - Openpanel-dev/openpanel - All the goodies from both Mixpanel and Plausible combined into one tool. (TypeScript)
- my-awesome-list - openpanel - dev | 4022 | (TypeScript)
README

Openpanel
An open-source alternative to Mixpanel
Website
·
Docs
·
Sign in
·
Discord
·
X/Twitter
·
Creator
·
Openpanel is a powerful analytics platform that captures and visualizes user behavior across web, mobile apps, and backend services. It combines the power of Mixpanel with the simplicity of Plausible.## 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](https://openpanel.dev/docs/self-hosting/self-hosting)
**Give us a star if you like it!**
[](https://star-history.com/#Openpanel-dev/openpanel&Date)
## 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
```bash
pnpm dock:up
pnpm codegen
pnpm migrate:deploy # once to setup the db
pnpm dev
```You can now access the following:
- Dashboard: https://op.local
- API: https://api.op.local
- Bullboard (queue): http://localhost:9999
- `pnpm dock:ch` to access clickhouse terminal
- `pnpm dock:redis` to access redis terminal