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

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