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
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.link 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 Shlink.
- Is Dub actively maintained?
- Yes. The most recent commit to Dub was on 27 October 2026. The project has 25k stars on GitHub, with 279 added in the last 30 days.
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
Shlink
Marketing & SEO
The definitive self-hosted URL shortener
MITvs Bitlyβ 5.4k
Sink
Marketing & SEO
β‘ A Simple, Speedy, Secure, and Serverless Link Shortener with Analytics, Running Entirely
AGPL-3.0vs Short.ioβ 7.3k
Pygmy
Marketing & SEO
An open-source, feature rich & extensible url-shortener + analytics written in Python :coo
MITvs Rebrandlyβ 731Polr
Marketing & SEO
:aerial_tramway: A modern, powerful, and robust URL shortener
GPL-2.0vs Rebrandlyβ 5.1k
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

Hyros
Cometly
Refersion
Tapfiliate