finds.dev

Swetrix/swetrix

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

View on GitHubHomepage ↗

★ 1,050TypeScriptAGPL-3.0updated Jul 2026

// compared · The Best Self-Hosted Analytics ToolsSee the alternatives →

// the take

Swetrix is a self-hostable web analytics platform built on NestJS + ClickHouse + MySQL + Redis. It's aimed at developers and small teams who want GDPR-compliant traffic stats without Google Analytics, and who want error tracking and performance monitoring in the same tool rather than paying for three separate products.

ClickHouse as the analytics store is the right call — aggregating millions of events without sampling is exactly what it's designed for, and Plausible made the same bet. The tracker script being a separate package with its own release workflow means you can pin the script version independently of the backend. The NestJS monorepo splits CE and cloud-only code cleanly, so the community edition isn't just a crippled cloud build with flags — the split is structural. Data import mappers for GA4, Fathom, Plausible, Umami, and Simple Analytics cover the realistic migration paths without requiring you to write your own ETL.

At 1,050 stars and 61 forks, the community is thin — if you hit a ClickHouse schema edge case or a Redis session bug, you're probably debugging it yourself. Several features listed in the README (session replays, AI chat, A/B experiments, revenue analytics, alerts) are cloud-only with no self-hosted path, which makes the CE feel like a trial more than a real product. The three-database requirement (MySQL for accounts, ClickHouse for events, Redis for caching) raises the operational floor considerably; if one goes down you get partial failures that are non-obvious to diagnose. No mention of horizontal scaling strategy for the NestJS API layer — the ClickHouse backend can handle the write volume, but the app tier isn't discussed.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,050
Forks
61
Language
TypeScript
License
AGPL-3.0
Last commit
1 Jul 2026

// nearby

If swetrix isn't quite it.

All repos →