trench

The premium Open Source alternative to Segment

🎯 Best for:Startups and scale-ups needing high-volume event tracking without the SaaS tax.

What is trench?

Replaces managed event pipelines like Segment or Mixpanel. Built on ClickHouse and Kafka for high-throughput real-time data ingestion and processing in a single Docker image.

Tech Stack
TypeScriptAnalytics & BI

Why trench?

  • Real-time processing
  • ClickHouse performance
  • Simple Docker deployment

Limitations

  • Requires ClickHouse management
  • Limited destination integrations
  • Newer ecosystem
3/5/2026
Last Update
62
Forks
5
Issues
MIT
License
Financial Leak Detected

Stop the "SaaS Tax"

Your team could be burning cash. Switching to trench instantly boosts your runway.

Competitor Cost
-$1,440
/ year (est. based on Segment)
Self-Hosted
$0
/ year
Team Size10 Users
150+
SAVE 100%

Community Discussion

Comments