About this project

Dub is an open-source link attribution platform covering short links, conversion tracking and affiliate programs. According to the README, it powers over 100M clicks and 2M links monthly and is used by marketing teams at companies such as Twilio, Buffer, Framer, Perplexity, Vercel and Laravel. Core capabilities described: - Short link management - Conversion tracking and analytics - Affiliate/partner programs Tech stack listed in the README: - Next.js (framework), TypeScript (language), Tailwind (CSS) - Prisma (ORM), PlanetScale (database), Upstash (Redis) - Tinybird (analytics), NextAuth.js (auth), BoxyHQ (SAML/SSO) - Turborepo (monorepo), Stripe (payments), Resend (emails), Vercel (deployments) Self-hosting: the README points to a self-hosting guide for greater control over data and design. Contributing: the project welcomes issues and pull requests, and provides a local development guide. Recommended versions are Node v23.11.0 and pnpm 9.15.9. Common issues include missing database tables (resolved with pnpm prisma:push) and build problems (resolved by matching recommended versions and clearing node_modules, .next and .turbo before reinstalling). A dev seed script can populate development data, optionally truncating the database first with a confirmation prompt. License: Dub Technologies, Inc. follows an open-core model. The core (99%) is licensed under AGPLv3, while the remaining 1% under the /ee Enterprise Edition directory requires a commercial license, aimed at larger organizations needing enterprise features.