← Back to Catalog

dubinc/dub

↗ GitHub

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

23,298

Stars

2,914

Forks

81

Watchers

104

Open Issues

TypeScript·Other·Last commit Apr 3, 2026·by @dubinc·Published April 3, 2026·Analyzed 5d ago
A

Safety Rating A

No security concerns identified. The repository is a well-established, high-star open-source commercial project (23K+ stars) with a transparent open-core licensing model. No hardcoded secrets, malicious code patterns, suspicious dependencies, or prompt injection attempts were found. The tech stack (Next.js, Prisma, Stripe, Upstash, etc.) consists of mainstream, well-maintained libraries. The README and codebase appear entirely legitimate.

AI-assisted review, not a professional security audit.

AI Analysis

Dub is an open-source, self-hostable link attribution platform providing URL shortening, conversion tracking, and affiliate program management. Built as a TypeScript monorepo on Next.js, it powers 100M+ clicks and 2M+ links monthly, and is used by marketing teams at companies including Twilio, Buffer, Framer, Perplexity, and Vercel. The platform includes analytics (via Tinybird/ClickHouse), Redis-backed caching (Upstash), MySQL/PlanetScale database storage, Stripe-powered billing, SSO/SAML enterprise auth, and supports self-hosting. It operates under an AGPLv3 open-core model with a commercial enterprise edition for advanced features.

Use Cases

  • Creating and managing branded short links at scale
  • Tracking link clicks, conversions, and attribution for marketing campaigns
  • Running affiliate and partner referral programs
  • Self-hosting a link management platform for data sovereignty
  • Integrating link analytics into marketing tech stacks via API

Tags

#analytics#api#payments#auth#database#self-hosted#server#framework#real-time#web-scraping

Project Connections

Complements

builderz-labs/marketing-dashboard

Dub's link attribution and analytics data could feed into a marketing operations dashboard like Hermes, providing enriched campaign performance metrics alongside CRM, outreach, and content operations data.

Complements

inngest/inngest

Inngest's durable workflow orchestration could be used to handle Dub's background jobs such as link creation webhooks, analytics aggregation pipelines, or affiliate payout workflows reliably at scale.

Complements

TauricResearch/TradingAgents

Dub's conversion and click attribution data could serve as a signal source for AI-driven marketing analytics agents, similar to how TradingAgents consumes financial data signals for decision-making.

Complements

jhd3197/ServerKit

ServerKit's self-hosted server control panel could be used to manage the infrastructure on which a self-hosted Dub instance runs, handling Docker containers, databases, SSL, and deployment pipelines.

Complements

pixlcore/xyops

xyOps workflow automation and monitoring capabilities could complement a self-hosted Dub deployment by providing server health monitoring, alerting on link service outages, and scheduled maintenance workflows.

dubinc/dub — Yggdrasil