Compare

Lyraflow and PostHog, when you run it yourself.

Both can run on your own server, and both keep events in ClickHouse (PostHog's architecture). The resemblance mostly ends there. PostHog is a suite of many products, with a hosted cloud it recommends to most people. Lyraflow is product analytics only, self-hosted only, and early.

Every claim about PostHog on this page links the PostHog page or file that makes it, and each was checked on 22 September 2026. PostHog changes quickly. If something here has gone out of date, tell us and it will be corrected.

The short version

PostHog, self-hosted Lyraflow
What it is The self-hosted form of a suite whose products include analytics, session replay, feature flags, experiments, surveys and more Product analytics: events, identity, segments, funnels, trends, retention, dashboards
Hosted option PostHog Cloud, which PostHog recommends for the vast majority of users None. Self-hosted is the only way to run it
Licence MIT outside the ee/ directory; a separate PostHog Enterprise license inside it Fair-code, the Sustainable Use License. Not open source
What the self-hosted build includes The features PostHog offers free; every paid feature is Cloud-only The whole product. There is no cloud to reserve anything for
Machine it asks for 4 vCPU, 16 GB RAM, more than 30 GB storage No measured minimum published yet
Releases No tagged releases for self-hosted; changes ship continuously from master Tagged releases with a changelog; v0.17 is current
Support for self-hosters No commercial support for self-hosted deployments One person, through a public issue tracker

What PostHog does that Lyraflow does not

This is the longer list, and it should be read first. If anything on it is what you need, PostHog is the better choice and Lyraflow will not become that choice soon.

Some of Lyraflow's gaps have nothing to do with PostHog. Its first commit was on 1 August 2026, and as far as we know nobody outside the project runs it in production yet; for anything that matters today, that alone is a fair reason to choose something else. Ingest never fills country, region or city yet, because there is no GeoIP lookup (#12); the countries in the demo are generated seed data. There is no published container image, so the install builds one from the checkout. A funnel and a retention grid cannot be broken down by a dimension the way a trend can. The documentation ends each screen with what it does not do.

What self-hosting PostHog means, in PostHog's words

PostHog is direct about its self-hosted build, and this page quotes it rather than paraphrasing. Its disclaimer calls it a “hobby deploy”, “made for hobbyists”, and says that “everything runs on a single machine, and thus is unlikely to scale past a couple 100ks events without significant effort in scaling.” The same page says self-hosted customers “cannot receive commercial support from PostHog” and that PostHog is “unable to support recovery from data loss.”

Its self-hosting page says there are no tagged releases for self-hosted PostHog, that every change ships continuously from master, and that PostHog does not publish CVEs. It says a self-hosted install gets the features PostHog offers free, and that every paid feature is Cloud-only. New Kubernetes deployments of the open-source build are no longer supported.

On hardware, the same page asks for something equivalent to a 4 vCPU, 16 GB RAM machine with more than 30 GB of storage. The example container list in its troubleshooting section shows eight images: PostHog itself, Caddy, ClickHouse, Kafka, ZooKeeper, Redis, Postgres and MinIO. PostHog's architecture page describes Kafka as the message bus between ingestion and storage, with ClickHouse, Postgres, Redis and blob storage behind it.

What self-hosting Lyraflow means

Self-hosted is the whole product rather than a reduced edition of one, because there is no hosted edition to reserve features for. Every screen and endpoint in the documentation is in the install.

The install is three containers: the app, ClickHouse for events and Postgres for identity. A fourth, Caddy, is added when you give the installer a domain and want it to serve HTTPS. There is no message queue, no cache server and no object store. Releases are tagged and each has a changelog entry; upgrading is a backup, a rebuild and a restart, and migrations run on boot.

What Lyraflow cannot give you is PostHog's evidence at volume. There is no published minimum machine and no event volume it has been measured at. Those numbers will be published when they have been measured, and not before.

The licences, stated carefully

PostHog's repository LICENSE file puts everything outside the ee/ directory under the MIT licence, which is an open source licence in the full OSI sense. Everything inside ee/ is under the PostHog Enterprise license, under which production use needs an agreement with PostHog and a valid Enterprise license, and redistribution is not allowed. PostHog's self-hosting page describes the self-hosted deployment as MIT licensed and does not mention ee/. We have not checked whether code from ee/ ships in the self-hosted images, so this page does not claim it either way.

Lyraflow is fair-code under the Sustainable Use License, and it is not open source. The source is always visible, and you may self-host it, use it and modify it for your own business, including commercially. You may not sell Lyraflow as a hosted service to other people. On freedom to redistribute, PostHog's MIT code gives you more than Lyraflow does.

What Lyraflow is built around

The part of Lyraflow that has had the most care is identity. An anonymous visitor who signs up two weeks later is one person, with their earlier events attached. If two people share a device, each event goes to whoever was signed in at that moment, not to whoever used it last. Every screen reads that same stitched identity. And deleting a person hides them from every read from the moment the request is accepted, not when the purge finishes.

Which to choose

Choose PostHog if you need session replay, feature flags, experiments or surveys, if you want a hosted service, or if you need something further along than Lyraflow is. Choose Lyraflow if you want product analytics alone, on your own server, from a small stack you can read end to end, and you are comfortable running software this early. The live demo shows the whole of it in a few minutes.

Sources

Every PostHog page and file this comparison was checked against, on 22 September 2026:

Lyraflow's side is its own documentation and source.