All 115 Dependencies

Every package Swetrix depends on, ranked by repo health score.

Swetrix is an open-source, GDPR-compliant web analytics platform that replaces Google Analytics without using cookies, consent banners, or cross-device tracking. It captures pageviews, traffic sources, user sessions, UTM campaigns, funnels, and geolocation — anonymising all data server-side and storing it entirely on infrastructure you control.

Beyond traffic stats, Swetrix bundles error tracking, real-user performance monitoring (TTFB, DNS, TLS, render times), and session replays into the same product. Custom events and goals let you track conversions, sales, and any key user action with your own semantics, while feature flags and A/B experiments (Cloud) let you ship and test incrementally.

The backend is a NestJS monorepo with two editions — a Cloud build with the full feature set and a Community Edition (CE) for self-hosters — both sharing the same core analytics engine backed by ClickHouse for event storage and MySQL for relational data. The lightweight JavaScript tracker (~5 KB) integrates with over 20 frameworks including Next.js, WordPress, and Shopify via official packages.

Swetrix has been bootstrapped and open-source since 2021, hosted on Hetzner in Germany, and funded entirely by cloud subscriptions. The self-hosted CE ships the same core analytics pipeline as the cloud offering, with premium features like session replays, revenue analytics, and AI-powered data queries reserved for the managed tier.

22 passport-headerapikey ^1.2.2 35 sns-payload-validator ^2.1.0 40 php-serialize ^5.1.3 42 Phosphor Icons React ^2.1.10 42 clsx ^2.1.1 42 rimraf ^6.1.3 43 passport ^0.7.0 43 passport-jwt ^4.0.1 44 crypto-js ^4.2.0 44 fflate ^0.8.3 47 @rollup/plugin-alias ^24.0.1 outdated 47 @rollup/plugin-alias ^15.0.1 outdated 47 @rollup/plugin-alias ^1.0.0 outdated 47 cross-env ^10.1.0 48 bcrypt ^6.0.0 48 Vaul ^1.1.2 49 boring-avatars ^2.0.4 49 class-transformer ^0.5.1 49 class-validator ^0.15.1 49 countries-and-timezones ^3.9.0 50 Tailwind CSS Forms ^0.5.11 51 tailwindcss-typography ^0.5.20 51 cookie-parser ^1.4.7 51 jsonwebtoken ^9.0.3 53 d3-scale ^4.0.2 55 Headless UI ^2.2.10 57 i18next-browser-languageDetector ^8.2.1 57 tslib ^2.5.0 58 reflect-metadata ^0.2.2 59 @nestjs-modules/mailer ^2.3.7 59 node-fetch ^3.3.2 61 isbot ^5.1.43 63 D3.js ^7.9.0 63 i18next-http-backend ^4.0.0 63 JSZip ^3.10.1 65 Handlebars.js ^4.7.9 65 nestjs-i18n ^10.8.4 65 Sonner ^2.0.7 66 react-qr-code ^2.2.0 68 Lodash ^4.18.1 72 csv-parse ^6.2.1 outdated 75 dotenv ^17.2.3 76 NumberFlow (React) ^0.6.0 76 Radix UI ^1.1.17 76 Radix UI ^1.2.10 76 react-i18next ^17.0.8 77 node-jwks-rsa ^4.1.0 77 maxmind ^5.0.6 77 otplib ^13.4.1 77 web-push ^3.6.7 78 @nestjs/jwt ^11.0.2 outdated 78 Day.js ^1.11.21 78 Ink ^5.2.0 outdated 78 Motion ^12.40.0 outdated 80 tldts ^7.4.3 83 @nestjs/bullmq ^11.0.4 outdated 83 @nestjs/passport ^11.0.5 outdated 83 @nestjs/schedule ^6.1.3 outdated 83 class-variance-authority ^0.7.1 83 RxJS ^7.8.2 84 sanitize-html ^2.17.5 85 @nestjs/config ^4.0.4 outdated 85 NestJS Terminus ^11.1.1 outdated 86 Autoprefixer ^10.5.0 86 Express ^5.2.1 86 fast-xml-parser ^5.9.3 86 Multer ^2.2.0 87 i18next ^26.3.1 87 Leaflet ^1.9.4 87 react-hotkeys-hook ^5.3.2 88 Google Gen AI SDK ^2.9.0 88 NestJS TypeORM ^11.0.2 outdated 88 TanStack Virtual (React) ^3.14.3 88 tailwind-merge ^3.6.0 88 tsx ^4.19.4 88 TypeORM ^0.3.27 outdated 89 ioredis ^5.11.1 outdated 89 Nodemailer ^9.0.1 outdated 90 Tailwind CSS ^4.3.1 90 Tailwind CSS ^4.3.1 90 Fumadocs Core ^16.10.5 90 Oxlint ^1.70.0 90 rollup ^2.79.1 outdated 90 Tailwind CSS ^4.3.1 90 Zod ^4.4.3 91 @clickhouse/client ^1.14.0 91 BullMQ ^5.79.0 outdated 91 Socket.IO ^4.8.3 92 AI SDK ^3.0.73 outdated 92 TanStack Query ^5.101.2 92 AI SDK ^6.0.208 outdated 92 Marked ^18.0.5 92 postcss ^8.5.15 93 nest-cli ^11.0.23 outdated 93 @nestjs/swagger ^11.4.4 outdated 93 sentry-cli ^3.5.1 93 Vite ^8.0.16 94 NestJS ^11.1.27 outdated 94 NestJS ^11.1.27 outdated 94 NestJS ^11.1.27 outdated 94 NestJS ^11.1.27 outdated 94 NestJS ^11.1.27 outdated 94 Sentry JavaScript (@sentry/browser) ^10.59.0 94 Sentry JavaScript (@sentry/browser) ^10.59.0 94 jest ^30.4.2 94 jest ^30.4.1 94 MySQL2 ^3.15.3 94 React Router ^8.0.1 96 google-api-nodejs-client ^6.0.1 outdated 96 Next.js ^16.2.9 96 TypeScript ^5.9.3 outdated 97 React ^18.3.1 outdated 97 React DOM ^19.2.7 98 Google Cloud Storage ^6.1.0 outdated 98 Google Cloud Storage ^10.7.0 outdated

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search