![Dub – an open-source link management tool for modern marketing teams to create, share, and track short links.](https://private-user-images.githubusercontent.com/28986134/270145546-8f70a87f-4f13-426a-9785-a47f77433edd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNzEyMzEsIm5iZiI6MTcyNDE3MDkzMSwicGF0aCI6Ii8yODk4NjEzNC8yNzAxNDU1NDYtOGY3MGE4N2YtNGYxMy00MjZhLTk3ODUtYTQ3Zjc3NDMzZWRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDE2MjIxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxZDk0OGE5ZDM3MTEzYWIwNDliNWU1YTQ5Mzg0MTlhOWY3MzYxNDQ0ZWI0MWU1M2FkOTc5Y2U4ODY1Y2FkMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.X-NpepWjQMaaZJcKc9lil7WWbgGz3NXU0BcPfgsFj7k)
An open-source link management tool for modern marketing teams to create, share, and track short links.
Introduction · Features · Local Development · Tech Stack · Contributing
Dub is an open-source link management tool for modern marketing teams to create, share, and track short links.
To develop Dub locally, you will need to clone this repository and set up all the env vars outlined in the .env.example
file.
Once that's done, you can use the following commands to run the app locally:
pnpm i
pnpm build
pnpm dev
We're planning to add a proper, well-documented self-hosting guide for Dub soon – stay tuned!
- Next.js – framework
- Typescript – language
- Tailwind – CSS
- Upstash – redis
- Tinybird – analytics
- PlanetScale – database
- NextAuth.js – auth
- BoxyHQ – SSO/SAML
- Turborepo – monorepo
- Stripe – payments
- Vercel – deployments
We love our contributors! Here's how you can contribute:
- Open an issue if you believe you've encountered a bug.
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.
Inspired by Plausible, Dub is open-source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can find it here.