dubinc/dub.link

Short links + link attribution (Dub)

What

Code for Dub: branded short links, click analytics, conversion tracking and affiliate programs. Next.js monorepo.

How to use

use the hosted product, or self-host with the self-hosting guide; it expects several services (DB, Redis, analytics store) to be set up first.

Reach for it when

you need short links with attribution data, or want to study a large Next.js SaaS codebase.