Dub Links
Marketing and customer engagement tools
Open-source link management platform with analytics and custom domains for marketing teams
25k AGPL-3.0
Link shortener with click and conversion tracking for marketing and product teams
Listed by Alston Antony, founder & editor
Health
SlowingStars
25,228
Last commit
28 days ago
Oct 2026
Repository age
4 years
since Aug 2022
Latest version
–
Contributors
–
5 active in 90 days
Releases
0
last 12 months
Language
TypeScript
Dub is a link attribution platform. You create short links, track clicks, and tie them to conversions. It is built as a TypeScript monorepo with Next.js, Tailwind, Prisma, Upstash Redis, Tinybird for analytics, PlanetScale for the database, NextAuth.js for login and BoxyHQ for SAML SSO.
You can use the hosted service or self-host it for more control over your data and design. A self-hosting guide is provided. The stack depends on several external services, so a self-run setup is more involved than a single container.
Dub is open core. About 99 percent of the code is AGPL-3.0, and an enterprise directory is under a commercial license. It is an alternative to Bitly for teams that care about attribution. The project has had no releases in the past year, and recent contributor activity is modest.
You get short links with click and conversion attribution in one tool.
Skip if: You only need plain redirects with no analytics.
The AGPL core can be self-hosted and modified.
Skip if: You do not want to run Redis, a database and analytics services yourself.
Branded short links are useful, but hosted shorteners keep your click data and charge for attribution. You need to know which links lead to sign-ups or sales. Dub gives you that, with an option to run it yourself.
Yes, a guide covers it. The stack uses services like Upstash, Tinybird and PlanetScale, so expect more setup than a single container.
The core is AGPL-3.0. A small enterprise portion in the /ee directory needs a commercial license.
It covers short links and click tracking, and adds conversion attribution.
Marketing and customer engagement tools
Open-source link management platform with analytics and custom domains for marketing teams
25k AGPL-3.0
Marketing and customer engagement tools
Self-hosted marketing automation for teams that want to own their contact data
11k 3.6k today Thriving GPL-3.0
Marketing and customer engagement tools
Self-hosted social media scheduler with approval workflows for agencies and creators
2.7k 597 6 days ago Slowing AGPL-3.0
Replaces Buffer
Marketing and customer engagement tools
Self-hosted survey platform with branching logic and 80+ languages for researchers and
3.8k 1.1k today Active GPL-2.0
Replaces SurveyMonkeyQualtrics
Marketing and customer engagement tools
Self-hosted social media scheduler with team workspaces, for brands and agencies
4k 600 8 months ago Dormant MIT
Marketing and customer engagement tools
Lightweight self-hosted PHP URL shortener with an API, for people who want branded links
5.1k 881 3 years ago Dormant GPL-2.0