dubinc/dub

TypeScriptdub.co

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

vercelnextjsupstashtinybirdclickhousemysqlopen-sourceplanetscaleprismatailwindcsstypescript
スター成長
スター
24.7k
フォーク
3.3k
週間成長
+55
Issue
39
10k20k
2022年8月2023年12月2025年4月2026年9月
成果物npm
README
Dub is the modern, open-source link attribution platform for short links, conversion tracking, and affiliate programs.

Dub

The open-source link attribution platform.
Learn more »

Introduction · Tech Stack · Self-hosting · Contributing

Twitter Hacker News License


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:

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.

関連リポジトリ
vercel/next.js

The React Framework

JavaScriptnpmlibraryMIT Licensereactserver-rendering
nextjs.org
142.1k31.9k
ChatGPTNextWeb/NextChat

✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.

TypeScriptnpmappMIT Licensechatgptnextjs
nextchat.club
88.7k59.1k
vercel/swr

React Hooks for Data Fetching

TypeScriptnpmMIT Licensereacthook
swr.vercel.app
32.5k1.4k
vercel/ai

The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents

TypeScriptnpmOtherartificial-intelligencejavascript
ai-sdk.dev
26.6k5.1k
dyad-sh/dyad

Local, open-source AI app builder for power users ✨ v0 / Lovable / Replit / Bolt alternative 🌟 Star if you like it!

TypeScriptnpmOtherai-app-builderbolt
dyad.sh
21.4k2.6k
vercel/chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel

TypeScriptnpmOtherainextjs
chatbot.ai-sdk.dev
20.9k6.7k
shadcn-ui/taxonomy

An open source application built using the new router, server components and everything new in Next.js 13.

TypeScriptnpmMIT Licensenextauthjsnextjs
19.3k2.7k
steven-tey/novel

Notion-style WYSIWYG editor with AI-powered autocompletion.

TypeScriptnpmApache License 2.0chatgptnotion
novel.sh
16.4k1.4k
vercel/vercel

Develop. Preview. Ship.

TypeScriptnpmcliApache License 2.0clicommand
vercel.com
16.2k3.8k
vercel/satori

Enlightened library to convert HTML and CSS to SVG

TypeScriptnpmMozilla Public License 2.0image-generatorjsx
og-playground.vercel.app
13.9k363
notionnext-org/NotionNext

Turn your Notion workspace into a fast, customizable website. Built with Next.js + Notion API, with multi-platform deployment and no self-hosted server required.

JavaScriptnpmMIT Licensetailwindcssvercel
notionnext.tangly1024.com
11.8k14.7k
uidotdev/usehooks

A collection of modern, server-safe React hooks – from the ui.dev team

MDXMIT Licensereacthooks
usehooks.com
11.5k587