About Dub
Dub is an open-source platform for attributing results to links, aimed at marketing teams. It handles short links, tracking of conversions and affiliate programs, so teams can see which campaigns and partners drive results. It is written in TypeScript with Next.js, and the repository metadata lists the license as Other, so check the repository for the exact terms before reuse.
The README documents a stack that includes Tailwind CSS, Prisma, Upstash for Redis, Tinybird for analytics, PlanetScale for the database, NextAuth.js, BoxyHQ for SAML SSO, Turborepo, Stripe, Resend for email and Vercel for deployment. A self-hosting guide is provided for people who want more control over their data and design. Contributors can follow the local development guide, which lists recommended Node.js and pnpm versions and common fixes for build problems. The topics also mention ClickHouse and MySQL.
Key features
- Short links with branded domains
- Conversion tracking for campaigns
- Affiliate program management
- Analytics powered by Tinybird
- SAML SSO support through BoxyHQ
- Self-hosting guide in the documentation
Good fit for
- โTracking which campaigns drive signups
- โRunning a partner or affiliate program
- Tags
- link-shortener
- attribution
- analytics
- affiliate
- marketing
- nextjs
- typescript
- self-hosted
Dub: questions and answers
- What is Dub used for?
- Dub is an open-source tool that ties marketing results to links, covering short links, conversion tracking and partner programs, with a self-hosting option. It is a good fit for tracking which campaigns drive signups and running a partner or affiliate program.
- Is Dub open source?
- Yes. Dub is open source under a custom licence. Its source code is on GitHub at dubinc/dub and is written mainly in TypeScript.
- Is Dub free?
- Yes. Dub is open source, so the software itself is free to use under the terms of its own licence. A managed cloud version is also available, with paid plans from $90 per month.
- Can I self-host Dub?
- Yes. Dub can be self-hosted on your own server or infrastructure.
- What is Dub an alternative to?
- Dub is an open-source alternative to Bitly, Rebrandly, Short.io and impact.com. Other open-source alternatives to Bitly include YOURLS, Kutt and Sink.
- Is Dub actively maintained?
- Yes. The most recent commit to Dub was on 2 October 2026. The project has 25k stars on GitHub.
Open-source alternatives to Dub
See all
YOURLS
Marketing & SEO
๐ The ๐ฅ๐ฆ ๐ง๐ข๐ค๐ต๐ฐ standard, self hosted, powerful and customizable, URL shortener in
MITvs Bitlyโ 12k
Kutt
Marketing & SEO
Free Modern URL Shortener.
MITvs Bitlyโ 11k
Sink
Marketing & SEO
โก A Simple, Speedy, Secure, and Serverless Link Shortener with Analytics, Running Entirely
AGPL-3.0vs Short.ioโ 7.2k
Shlink
Marketing & SEO
The definitive self-hosted URL shortener
MITvs Bitlyโ 5.3kPolr
Marketing & SEO
:aerial_tramway: A modern, powerful, and robust URL shortener
GPL-2.0vs Rebrandlyโ 5.1k
Pygmy
Marketing & SEO
An open-source, feature rich & extensible url-shortener + analytics written in Python :coo
MITvs Rebrandlyโ 728
SaaS alternatives to Dub
See all
Bitly
Marketing & SEO
URL shortener and link management with QR codes and click analytics
SaaS
Rebrandly
Marketing & SEO
Branded short link manager with custom domains and click tracking
SaaS
Short.io
Marketing & SEO
Custom-domain link shortener with analytics and deep links
SaaS
impact.com
Marketing & SEO
Partnership and affiliate marketing management platform
SaaS
PartnerStack
Marketing & SEO
Partner and affiliate program platform focused on SaaS companies
SaaS
Rewardful
Marketing & SEO
Affiliate and referral tracking for Stripe-based SaaS businesses
SaaS

