Discover / GTM & Growth

Dub

by dubincTypeScript

Open-source link management: short links, QR codes and click analytics for campaigns.

Toolexperimental

Maturity: experimental because active but has never tagged a release. Derived from release and commit history, not a rating.

Stars
24k
Forks
3.2k
Downloads / mo
Last commit
2026-08-02
License
NOASSERTION
Open issues
147

Market and trust evidence

Edition not yet matched

No exact skills.sh identity match is available for this repository. Repository adoption and freshness remain visible above; install momentum is not inferred.

Trust analysis is a screening signal, not a security warranty. Read the ranking and trust methodology.

In practice

Written by AI from this repository’s README · low confidence

Provides a clean interface for creating, sharing, and tracking short links.

Use it when

Use to manage branded short links and track click analytics.

Not the right pick when

Not designed for complex enterprise identity management.

Capabilities

  • Link shortening
  • Click analytics
  • Custom domains

Cost: Cost not stated

What the repository ships

Security policyCI configured

Detected from the actual files in the repository root.

Tags

README

<a href="https://dub.co">

<img alt="Dub is the modern, open-source link attribution platform for short links, conversion tracking, and affiliate programs." src="https://github.com/user-attachments/assets/42cf0705-f5a2-4200-bc4a-c5acf0ba9e15">

</a>

<h3 align="center">Dub</h3>

<p align="center">

The open-source link attribution platform.

<br />

<a href="https://dub.co"><strong>Learn more »</strong></a>

<br />

<br />

<a href="#introduction"><strong>Introduction</strong></a> ·

<a href="#tech-stack"><strong>Tech Stack</strong></a> ·

<a href="#self-hosting"><strong>Self-hosting</strong></a> ·

<a href="#contributing"><strong>Contributing</strong></a>

</p>

<p align="center">

<a href="https://twitter.com/dubdotco">

<img src="https://img.shields.io/twitter/follow/dubdotco?style=flat&label=%40dubdotco&logo=twitter&color=0bf&logoColor=fff" alt="Twitter" />

</a>

<a href="https://news.ycombinator.com/item?id=32939407"><img src="https://img.shields.io/badge/Hacker%20News-255-%23FF6600" alt="Hacker News"></a>

<a href="https://github.com/dubinc/dub/blob/main/LICENSE.md">

<img src="https://img.shields.io/github/license/dubinc/dub?label=license&logo=github&color=f80&logoColor=fff" alt="License" />

</a>

</p>

<br/>

Introduction

Dub is the modern, open-source link attribution platform for short links, conversion tracking, and affiliate programs.

Our platform powers 100M+ clicks and 2M+ links monthly, and is used by world-class marketing teams from companies like Twilio, Buffer, Framer, Perplexity, Vercel, Laravel, and more.

Tech Stack

Self-Hosting

You can self-host Dub for greater control over your data and design. Read this guide to learn more.

Contributing

We love our contributors! Here's how you can contribute:

Recommended Versions

| Package | Version |

| ------- | -------- |

| node | v23.11.0 |

| pnpm | 9.15.9 |

Common Local Development Issues

  • The table <table-name> does not exist in the current database. - Run pnpm prisma:push push the state of the Prisma schema file to the database without using migrations files.
  • The project is not building correctly locally - verify your versions of node and pnpm match the recommended versions above. Delete all node_modules, .next, and .turbo directories in the apps and packages directory. You may now reinstall node_modules by running pnpm install and attempt to rebuild the project with pnpm build.

Dev Seed Script

This script seeds the database with development data for testing and development purposes.

Basic seeding (adds data without deleting existing data):


cd apps/web
pnpm run script dev/seed

Truncate database before seeding (deletes all existing data first):


cd apps/web
pnpm run script dev/seed --truncate

When using --truncate, the script will ask for confirmation before deleting any data.

Repo Activity

Dub repo activity – generated by Axiom

License

Dub Technologies, Inc. is a commercial open-source company, which means some parts of this open-source repository require a commercial license. The concept is called "Open Core" where the core technology (99%) is fully open source, licensed under AGPLv3 and the last 1% is covered under a commercial license ("/ee" Enterprise Edition>)) which we believe is entirely relevant for larger organisations that require enterprise features. Enterprise features are built by the core engineering team of Dub Technologies, Inc., which is hired full-time.

Related tools