Black Friday at Hostinger: 15% off yearly and longer plans with BFVPS15, until 6 Dec. See plans

Black Friday: 15% off hosting with BFVPS15

Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size1,365 projects
    • Developer Tools694
    • AI & Machine Learning561
    • Business & Productivity337
    • Web Development222
    • Security & Monitoring212
    • Communication & Collaboration174
    • IT Management170
    • Design & Creative156
    • DevOps & CI/CD149
    • LLMOps & AI Tooling145
    Browse all 21 categoriesProduct & Project Management, Cloud & Hosting and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools694
    • AI & Machine Learning561
    • Business & Productivity337
    • Web Development222
    • Security & Monitoring212
    • Communication & Collaboration174
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Add Open Source Alternatives as a preferred source on Google

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/Marketing & Growth/Dub
icon of Dub

Dub

Open source alternative to Bitly, Rebrandly, ClickMagick and Short.io

  • 25.2K stars
  • AGPL-3.0
  • Active recently
  • Last commit 34 days ago

Last verified Nov 14, 2026

Create short links, track conversions from click to sale, and run affiliate programs from one self-hosted platform.

Visit websiteGitHub25.2K stars
image of Dub
TL;DR

Dub is an open source link attribution platform that handles short links, conversion tracking, and affiliate programs. It replaces paid tools like Bitly and Rebrandly for teams that need more than click counts. The core is AGPL-3.0 (Affero General Public License), which lets you self-host it on your own server and use it for internal tools. Best for growth teams and developers who need to track the full path from a link click to a sale or sign-up, and who want to run an affiliate program from the same dashboard.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Dub is for#

SaaS teams tracking paid and affiliate traffic

Connect Dub to your sign-up flow and payment provider. When a customer who clicked a link upgrades to a paid plan, Dub records the revenue. You see which campaigns and partners are driving actual paying customers, not just visitors.

Skip if:

If you only need basic link shortening with no conversion tracking, Dub is more than you need. A simpler tool is faster to set up.

Teams launching an affiliate or referral program

Create partner links, set commission rules, and give affiliates their own dashboard. Dub handles click attribution, conversion events, and payout tracking in one place. No separate affiliate platform needed.

Skip if:

If your affiliate program is very large and needs dedicated compliance tools or complex contract management, a platform made for affiliate management may have more depth.

Developers creating links at scale via API

Create thousands of short links programmatically from your application. Dub's SDKs for TypeScript, Python, and Go handle authentication and error handling. Real-time webhooks push conversion events to your backend as they happen.

Skip if:

If you need only a few hundred links and no programmatic creation, the API adds setup complexity that is not worth it.

the problem

The problem it solves#

Bitly tells you how many people clicked your link. It does not tell you which of those people became paying customers. Most link tools stop at the click. When you run paid ads, affiliate programs, or email campaigns, the number that matters is revenue, not raw traffic. Without a tool that connects the click to the conversion, you are running blind.

Separate tools for affiliate programs add more complexity. A link shortener in one tab, an affiliate dashboard in another, and a reporting tool in a third. No single view of what is working.

how Dub solves it

How it solves it#

Short links with advanced targeting

Create branded short links with custom domains. Each link supports QR codes (quick-response barcodes a phone camera can scan), device targeting, geo targeting, A/B testing, password protection, and link expiration. All managed from one dashboard or through the API.

Conversion analytics

Track the full path from a link click to a lead or sale. Connect Dub to your checkout or sign-up flow, and it records which links drove each conversion. See clicks, leads, and sales per link in one view.

Affiliate and partner programs

Build an affiliate program where partners earn commissions on sales they refer. Set commission structures, manage payouts, and give partners their own dashboard. Runs inside your product without a third-party platform.

API-first with multi-language SDKs

Programmatically create and manage links at scale. SDKs (software development kits) are available for TypeScript, Python, Go, Ruby, and PHP (a server-side web scripting language). Real-time webhooks notify your system when a link is clicked, a lead is created, or a sale is recorded.

UTM builder and campaign tools

Add UTM (web analytics tags that identify which campaign or source sent a visitor) parameters to links in bulk. Group links into folders by campaign. Track performance by source, medium, campaign, and term.

Deep links and mobile targeting

Send mobile users directly into your app rather than a browser. Deferred deep linking works even when the user does not have the app installed at click time.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Full funnel tracking, not just clicksMost link tools count clicks and stop. Dub tracks the path from click to conversion: lead, sign-up, payment. If you send a link to your newsletter and ten readers become paid customers, Dub shows you that. Bitly and Short.io do not.
  • AGPL-3.0 core with no per-link feesThe core is AGPL-3.0 licensed. You can self-host it, run it for your own team, and modify it. No per-link fees and no data caps on the self-hosted version. Bitly and Rebrandly charge per link click volume on paid plans.
  • Active, growing project used in production at scaleOver 25,000 GitHub stars and more than 3,400 forks. Teams at Twilio, Vercel, Framer, Whop, and Cal.com use it in production. The platform processes 250 million or more clicks per month. Active development as of October 2026.
  • Affiliate programs built inMost link tools have no affiliate program feature. Dub combines link management, conversion tracking, and affiliate payouts in one product. For SaaS teams building a referral program, this removes the need for a separate tool.

Trade-offs

  • -AGPL-3.0 requires sharing changes if you run a modified version as a serviceThe AGPL-3.0 (Affero General Public License) is a strong-copyleft licence. If you run a modified version of Dub as a hosted service for others, you must release your modifications. For teams running it internally, this condition does not apply. The enterprise directory (the ee/ folder in the repository) is under a separate commercial licence from Dub Technologies, Inc. and requires a paid agreement for production use. Most self-hosted deployments run the AGPL core without needing it.
  • -Self-hosting needs several services running togetherSelf-hosting Dub requires Node.js, a MySQL database, Redis, and several third-party integrations (for analytics, email, and payments). It is not a single container. Teams comfortable with Docker Compose can follow the documentation, but the setup takes time.
  • -63 open issuesDub has 63 open issues on its tracker. That is low for a project with 25,000 stars, which suggests active maintenance. Check the tracker before deploying if a specific integration or feature matters to you.
versus alternatives

Dub vs alternatives#

Dub vs Bitly

Bitly is the most widely used link shortener. Both tools shorten URLs (web addresses) and track clicks. The key difference is depth: Bitly counts clicks, while Dub tracks the path from click to revenue.

FeatureDubBitly
LicenceAGPL-3.0 (open source core)Proprietary
Self-hostingYesNo
Click trackingYesYes
Conversion trackingYesNo
Affiliate programsYesNo
PricingFree (self-hosted)Free tier, then paid per click volume

Dub is the better choice when you need to know which links drive revenue, not just traffic. Bitly is a reasonable fit for teams that only need basic link shortening and have no need to track what happens after the click.

Dub vs Rebrandly

Rebrandly focuses on branded link management for marketing teams. It offers custom domains, link analytics, and team permissions.

FeatureDubRebrandly
LicenceAGPL-3.0 (open source core)Proprietary
Self-hostingYesNo
Custom domainsYesYes
Conversion trackingYesNo
Affiliate programsYesNo
PricingFree (self-hosted)Paid plans

Dub covers the same branded link features as Rebrandly and adds conversion analytics and affiliate programs. Rebrandly is worth considering if your team is already in its ecosystem and does not need conversion tracking.

Dub vs Short.io

Short.io is a branded link shortener for teams that need custom domains, click analytics, and basic team management.

FeatureDubShort.io
LicenceAGPL-3.0 (open source core)Proprietary
Self-hostingYesNo
Custom domainsYesYes
Conversion trackingYesNo
Affiliate programsYesNo
PricingFree (self-hosted)From $5/month

Dub gives you everything Short.io offers for branded links, plus the full conversion and affiliate layer. Short.io is a simpler, cheaper option for teams that only need a branded shortener and no conversion tracking.

install · quick start

Quick start#

bash
Self-host Dub with Docker using the official guide.
```bash
git clone https://github.com/dubinc/dub
cd dub
cp .env.example .env
docker compose up
```
tech stack · detected from GitHub

What it's built on#

Languages
TypeScript
Frameworks
Next.jsReactTailwind CSS
Databases
ClickHouseMySQL
Tooling
esbuild
frequently asked

FAQ#

Is Dub free to use?

The core is AGPL-3.0 (Affero General Public License) and free to self-host. No per-link fees and no click caps on the self-hosted version. Dub Cloud, the managed hosting option, has a free tier and paid plans for higher usage. The enterprise directory (the ee/ folder) is under a commercial licence and requires a paid agreement with Dub Technologies, Inc.

What does the AGPL-3.0 licence mean for my business?

AGPL-3.0 means you can run Dub on your own server, use it for your own team, and modify it at no cost. The one condition: if you run a modified version as a service for others, you must release your changes. For most teams running it internally, that condition never applies. The enterprise directory (the ee/ folder) is under a separate commercial licence for teams that need enterprise features.

How is Dub different from Bitly?

Bitly tracks link clicks. Dub tracks the full path: click, then lead, then sale. If you need to know which of your links drove actual revenue rather than just traffic, Dub reports that. Bitly does not. Dub is also self-hostable and open source; Bitly is a closed hosted service.

What do I need to self-host Dub?

Node.js, a MySQL database, Redis, and optional third-party services for analytics and email. Docker Compose is the documented path. The self-hosting guide at dub.co/docs/self-hosting/guide walks through every environment variable and service. It is a multi-service setup, so allow time for configuration.

Does Dub work with my existing payment tool?

Dub connects to Stripe for conversion tracking. When a customer who clicked a Dub link completes a payment, Stripe sends the event to Dub and it records the conversion. For other payment tools, the API lets you send conversion events directly from your backend.

also worth a look

Similar open-source tools#

iShortn

Alternative toBitly

Self-hosted URL shortener with per-link analytics and QR codes

  • 152 GitHub stars
  • MITLicence MIT

Shlink

Alternative toBitly

Self-hosted URL shortener with REST API, CLI, and visit analytics

  • 5,453 GitHub stars
  • MITLicence MIT

Kutt

Alternative toBitly

Self-hosted URL shortener with analytics and custom domains

  • 11,222 GitHub stars
  • MITLicence MIT

MiroFish

InAI & Machine Learning

Multi-agent simulation engine that predicts real-world outcomes

  • 86,589 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

FckSignups

InCustomer Support

Open-source tools that work instantly, no signup required

  • 4,634 GitHub stars
  • GPL-3.0Licence GPL-3.0

LimeSurvey

Alternative toSurveyMonkey

Open source survey platform for complex questionnaires

  • 3,808 GitHub stars
  • GPL-2.0Licence GPL-2.0
by category

Open source tools in these categories#

81

Marketing & Growth

agency-agents, MoneyPrinterTurbo, MiroFish
126

Data & Analytics

Firecrawl, ragflow, Worldmonitor
337

Business & Productivity

OpenClaw, Excalidraw, RustDesk

Sponsors

Nuphos

Alternative toConductor

Agent workspace for teams running Claude Code or Codex

  • 821 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents

Jade Hosting

Zero-configuration full stack deploy in any language

Cloud & Hosting

Mercury CLI

Alternative toClaude Code

Open source terminal coding agent with a built-in debugger.

  • 32 GitHub stars
  • Apache-2.0Licence Apache-2.0
Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • 1Password to Bitwarden
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • Zapier to n8n
  • Pinecone to Qdrant
  • Auth0 to Keycloak
  • Contentful to Strapi
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • 1Password to Bitwarden
  • Microsoft To Do to Super Productivity
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to Rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • Zapier to n8n
  • Pinecone to Qdrant
  • Auth0 to Keycloak
  • Contentful to Strapi