# dubinc/dub

The modern link attribution platform. Loved by world-class marketing teams like Framer, Perplexity, Superhuman, Twilio, Buffer and more.

Repository: https://github.com/dubinc/dub
Canonical: https://ross.abutalabs.com/products/dub
Homepage: https://dub.co
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: vercel, nextjs, upstash, tinybird, clickhouse, mysql, open-source, planetscale, prisma, tailwindcss, typescript
Last push: 2026-08-26T21:11:47+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 1467, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 24581, forks 3251 (observed 2026-08-28T04:11:37.514966+00:00)

## What it is
Dub is an open-source link attribution platform combining branded short links, real-time conversion analytics, and affiliate/partner program management. It ships as a Next.js application with a REST API, SDKs, webhooks, and self-hosting support.

## Use cases
- create branded short links with click analytics
- track marketing campaign conversions to revenue
- run an affiliate or referral partner program
- self-host a bitly alternative
- send webhook events when links are clicked
- create mobile app deep links
- embed a referral dashboard in my app

## When to choose
- you need short links plus conversion attribution and affiliate management in one platform
- you want a self-hostable, API-first link management tool with SDKs and webhooks
- you run marketing campaigns and need real-time click and revenue analytics

## When to avoid
- you only need a trivial URL shortener with no analytics or attribution
- you need a fully free turnkey deployment - some features (deep links, embedded dashboards, SSO) are gated to paid plans and self-hosting requires several external services
- you need a lightweight CLI-only utility rather than a full web platform

## Facets
- artifact type: application
- maturity: active
- function: analytics, webhook, api-framework, self-hosted, sdk, mcp
- domain: analytics, web-development, e-commerce, apis, self-hosted
- platform: self-hosted, cloud
- tags: link-shortener, link-attribution, conversion-tracking, affiliate-programs, deep-links, nextjs, bitly-alternative, marketing, web-server, nodejs, docker

## Member repositories
- dubinc/dub (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:37.514966+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:56:11.576620+00:00, confidence not recorded.
  - readme: https://github.com/dubinc/dub (fetched 2026-08-28T04:11:37.514966+00:00, sha 7705e6ed99fe)
  - homepage: https://dub.co (fetched 2026-08-29T07:53:48.642184+00:00, sha edf323465557)
  - site_page: https://dub.co/docs/concepts/deep-links/quickstart (fetched 2026-08-29T07:53:48.653977+00:00, sha b3d42e8886b3)
  - site_page: https://dub.co/docs/concepts/webhooks/introduction (fetched 2026-08-29T07:53:48.656228+00:00, sha 7b6554a629b0)
  - site_page: https://dub.co/docs/partners/embedded-referrals (fetched 2026-08-29T07:53:48.659618+00:00, sha 3844da9883d8)
  - site_page: https://dub.co/docs (fetched 2026-08-29T07:53:48.661291+00:00, sha 0e0fbd48b0d6)
  - site_page: https://dub.co/docs/sdks/overview (fetched 2026-08-29T07:53:48.662884+00:00, sha 9060b3173c8c)
  - site_page: https://dub.co/pricing (fetched 2026-08-29T07:53:48.651896+00:00, sha c4d2105bcea0)
  - site_page: https://dub.co/integrations (fetched 2026-08-29T07:53:48.657963+00:00, sha db68fa1dfcae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
