Skip to content

Dub

Link shortener with click and conversion tracking for marketing and product teams

Copyleft (OSI) · AGPL-3.0 EU-based

Listed by , founder & editor

48

Health

Slowing

Overview

Stars

25,228

Last commit

28 days ago

Oct 2026

Repository age

4 years

since Aug 2022

Latest version

–

Contributors

–

5 active in 90 days

Releases

0

last 12 months

Language

TypeScript

Dub is a link attribution platform. You create short links, track clicks, and tie them to conversions. It is built as a TypeScript monorepo with Next.js, Tailwind, Prisma, Upstash Redis, Tinybird for analytics, PlanetScale for the database, NextAuth.js for login and BoxyHQ for SAML SSO.

You can use the hosted service or self-host it for more control over your data and design. A self-hosting guide is provided. The stack depends on several external services, so a self-run setup is more involved than a single container.

Dub is open core. About 99 percent of the code is AGPL-3.0, and an enterprise directory is under a commercial license. It is an alternative to Bitly for teams that care about attribution. The project has had no releases in the past year, and recent contributor activity is modest.

Who it's for

Growth and marketing teams

You get short links with click and conversion attribution in one tool.

Skip if: You only need plain redirects with no analytics.

Engineering teams that want link data under their control

The AGPL core can be self-hosted and modified.

Skip if: You do not want to run Redis, a database and analytics services yourself.

The problem it solves

Branded short links are useful, but hosted shorteners keep your click data and charge for attribution. You need to know which links lead to sign-ups or sales. Dub gives you that, with an option to run it yourself.

Strengths

  • Short links combined with conversion tracking
  • Self-hosting guide available
  • Core is AGPL-3.0 licensed
  • SAML SSO via BoxyHQ
  • Hosted or self-run options

Trade-offs

  • Self-hosting depends on several external services
  • Enterprise features sit under a commercial license
  • No releases in the past year
  • Maintenance is slowing, with few recent contributors

Dub replaces

Self-host Dub

Self-hostable
Yes

Frequently asked questions

Can I self-host Dub?

Yes, a guide covers it. The stack uses services like Upstash, Tinybird and PlanetScale, so expect more setup than a single container.

How is Dub licensed?

The core is AGPL-3.0. A small enterprise portion in the /ee directory needs a commercial license.

Does it replace Bitly?

It covers short links and click tracking, and adds conversion attribution.

Other Bitly alternatives

Compare all 5 Bitly alternatives →

Similar tools in Marketing and customer engagement tools

Dub Links

Marketing and customer engagement tools

Open-source link management platform with analytics and custom domains for marketing teams

25k AGPL-3.0

Mautic

Marketing and customer engagement tools

Self-hosted marketing automation for teams that want to own their contact data

11k 3.6k today Thriving GPL-3.0

brightbean-studio

Marketing and customer engagement tools

Self-hosted social media scheduler with approval workflows for agencies and creators

2.7k 597 6 days ago Slowing AGPL-3.0

Replaces Buffer

LimeSurvey

Marketing and customer engagement tools

Self-hosted survey platform with branching logic and 80+ languages for researchers and

3.8k 1.1k today Active GPL-2.0

Replaces SurveyMonkeyQualtrics

Mixpost

Marketing and customer engagement tools

Self-hosted social media scheduler with team workspaces, for brands and agencies

4k 600 8 months ago Dormant MIT

polr

Marketing and customer engagement tools

Lightweight self-hosted PHP URL shortener with an API, for people who want branded links

5.1k 881 3 years ago Dormant GPL-2.0