finds.dev← search

// the find

Swetrix/swetrix

★ 1,050 · TypeScript · AGPL-3.0 · updated Jul 2026

📈 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!

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.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →