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