Skip to content
Founder Stories Developer Tools & Open Source 15 min read

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.

Steven Tey Steven Tey
β€’ Founder & Lead Engineer β€’ San Francisco, USA / Singapore β€’ @steventey
$35,000/mo
Verified MRR
$420,000
Annual Run Rate (ARR)
2 People
Operating Team
9 months
Time to $10K MRR
⚑

0-to-1 Playbook Blueprint

Verified Metrics: $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.
Current Flagship
Dub.co β†—
Developer Tools & Open Source Β· Open Source Commercial SaaS
Speed to PMF
9 months
First 100 users: 24 hours
Previous Ventures & Experiments
  • 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

MilestoneStagePeriodFinancial ScalePrimary Growth Driver
Vercel DevRelSenior Developer Advocate at Vercel2021 to 2023High developer visibilityTaught Next.js App Router worldwide
Precedent Starter KitOpen-source Next.js boilerplate202210,000+ GitHub starsDeveloper community authority
Dub.co Open-Source LaunchReleased Dub 1.0 on GitHubLate 2022#1 on GitHub Trending in 24 hoursMassive open-source excitement
The Cloud SaaS LaunchIntroduced Dub.co Cloud & Custom Domains2023Reached $10,000/mo MRR in 9 monthsHigh-growth startups adopting Dub
Scaled Link InfrastructureHundreds of millions of redirects monthly2024 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.fyi or git.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:

  1. 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.
  2. 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.
  3. 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.
PlanMonthly PriceAnnual PriceMonthly Clicks IncludedTarget User
Free$0Free forever1,000 clicks / mo, 3 custom domainsIndie hackers, personal blogs
Pro$24/mo$228/yr ($19/mo)50,000 clicks / mo, unlimited custom domainsHigh-growth startups, creators, marketing teams
Business$99/mo$948/yr ($79/mo)250,000 clicks / mo, team collaboration, 1-year analyticsScaleups, media companies, dev tool brands
Enterprise$499+/moBilled annuallyMillions of clicks, custom SLAs, dedicated IPHigh-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.

LayerTool / TechnologyWhy The Founder Chose It
Frontend & AppNext.js 15 (App Router) & ReactServer Components, streaming SSR, and unparalleled developer velocity
Styling & UITailwind CSS & Shadcn UIAccessible, design-forward UI primitives with dark-mode elegance
Edge Compute & CachingCloudflare Workers & Upstash RedisSub-20ms redirect latency worldwide with zero cold start delays
Click AnalyticsTinybird (ClickHouse)Real-time analytical SQL queries over billions of click events
Primary DatabasePlanetScale / Neon PostgreSQL & PrismaType-safe schema migrations and horizontal scalability for core user and team data
Billing EngineStripe BillingAutomated 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:

  1. Use branded short links (like yourbrand.to/launch) with custom Open Graph tags to maximize social media click-through rates.
  2. Maximize your cloud runway by claiming up to $100,000 in AWS & Google Cloud credits via the Startupbricks Founder Perks Catalog.
  3. Need expert full-stack engineers to build your production MVP? Discover our 30-Day MVP Engineering & Fractional CTO Services.
Founder Growth Ecosystem β€’ Free Tools & Credits

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.

Interactive Estimator

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.

Core Tech Stack
Next.js 15 (App Router) & React TypeScript (Strict Mode) Tailwind CSS & Shadcn UI Upstash Redis (Edge Rate Limiting) Tinybird (Real-time Click Analytics & Ingestion) Cloudflare Workers & Vercel Edge PlanetScale / Neon PostgreSQL & Prisma Stripe Billing
Distribution Channels
GitHub Open Source (18,000+ Stars) Building in Public on X (Twitter) Product Hunt (#1 Product of the Day & Golden Kitty Finalist) Word of Mouth Among Vercel, Supabase, and Tech Scaleups
Explore More Journeys

More 0-to-1 Indie Hacker Playbooks

Social Media SaaS $1,900,000/mo

Joel Gascoigne

How Joel Gascoigne launched Buffer from a 2-page smoke test, built a $23M ARR pioneer of radical transparency, and bought out VC investors.

Joel Gascoigne
Joel Gascoigne Β· Buffer
Media & Digital Assets $40,000/mo

Steph Smith

How Steph Smith generated $480K ARR writing and researching digital books, podcasts, and independent internet data products.

Steph Smith
Steph Smith Β· Doing Content Right
Media & Database SaaS $83,000/mo

Pat Walls

How Pat Walls built Starter Story into a $1.0M ARR database of 4,000+ founder case studies using programmatic SEO and async email interviews.

Pat Walls
Pat Walls Β· Starter Story

Stop guessing your way to growth. Start building a brand that wins.

Startupbricks replaces four to five different vendors with one integrated growth partner. Brand strategy, digital marketing, SEO, and AI products: all moving together.

  • Brand strategy and visual identity that commands premium pricing
  • Content marketing and SEO that builds long-term organic traffic
  • Performance marketing on Meta, Google, and LinkedIn
  • AI-powered products built in weeks, not months
  • Full pipeline visibility: from awareness to revenue

Hire us as your growth team. Not just another agency.

We support early-stage startups and growing brands alike. Book a free 30-minute strategy call: we'll tell you exactly what's holding your brand back and build a plan around where you are right now.

Early-stage? We offer flexible pricing. No commitment, no pressure.

WhatsApp Get in Touch