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 34 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 46 @rollup/plugin-alias ^24.0.1 outdated 46 @rollup/plugin-alias ^15.0.1 outdated 46 @rollup/plugin-alias ^1.0.0 outdated 47 cross-env ^10.1.0 48 bcrypt ^6.0.0 48 boring-avatars ^2.0.4 48 class-validator ^0.15.1 48 countries-and-timezones ^3.9.0 48 Vaul ^1.1.2 49 class-transformer ^0.5.1 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 56 tslib ^2.5.0 57 reflect-metadata ^0.2.2 58 i18next-browser-languageDetector ^8.2.1 59 @nestjs-modules/mailer ^2.3.7 59 isbot ^5.1.43 59 node-fetch ^3.3.2 62 D3.js ^7.9.0 62 Handlebars.js ^4.7.9 63 i18next-http-backend ^4.0.0 63 react-qr-code ^2.2.0 64 Sonner ^2.0.7 68 nestjs-i18n ^10.8.4 69 JSZip ^3.10.1 70 csv-parse ^6.2.1 outdated 74 dotenv ^17.2.3 74 node-jwks-rsa ^4.1.0 75 NumberFlow (React) ^0.6.0 75 Radix UI ^1.1.17 75 Radix UI ^1.2.10 76 Lodash ^4.18.1 76 maxmind ^5.0.6 76 react-i18next ^17.0.8 78 Day.js ^1.11.21 78 otplib ^13.4.1 79 @nestjs/jwt ^11.0.2 outdated 79 Motion ^12.40.0 outdated 80 Ink ^5.2.0 outdated 80 web-push ^3.6.7 82 RxJS ^7.8.2 82 tldts ^7.4.3 83 class-variance-authority ^0.7.1 84 @nestjs/bullmq ^11.0.4 outdated 84 @nestjs/passport ^11.0.5 outdated 84 @nestjs/schedule ^6.1.3 outdated 84 sanitize-html ^2.17.5 85 i18next ^26.3.1 86 @nestjs/config ^4.0.4 outdated 86 NestJS Terminus ^11.1.1 outdated 86 Express ^5.2.1 86 react-hotkeys-hook ^5.3.2 86 tsx ^4.19.4 87 fast-xml-parser ^5.9.3 87 Multer ^2.2.0 87 tailwind-merge ^3.6.0 88 Autoprefixer ^10.5.0 88 Leaflet ^1.9.4 88 TypeORM ^0.3.27 outdated 89 Google Gen AI SDK ^2.9.0 89 NestJS TypeORM ^11.0.2 outdated 90 Tailwind CSS ^4.3.1 90 Tailwind CSS ^4.3.1 90 Fumadocs Core ^16.10.5 90 Nodemailer ^9.0.1 outdated 90 Oxlint ^1.70.0 90 Tailwind CSS ^4.3.1 91 TanStack Virtual (React) ^3.14.3 91 BullMQ ^5.79.0 outdated 91 rollup ^2.79.1 outdated 91 Zod ^4.4.3 92 AI SDK ^3.0.73 outdated 92 @clickhouse/client ^1.14.0 92 TanStack Query ^5.101.2 92 AI SDK ^6.0.208 outdated 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 94 nest-cli ^11.0.23 outdated 94 @nestjs/swagger ^11.4.4 outdated 94 sentry-cli ^3.5.1 94 jest ^30.4.2 94 jest ^30.4.1 94 MySQL2 ^3.15.3 94 Vite ^8.0.16 95 Sentry JavaScript (@sentry/browser) ^10.59.0 95 Sentry JavaScript (@sentry/browser) ^10.59.0 95 Marked ^18.0.5 95 React Router ^8.0.1 95 Socket.IO ^4.8.3 96 Next.js ^16.2.9 97 google-api-nodejs-client ^6.0.1 outdated 97 TypeScript ^5.9.3 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

Search