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 29 sns-payload-validator ^2.1.0 39 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 45 boring-avatars ^2.0.4 47 bcrypt ^6.0.0 47 cross-env ^10.1.0 47 jsonwebtoken ^9.0.3 48 Vaul ^1.1.2 48 class-transformer ^0.5.1 48 class-validator ^0.15.1 49 Tailwind CSS Forms ^0.5.11 49 cookie-parser ^1.4.7 49 tailwindcss-typography ^0.5.20 52 d3-scale ^4.0.2 53 isbot ^5.1.43 53 reflect-metadata ^0.2.2 54 Headless UI ^2.2.10 54 react-qr-code ^2.2.0 55 countries-and-timezones ^3.9.0 57 NumberFlow (React) ^0.6.0 57 nivo ^0.99.0 58 node-fetch ^3.3.2 61 Sonner ^2.0.7 63 Handlebars.js ^4.7.9 63 i18next-browser-languageDetector ^8.2.1 63 tslib ^2.5.0 64 JSZip ^3.10.1 65 Lodash ^4.18.1 68 node-jwks-rsa ^4.1.0 70 web-push ^3.6.7 72 i18next-http-backend ^4.0.0 73 D3.js ^7.9.0 74 @rollup/plugin-alias ^24.0.1 outdated 74 @rollup/plugin-alias ^15.0.1 outdated 74 @rollup/plugin-alias ^1.0.0 outdated 75 maxmind ^5.0.6 75 nestjs-i18n ^10.8.4 76 Day.js ^1.11.21 78 Radix UI ^1.1.17 78 Radix UI ^1.2.10 78 csv-parse ^6.2.1 outdated 78 dotenv ^17.2.3 outdated 79 @nestjs/jwt ^11.0.2 outdated 79 Motion ^12.40.0 outdated 79 RxJS ^7.8.2 80 @nestjs-modules/mailer ^2.3.7 outdated 81 Autoprefixer ^10.5.0 81 fast-xml-parser ^5.9.3 81 tldts ^7.4.3 82 class-variance-authority ^0.7.1 82 react-i18next ^17.0.8 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 83 react-hotkeys-hook ^5.3.2 84 @nestjs/bullmq ^11.0.4 outdated 85 @nestjs/config ^4.0.4 outdated 85 NestJS Terminus ^11.1.1 outdated 85 sanitize-html ^2.17.5 85 tsx ^4.19.4 86 Multer ^2.2.0 87 Ink ^5.2.0 outdated 88 NestJS TypeORM ^11.0.2 outdated 88 TypeORM ^0.3.27 outdated 89 Google Gen AI SDK ^2.9.0 89 Leaflet ^1.9.4 89 Nodemailer ^9.0.1 outdated 89 tailwind-merge ^3.6.0 90 Express ^5.2.1 90 Fumadocs Core ^16.10.5 90 Oxlint ^1.70.0 90 Tailwind CSS ^4.3.1 90 Tailwind CSS ^4.3.1 90 Tailwind CSS ^4.3.1 90 i18next ^26.3.1 91 @clickhouse/client ^1.14.0 91 BullMQ ^5.79.0 outdated 91 TanStack Virtual (React) ^3.14.3 91 Zod ^4.4.3 91 rollup ^2.79.1 outdated 92 AI SDK ^3.0.73 outdated 92 AI SDK ^6.0.208 outdated 92 Socket.IO ^4.8.3 92 TanStack Query ^5.101.2 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 ioredis ^5.11.1 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 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