dubinc/dub.link
dubinc/dub.link has 25,131 GitHub stars and 3,396 forks. GitHot measured +6 stars in 24 hours and +57 in 7 days. Last checked 2026-11-08 03:14 UTC. Last push 2026-10-27.
The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
Measured star growth
- in 24h
- +6
- in 7 days
- +57
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalDub Links
The open-source link attribution platform.
Learn more »
Introduction ·
Tech Stack ·
Self-hosting ·
Contributing
Introduction
Dub Links is the modern, open-source link attribution platform for short links and conversion tracking.
Our platform powers 250M+ clicks and 12M+ links monthly, and is used by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
Tech Stack
- Next.js – framework
- TypeScript – language
- Tailwind – CSS
- Prisma – ORM
- Upstash – redis
- Tinybird – analytics
- PlanetScale – database
- NextAuth.js – auth
- BoxyHQ – SAML/SSO
- Turborepo – monorepo
- Stripe – payments
- Resend – emails
- Vercel – deployments
Self-Hosting
You can self-host Dub for greater control over your data and design. Read this guide to learn more.
Contributing
We love our contributors! Here's how you can contribute:
- Open an issue if you believe you've encountered a bug.
- Follow the local development guide to get your local dev environment set up.
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.
Recommended Versions
| Package | Version |
|---|---|
| node | v23.11.0 |
| pnpm | 9.15.9 |
Common Local Development Issues
The table <table-name> does not exist in the current database.- Runpnpm prisma:pushpush the state of the Prisma schema file to the database without using migrations files.- The project is not building correctly locally - verify your versions of
nodeandpnpmmatch the recommended versions above. Delete allnode_modules,.next, and.turbodirectories in theappsandpackagesdirectory. You may now reinstallnode_modulesby runningpnpm installand attempt to rebuild the project withpnpm build.
Dev Seed Script
This script seeds the database with development data for testing and development purposes.
Basic seeding (adds data without deleting existing data):
cd apps/web
pnpm run script dev/seed
Truncate database before seeding (deletes all existing data first):
cd apps/web
pnpm run script dev/seed --truncate
When using --truncate, the script will ask for confirmation before deleting any data.
Repo Activity
License
Dub Technologies, Inc. is a commercial open-source company, which means some parts of this open-source repository require a commercial license. The concept is called "Open Core" where the core technology (99%) is fully open source, licensed under AGPLv3 and the last 1% is covered under a commercial license ("/ee" Enterprise Edition) which we believe is entirely relevant for larger organisations that require enterprise features. Enterprise features are built by the core engineering team of Dub Technologies, Inc., which is hired full-time.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,754 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,332 starsreact/react
The library for web and native user interfaces.
252,411 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,631 stars