PostHog
Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap, HotJar, Optimizely).
- GitHub stars
- 40,247
- License
- MIT
- Latest release
- desktop-v0.61.686
13 October 2026 - Last commit
- 12 October 2026
- Runs on
- Python
Commits per month, last 12 months
37,079 commits
Replaces
Paid products PostHog can stand in for.
How to self-host PostHog
PostHog runs on Python. The project's own install guide is the place to start; most people put it on a small server with Docker and a reverse proxy for HTTPS.
- Get a server: a home server, a VPS, or a managed app host.
- Install it the way the project's docs describe, usually with Docker Compose.
- Put it behind HTTPS and set up backups before you add real data.
- Update it regularly. Watch the project's releases.
Similar apps
- Superset
Modern data exploration and visualization platform.
- Metabase
Easy way for everyone in your company to ask questions and learn from data.
- Umami
Simple, fast, privacy-focused alternative to Google Analytics.
- Postiz
Schedule posts, track the performance of your content, and manage all your social media accounts in one place (Alternative to Buffer, Hootsuite, Sprout Social).
- Netron
Visualizer for neural network and machine learning models.
- Plausible Analytics
Simple, lightweight (< 1 KB) and privacy-friendly web analytics.
Questions
Is PostHog free?
Yes. PostHog is open source under the MIT license, so you can use it without paying for a license. You pay only for the server it runs on.
Can I self-host PostHog?
Yes. PostHog runs on Python. Follow the install guide in the project's documentation, or use a host that installs it for you.
What does PostHog replace?
People use PostHog instead of Amplitude, Mixpanel, Adobe Analytics or Segment.
Is PostHog still maintained?
The last change to PostHog's code was on 12 October 2026, with 37079 commits in the last 12 months.
Topics
App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.