{"adoption": {"forks": 65, "observed_at": "2026-08-28T04:05:18.572881+00:00", "stars": 1661}, "canonical_url": "https://ross.abutalabs.com/products/trench", "card": {"archived": false, "artifact_type": "service", "description": "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.", "domain": ["analytics", "big-data", "developer-tools", "self-hosted"], "enriched": true, "function": ["analytics", "streaming", "webhook", "http-server", "api-framework"], "health_score": 76, "homepage": "https://trench.dev", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["FrigadeHQ/trench"], "name": "FrigadeHQ/trench", "platform": ["self-hosted", "cloud"], "pushed_at": "2026-04-06T23:11:33+00:00", "repo": "FrigadeHQ/trench", "stars": 1661, "tags": ["event-tracking", "clickhouse", "kafka", "segment-api", "product-analytics", "gdpr-compliant", "real-time-analytics", "data-engineering", "docker", "nodejs", "web-server"], "topics": ["clickhouse", "clickhouse-database", "clickhouse-server", "kafka", "open-source", "tracking", "tracking-events", "nodejs", "product-analytics", "kafka-engine", "event-replay", "analytics", "matomo", "matomo-analytics", "plausible-analytics", "posthog", "dashboard", "dashboards", "llm", "rag"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/trench", "repo": "FrigadeHQ/trench", "role": "main", "score": 58}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:18.572881+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:44:36.082712+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e24950a4a91026ee0423d6c749f88681b1a6090fed4b25dd117c350ea21b757b", "fetched_at": "2026-08-28T04:05:18.572881+00:00", "kind": "readme", "missing": false, "url": "https://github.com/FrigadeHQ/trench"}, {"content_hash": "d036ee38f013bd3b534670454c1b4c86b0c218c91d8741993292e88152f40a9b", "fetched_at": "2026-08-29T11:17:19.043552+00:00", "kind": "homepage", "missing": false, "url": "https://trench.dev"}, {"content_hash": "1ccc21f6357480c6d485189edadf736d986f9ae2ccb29617c99108e0270eb98d", "fetched_at": "2026-08-29T11:17:19.052643+00:00", "kind": "site_page", "missing": false, "url": "https://www.trench.dev/about"}, {"content_hash": "3eb5c3a86c48559068ad34f5411741c223c3833adab1f241e2752f0ff0a2c657", "fetched_at": "2026-08-29T11:17:19.054773+00:00", "kind": "site_page", "missing": false, "url": "https://docs.trench.dev"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 76, "longevity": 50, "rhythm": 40}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 702, "days_push": 149, "days_rel": 637, "gap_med": 0.0, "n_releases_24m": 23}, "score": 58, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}