Dub is an open-source link attribution platform for short links, branded domains, click analytics, conversion tracking, webhooks, API-driven link management, and affiliate-style programs. It can be self-hosted, but it is architected like a cloud-native SaaS: Next.js on Vercel-style hosting, MySQL for transactional data, Upstash Redis/QStash for caching and jobs, Tinybird/ClickHouse for analytics, and S3-compatible object storage for uploaded assets.