Steven Tey: How Steven Tey Built Dub.co to $35,000/mo
How ex-Vercel developer Steven Tey open-sourced Dub.co, challenged Bitly's decade-old monopoly, and scaled a modern link infrastructure platform to $420,000 ARR.
0-to-1 Playbook Blueprint
- Precedent (Open-source Next.js starter kit, 10K+ GitHub stars)
- Multiple open-source developer tool contributions at Vercel
Steven Tey is one of the premier frontend software architects of the modern JavaScript era. While working as a Senior Developer Advocate at Vercel, Steven created and open-sourced Dub.co, an open-source link management and conversion attribution platform that rocketed to over 18,000 GitHub stars and scaled to $420,000 in annual recurring revenue ($35,000 monthly) with an ultra-lean team of two.
For more than a decade, the URL shortening and link attribution market was monopolized by legacy giant Bitly. But Bitly had grown stagnant: its user interface was clunky, its API was slow and restricted, custom domain configuration took hours, and its enterprise pricing gouged growing startups with exorbitant minimum contracts.
Steven envisioned a modern successor: an open-source link infrastructure platform built on Next.js, Cloudflare Workers, and Upstash Redis that redirected links in sub-20 milliseconds, provided real-time click stream analytics via Tinybird, generated dynamic Open Graph preview cards, and offered an extraordinary developer experience.
Here is the deep tactical story of how Steven Tey built Dub.co into the modern standard for link infrastructure.
The Venture Scorecard: Dub.coβs Path to $420K ARR
| Milestone | Stage | Period | Financial Scale | Primary Growth Driver |
|---|---|---|---|---|
| Vercel DevRel | Senior Developer Advocate at Vercel | 2021 to 2023 | High developer visibility | Taught Next.js App Router worldwide |
| Precedent Starter Kit | Open-source Next.js boilerplate | 2022 | 10,000+ GitHub stars | Developer community authority |
| Dub.co Open-Source Launch | Released Dub 1.0 on GitHub | Late 2022 | #1 on GitHub Trending in 24 hours | Massive open-source excitement |
| The Cloud SaaS Launch | Introduced Dub.co Cloud & Custom Domains | 2023 | Reached $10,000/mo MRR in 9 months | High-growth startups adopting Dub |
| Scaled Link Infrastructure | Hundreds of millions of redirects monthly | 2024 to 2026 | $420,000 ARR ($35K/mo MRR) | Enterprise referral links & API volume |
1. The Death of Bitly: Why Modern Developers Needed Dub
In 2022, while building developer documentation and link campaigns at Vercel, Steven Tey was repeatedly frustrated by Bitly:
- Bitlyβs dashboard was slow and bloated with enterprise upsells.
- Adding a custom branded short domain (like
vercel.fyiorgit.new) took hours of DNS verification. - Bitly provided zero visibility into real-time click stream analytics or geo-routing.
- When social media crawlers (Twitter, LinkedIn, Slack) scraped a Bitly link, they showed generic metadata instead of dynamic Open Graph image cards.
Steven realized that links are the fundamental atomic units of the internet: Every marketing campaign, affiliate code, referral loop, and product launch is delivered through a link.
In late 2022, Steven coded the first prototype of Dub:
- Written in TypeScript and Next.js App Router.
- Edge redirects powered by Cloudflare Workers and Upstash Redis, executing in under 20 milliseconds.
- Dynamic social card preview generator built-in.
- Released as 100% open-source software on GitHub.
The response from the developer community was immediate: within 48 hours, Dub soared to #1 on GitHub Trending, accumulating over 5,000 stars in its first week.
2. Engineering the Sub-20ms Edge Architecture
Steven engineered Dub to handle hundreds of millions of redirects without server cold starts or database bottlenecks:
- Edge Redirects via Cloudflare Workers & Upstash Redis: When a user clicks a short link (e.g.,
dub.sh/launch), the redirect does not hit a heavy backend server. A Cloudflare Worker reads the destination URL directly from an in-memory Upstash Redis cache at the closest edge data center, returning an HTTP 301/302 redirect in under 20 milliseconds. - Real-Time Click Stream Ingestion via Tinybird: Instead of locking up a PostgreSQL database with millions of click events, Dub streams click metadata asynchronously into Tinybird (ClickHouse), enabling instant real-time analytical queries across billions of clicks with sub-second dashboard rendering.
- Dynamic Social Card Customization: Users could customize the Open Graph title, description, and preview image for any link, even if the destination site had bad social tags.
User Clicks Short Link -> [Cloudflare Edge Location]
β
βΌ
[Upstash Redis Memory Cache]
β
ββββββββββββββββββ΄βββββββββββββββββ
βΌ βΌ
[Sub-20ms Instant Redirect] [Asynchronous Event Stream]
Destination Page Loads β
βΌ
[Tinybird ClickHouse Engine]
(Real-time analytics dashboard)
This enterprise-grade architecture made Dub vastly faster, more reliable, and more flexible than legacy services.
3. Product Economics & Pricing Architecture
Steven adopted an open-core commercial SaaS model:
- Self-Hosted (Free): 100% open-source, unlimited links on your own infrastructure.
- Dub.co Managed Cloud: Tiered subscription plans for startups, creators, and enterprise marketing teams.
| Plan | Monthly Price | Annual Price | Monthly Clicks Included | Target User |
|---|---|---|---|---|
| Free | $0 | Free forever | 1,000 clicks / mo, 3 custom domains | Indie hackers, personal blogs |
| Pro | $24/mo | $228/yr ($19/mo) | 50,000 clicks / mo, unlimited custom domains | High-growth startups, creators, marketing teams |
| Business | $99/mo | $948/yr ($79/mo) | 250,000 clicks / mo, team collaboration, 1-year analytics | Scaleups, media companies, dev tool brands |
| Enterprise | $499+/mo | Billed annually | Millions of clicks, custom SLAs, dedicated IP | High-volume SaaS platforms (Raycast, Supabase) |
By serving tech darlings like Supabase, Raycast, Prisma, and Cal.com, Dub cemented itself as the default modern link infrastructure of the developer ecosystem, scaling past $35,000 per month ($420,000 ARR).
4. Steven Teyβs Exact Tech Stack
Steven is renowned for setting the gold standard of modern TypeScript and Next.js engineering.
| Layer | Tool / Technology | Why The Founder Chose It |
|---|---|---|
| Frontend & App | Next.js 15 (App Router) & React | Server Components, streaming SSR, and unparalleled developer velocity |
| Styling & UI | Tailwind CSS & Shadcn UI | Accessible, design-forward UI primitives with dark-mode elegance |
| Edge Compute & Caching | Cloudflare Workers & Upstash Redis | Sub-20ms redirect latency worldwide with zero cold start delays |
| Click Analytics | Tinybird (ClickHouse) | Real-time analytical SQL queries over billions of click events |
| Primary Database | PlanetScale / Neon PostgreSQL & Prisma | Type-safe schema migrations and horizontal scalability for core user and team data |
| Billing Engine | Stripe Billing | Automated volume metering, recurring subscriptions, and team seat management |
5. The 3 Tactical Rules for Developer Tool Builders
Rule 1: Modernize Legacy Utilities with Superior Design and Speed
Link shorteners were invented in 2005. You donβt need to invent a brand-new concept; take an essential utility that the modern tech world uses every day, strip away 15 years of legacy bloat, and rebuild it with sub-20ms speed and modern design.
Rule 2: Open Source Creates Unrivaled Developer Trust
When you make your codebase open source on GitHub, developers trust you immediately. They inspect your security, contribute pull requests, and advocate for your cloud product inside their companies.
Rule 3: Craft and Polish Are Your Primary Growth Levers
Every transition, keyboard shortcut, and micro-interaction matters. When your software feels fast, tactile, and delightful to use, users share screen recordings on Twitter for free. Craft is the ultimate viral marketing engine.
Startupbricks Growth Takeaway
Action Step for Founders: If you are launching a product or marketing campaign:
- Use branded short links (like
yourbrand.to/launch) with custom Open Graph tags to maximize social media click-through rates.- Maximize your cloud runway by claiming up to $100,000 in AWS & Google Cloud credits via the Startupbricks Founder Perks Catalog.
- Need expert full-stack engineers to build your production MVP? Discover our 30-Day MVP Engineering & Fractional CTO Services.
Building an early-stage startup? Boost your runway.
Unlock over $12.1M in founder perks from AWS, Stripe & 340+ SaaS tools, or explore 900+ indie hackers in our global directory.
Calculate your exact project timeline & budget
Configure your MVP tech stack, team scope, and marketing channels for an instant 2026 cost breakdown in 30 seconds.