Skip to content
appsgit

PostHog

Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar, Optimizely).

github.com/PostHog/posthog

GitHub stats

GitHub stars
40,156
Forks
3,477
Open issues
3,747
Commits, last 12 months
35,167
Last commit
Oct 6, 2026
Latest release
desktop-v0.61.621Oct 1, 2026
Created
Jan 23, 2020

Data from the GitHub API, refreshed daily.

About PostHog

Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar, Optimizely). PostHog is open source under the MIT license and written mainly in Python, so you can read the code, run it on your own hardware and keep full control of your data.

The project has 40,156 stars and 3,477 forks on GitHub, with 35,167 commits over the last year. It installs natively rather than through an official Docker image, so plan for a short manual setup.

Topics

  • analytics
  • python
  • react
  • javascript
  • typescript
  • ab-testing
  • experiments
  • feature-flags
  • session-replay
  • ai-analytics

Open-source alternative to

PostHog can replace these commercial products. Compare every option on each page.

Repository preview

PostHog repository previewPostHog/posthogOpen repository

FAQ

PostHog FAQ

Still curious? Email info@appsgit.com.

What is PostHog?

PostHog is a free, open-source app you can host on your own server, listed in our Analytics category. Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar, Optimizely). The source code lives at github.com/PostHog/posthog, where it has 40,156 stars.

Is PostHog free and open source?

Yes. PostHog is open-source software released under the MIT license, so you can self-host it at no cost. You only pay for the server it runs on, and some projects also offer an optional paid cloud plan.

Can I run PostHog with Docker?

PostHog does not list an official Docker image. It installs natively (Python), so follow the install steps in its README or look for a community-maintained container.

What are the best alternatives to PostHog?

Popular open-source alternatives to PostHog include Superset, Metabase and Umami. PostHog itself is a self-hosted alternative to Google Analytics and Metabase Cloud.

Is PostHog actively maintained?

The most recent commit to PostHog was on Oct 6, 2026 with 35,167 commits in the past twelve months. The latest release is desktop-v0.61.621, published Oct 1, 2026. Check the open issues on GitHub to gauge how quickly maintainers respond.