· Engineering· Guides
An OpenPanel alternative that runs natively on Cloudflare
FlarePanel is an open-source fork of OpenPanel rebuilt for Cloudflare: Workers, D1, Durable Objects and R2 instead of ClickHouse, Postgres and Redis. Funnels, retention, profiles, session replay and an MCP server, with no database servers to run.
By FlarePanel team
Why this was hard
OpenPanel is a good product analytics tool, and self-hosting it means running a stack: Postgres, ClickHouse, Redis and Redpanda in Docker, on a machine with at least 4 GB of memory. That is the usual answer to “where do product analytics events live?”: a column store such as ClickHouse.
Cloudflare has no ClickHouse. So most Cloudflare-native analytics tools stop at pageviews, counted with Workers Analytics Engine. Funnels, retention and per-user history need a different design.
How FlarePanel does it on Cloudflare
- Workers take in events and serve the API and the dashboard.
- Durable Objects, one per project, hold the project’s events, sessions, rollups and live connections, so funnels, retention and realtime read from storage that sits next to the code.
- D1 keeps accounts, workspaces, projects and API clients.
- R2 archives raw events and stores session replay chunks.
- Queues run background jobs such as imports, exports and Search Console syncs.
The details, including what moved where and why, are in How FlarePanel runs on Cloudflare.
What you get
- Realtime, pages, sources, countries and devices
- Custom events, funnels, retention, cohorts and user profiles
- Session replay with privacy masking
- Revenue tracking
- AI crawler tracking: which bots, such as GPTBot and ClaudeBot, read which pages
- An AI assistant on your own OpenAI or Anthropic key, and an MCP server for Claude, Cursor and other tools
- No cookies
Install it
The Deploy to Cloudflare guide has two buttons, one for the API and one for the dashboard, plus a step-by-step path with wrangler. You need the Workers Paid plan and a domain on Cloudflare DNS. Prefer a normal server? The same code also runs with Docker.
Coming from OpenPanel? The SDKs accept the same calls; usually you only change the client ID and the API address. See Moving from OpenPanel and the side-by-side table in FlarePanel vs OpenPanel.
When to stay with OpenPanel
If you already run Docker servers and are happy looking after ClickHouse, or you need your Cloud data hosted in the EU, OpenPanel is a fine choice and its team ships fast. FlarePanel is for people who want the same kind of product analytics without running servers.
Questions
- Is there an OpenPanel alternative that runs on Cloudflare?
- Yes: FlarePanel. It is an AGPL-3.0 fork of OpenPanel that runs natively on Cloudflare Workers, D1, Durable Objects and R2, so you can self-host funnels, retention, profiles and session replay without ClickHouse, Postgres or Redis.
- Which Cloudflare plan do I need to self-host FlarePanel?
- The Workers Paid plan: the API bundle is larger than the free plan allows. You also need a domain on Cloudflare DNS for the API and dashboard.
- Do I have to self-host?
- No. FlarePanel Cloud runs the same code for you, from $1 a month for 5,000 events, with a 30-day free trial and no card.