FrigadeHQ/trench
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 product. observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 76
- Release rhythm 40
- Longevity 50
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 702
- days_rel: 637
- days_push: 149
- n_releases_24m: 23
Adoption not part of the score
1661 stars · 65 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Trench is an open-source event tracking and analytics infrastructure built on Apache Kafka and ClickHouse, shipped as a single production-ready Docker image. It is Segment API compliant (Track, Identify, Group), processes thousands of events per second, and supports real-time SQL/REST queries and webhook destinations.
Use cases
- self-host product analytics event tracking
- replace a slow Postgres events table with ClickHouse-backed tracking
- build custom analytics dashboards like Google Analytics with Grafana
- store and query LLM/RAG usage events
- build an observability or analytics platform on tracked events
- forward tracked events to other destinations via webhooks
When to choose
- you need high-throughput, real-time event tracking without managing Kafka and ClickHouse separately
- you want Segment API compatibility with full data ownership and GDPR compliance
- your relational database events table has become a scaling bottleneck
When to avoid
- you need a turnkey hosted dashboard with built-in visualizations like PostHog or Plausible
- your event volume is small enough for a simple database table
- you cannot run Docker or manage self-hosted infrastructure
Facets
service · maturity active
analytics streaming webhook http-server api-framework analytics big-data developer-tools self-hosted self-hosted cloud event-tracking clickhouse kafka segment-api product-analytics gdpr-compliant real-time-analytics data-engineering docker nodejs web-server
4 sources
- readme: https://github.com/FrigadeHQ/trench · fetched 2026-08-28 · e24950a4a910
- homepage: https://trench.dev · fetched 2026-08-29 · d036ee38f013
- site_page: https://www.trench.dev/about · fetched 2026-08-29 · 1ccc21f63574
- site_page: https://docs.trench.dev · fetched 2026-08-29 · 3eb5c3a86c48
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| FrigadeHQ/trench | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="FrigadeHQ/trench")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem