analytics

trench: Deploy Scalable Analytics Stack in One Docker Image

Launch product dashboards, LLM RAGs, or observability tools instantly with trench’s ClickHouse‑Kafka‑Node.js stack. Ideal for founders needing fast, production‑ready event tracking. 1.7k+ GitHub stars.

From the repo · “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.”

intermediate⏱ 30 minutes💵 Free (self-hosted)
1,673 stars+1★ this week66 forksTypeScriptGuide quality 9/10 · reviewed Oct 12Updated 4/6/2026100% free · open source
What it is

Use Trench to build product analytics dashboards by tracking events.

Real use case example

"A founder can quickly set up Trench to track user behavior, create a real-time dashboard to monitor customer engagement, and see how many users are clicking on each feature within 30 minutes of work."

Best insideClaude DesktopContinue
When to use it
  • •You need to track user interactions with your product to inform development decisions
  • •You want to build a custom analytics dashboard to visualize key metrics
  • •You're looking for a scalable and production-ready analytics infrastructure
Ready-to-paste prompt
docker run -d --name trench -p 9000:9000 frigatehq/trench:latest
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/trench && curl -fsSL https://workflowstacks.com/api/skills/trench/claude-skill -o ~/.claude/skills/trench/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How trench: Deploy Scalable Analytics Stack in One Docker Image works
Codeflow
Free to inspect

Trench: Deploy Scalable Analytics Stack in One Docker Image is a small TypeScript project (~2.7k lines across 63 code files, plus 9 test files). Setup is light: install Node.js, run one command. Last commit 8 months ago, MIT license, has a test suite.

Size
Small codebase
~2.7k lines · 63 code files · 23 min skim
Setup
Light setup
Install Node.js, run one command.
Runs on
Node.js
No API keys detected
TypeScript 79%MDX 15%JavaScript 2%Shell 2%Dockerfile 2%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    package.json
    Dependencies and the commands it exposes
  3. 3
    apps/trench/src/main.ts
    Inside apps/trench/ — the main logic begins here
What's in each folder
apps/trench/Core code — the actual logic82 files
packages/Sub-packages / plugins21 files
apps/docs/Documentation31 files
img/Images & static assets5 files
.changeset/Tool / agent settings2 files
.github/CI / automation (GitHub Actions)2 files
READMEHas testsDocumentedCI checksMIT licenseLast update 8 mo ago
Quick Actions
Details
Creator
FrigadeHQ
Language
TypeScript
Category
analytics
Published
9/30/2024

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/trench.svg)](https://workflowstacks.com/skills/trench?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.

Ready-to-run pack · one-time $29

Competitor Watch

Get emailed the moment a rival changes their price or pitch.

Includes the tested workflow and a written setup playbook. Needs: No extra API — just watches the pages you list.

See what you get