PostHog
PostHog is the leading platform for building self-driving products.
vendor-statedGitHub description
In the 7 days to PostHog gained +163 GitHub stars, to 41.4k. Maintainer health 94/100, last commit on .
- What it does
- PostHog is a product platform combining product and web analytics, session replay and heatmaps, error tracking and logs, feature flags and experiments, surveys, a data warehouse with data pipelines, and AI observability, storing the data so people and AI agents can query and act on it. PostHog/posthog README
- Who it suits
- Teams building software products who want analytics, replays, errors and experiments in one place, queryable by both people and AI agents. PostHog/posthog README
- Watch for
- Self-hosted PostHog is a hobby deployment with no customer support or guarantees that the project expects users to outgrow as event volume rises; code in the ee directory has its own license. PostHog/posthog README
- Repository
- PostHog/posthog
- Licence
- MITLICENSE read 2026-10-24 (editorial)changed 2020-08-14
- Language
- Python
- Contributors
- 391
- Forks
- 3,776
- Last commit
Star history
- earlier
- last 7 days
- latest reading
How hard to run?
- Deploy
- Compose or k8s
- Minimum RAM
- 16 GBapp and database, stated in posthog.com docs, checked
- Server, our estimate
- about $115.20 a monththe smallest DigitalOcean Basic Droplet that covers that minimum ($96.00), plus 20% for weekly backups · prices read 2026-11-26That is a server for PostHog alone: on a server you already run, with memory to spare, it adds little or nothing to the bill.
OpenSSF Scorecard
3.9/ 10
OpenSSF’s automated checks of how PostHog/posthog is run: code review, branch protection, pinned dependencies, a security policy and more, 10 of 14 checks scored. It scores practices, not vulnerabilities in PostHog itself.
measuredOpenSSF Scorecard v5.7.0 · scanned 2026-11-30 · commit 3eb0a35The 14 checks, with OpenSSF’s reasons
- Binary-Artifacts0 / 10binaries present in source code
- Branch-Protection4 / 10branch protection is not maximal on development and all release branches
- CII-Best-Practices0 / 10no effort to earn an OpenSSF best practices badge detected
- Code-Review9 / 10Found 29/30 approved changesets -- score normalized to 9
- Dangerous-Workflown/ano workflows found
- Fuzzing0 / 10project is not fuzzed
- License9 / 10license file detected
- Maintained10 / 1030 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
- Packagingn/apackaging workflow not detected
- Pinned-Dependencies2 / 10dependency not pinned by hash detected -- score normalized to 2
- SASTn/aOpenSSF’s scanner hit an error on this check in this scan, so it was not scored
- Security-Policy4 / 10security policy file detected
- Signed-Releases0 / 10Project has not signed or included provenance with any releases.
- Token-Permissionsn/aNo tokens found
The full scan on scorecard.dev · read from api.securityscorecards.dev 2026-12-04 · Tools Trends is not affiliated with OpenSSF
Licence history
commit
MIT to MIT for the core + PostHog enterprise licence for ee/
“All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".”
A summary, not legal advice: the licence file in the project’s repository is what applies.
Compared with
- PostHog vs Mixpanelopen source vs SaaSPostHog runs on your own server for about $115.20 a month; Mixpanel charges by usage.41.4k ★ · hosted
- PostHog vs Plausiblehead to headPostHog leads on scale and momentum: 41.4k stars, +0.4% in the 7 days to 2026-12-05.41.4k · 30k ★+0.4% · +0.2% 7d
Open-source alternatives to Mixpanel
- PostHog this page41.4k ★ · MITself-hostHardCompose or k8s, 16 GBapp and database, stated in posthog.com docs, checked▲up 0.4% over 7 days
- Know another open-source Mixpanel alternative?submit it · free listing, never automatic
Similar analytics tools
- Umami40.6k ★ · MIT▲up 0.4% over 7 days
- Metabase50.8k ★ · AGPL-3.0▲up 0.3% over 7 days
- Plausible30k ★ · AGPL-3.0PostHog vs Plausible ▲up 0.2% over 7 days
- Rybbit13.4k ★ · AGPL-3.0▲up 0.1% over 7 days
PostHog’s licence, in short
Is PostHog open source?
Yes. PostHog's source code is published under MIT, a permissive open-source licence approved by the Open Source Initiative. Its LICENSE file: “Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.” and “All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".” (PostHog/posthog/blob/master/LICENSE, read 2026-10-24). Every tracked tool’s licence, with the same sources: Licences.
Is PostHog free?
PostHog is released under the MIT licence, so it is free to self-host.
What self-hosting leaves out, in PostHog’s own words: “All paid-plan features are Cloud-only.” (posthog.com/docs/self-host, read 2026-10-24).
Quoted from PostHog/posthog’s LICENSE file, read on 2026-10-24. Every tracked licence
Sources
- measured
- GitHub API, 6 times a day; as of 2026-12-05 00:37 UTC.
- security
- OpenSSF scan of 2026-11-30, read 2026-12-04.
- editorial
- Self-host profile and “In short”: the project’s own docs. Licence: its LICENSE file, 2026-10-24.
- estimate
- DigitalOcean prices, read 2026-11-26.
- vendor-stated
- Paid edition: PostHog’s self-hosting docs, 2026-10-24.
Rankings are never paid for. Star counts measure attention, not installs. Methodology
README badge and star chart
[](https://toolstrends.com/tools/posthog)<a href="https://toolstrends.com/tools/posthog"><picture><source media="(prefers-color-scheme: dark)" srcset="https://toolstrends.com/badge/posthog/history-dark.svg"><img alt="PostHog GitHub stars, tracked by Tools Trends" src="https://toolstrends.com/badge/posthog/history.svg" width="440"></picture></a>Click a snippet to select it; it links back to this page.