> /v1/alternatives/segment
Open source alternatives to Segment[009]
Segment collects customer events once and fans them out to analytics, marketing and warehouse destinations with identity resolution. Below are 9 self-hostable open source alternatives, ranked by GitHub popularity.
PostHog
Open-source product analytics, session recording, feature flagging and A/B testing
★ STARS
34.4k
⑂ FORKS
2.7k
Cube
Cube Core is open-source semantic layer for AI, BI and embedded analytics
★ STARS
19.9k
⑂ FORKS
2.0k
Rybbit
Open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
★ STARS
12.1k
⑂ FORKS
653
CocoIndex
Incremental engine for long horizon agents Star if you like it!
★ STARS
9.1k
⑂ FORKS
671
Mage
Build, run, and manage data pipelines for integrating and transforming data.
★ STARS
8.7k
⑂ FORKS
963
CloudQuery
Data pipelines for cloud config and security data. Build cloud asset inventory, CSPM, FinOps, and vulnerability management solutions. Extract from AWS, Azure, GCP, and 70+ cloud and SaaS sources.
★ STARS
6.4k
⑂ FORKS
544
Jitsu
Capture Event Data into Your Stack
★ STARS
4.8k
⑂ FORKS
350
Litlyx
Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative to Google Analytics, MixPanel, Plausible, Umami & Matomo.
★ STARS
1.7k
⑂ FORKS
112
Trench
Open-Source Analytics Infrastructure. A single production-ready Docker image built on ClickHouse, Kafka, and Node.js for tracking events. Easily build product analytics dashboards, LLM RAGs, observability platforms, or any other analytics…
★ STARS
1.6k
⑂ FORKS
62
// EDITOR'S TAKE
Jitsu is the closest fit, since it is built specifically to capture events at the edge and stream them into your warehouse and downstream tools, which is Segment's core job. PostHog captures the same events but keeps them inside its own analytics product rather than acting as a neutral pipe, and Trench is the option if your volume is high enough that a ClickHouse and Kafka backend is the point.
// FREQUENTLY ASKED
What is the best open source Segment alternative?
PostHog is the most popular open source Segment alternative by GitHub stars (34,351 stars). The other 8 options are ranked above.
Are these Segment alternatives self-hostable?
Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.
Are they free?
All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.
// PART OF THESE COLLECTIONS