Back to gallery
PostHog/posthog on GitHub — :hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
PostHog
Built byPostHog/

posthog

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

Stars
39.5k
Forks
3.3k
Watchers
0
Open issues
3476
PythonNOASSERTION main Updated 2 months ago~16 stars/day lifetime
Editor's take

Open-source product analytics. ~21k stars. Self-hostable or managed. Combines analytics, session replay, feature flags, A/B testing in one platform. Generous free tier — most early-stage products never hit the paid threshold.

Use this if

You want product analytics + session replay + feature flags in one tool without paying GA-replacement prices.

Skip if

You just want simple page-view counts — Plausible is lighter.

Analytics
Topics
analyticspythonreactjavascripttypescriptab-testingexperimentsfeature-flagssession-replayai-analyticscdpdata-warehouseproduct-analyticssurveysweb-analytics
Quick install
# Self-hosted — clone + run with Docker (most projects ship a docker-compose.yml)
git clone https://github.com/PostHog/posthog
cd posthog
docker compose up -d

# Or follow the official deploy guide in the README below.

Inferred from Python · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 24 Jan 2020