Engineering

Behind-the-scenes content from the Dub.co engineering team

Introducing Dub Integrations

Introducing Dub Integrations

Today, we're excited to unveil a new way to extend Dub's functionality with integrations. Get started with our flagship integrations, or build your own.

Steven TeyKiran Krishnan
Announcing the Dub API General Availability (GA)

Announcing the Dub API General Availability (GA)

We're excited to announce that the Dub API is now generally available, with native SDKs in the languages you love.

Steven TeyKiran Krishnan
Migrating from Contentlayer to Content Collections

Migrating from Contentlayer to Content Collections

We recently migrated our content framework from Contentlayer to Content Collections. Here's why and how we did it.

Steven Tey
Introducing Workspace API Keys

Introducing Workspace API Keys

We're excited to announce Workspace API Keys – a new and improved way for you to build integrations with the Dub API.

Steven TeyKiran Krishnan
Building a Product Discovery Platform with Real-time Analytics using the Dub API

Building a Product Discovery Platform with Real-time Analytics using the Dub API

Learn how we built OSS Gallery – a crowdsourced list of the best open-source projects on the web – using Dub's API for real-time click analytics.

Steven Tey
Building a Smart Datetime Picker – without using AI

Building a Smart Datetime Picker – without using AI

We recently built a smart datetime picker that lets you enter any arbitrary time interval in natural language and auto-magically converts it to the right datetime format. Here's how we built it.

Steven Tey
Using Zod to validate Next.js API Route Handlers

Using Zod to validate Next.js API Route Handlers

We recently added Zod to our Next.js API route handlers to validate the request body and query parameters. Learn why and how we did this.

Kiran KrishnanSteven Tey
Building a Scalable & Affordable Image Hosting Pipeline with Cloudflare R2

Building a Scalable & Affordable Image Hosting Pipeline with Cloudflare R2

We recently migrated our image hosting from Cloudinary to Cloudflare R2. This post details the reasons behind the switch, the pros and cons of Cloudflare R2, and how we implemented it in our codebase.

Steven Tey
Migrating to Turborepo – What to Expect

Migrating to Turborepo – What to Expect

We recently rewrote Dub's codebase to use a monorepo setup via Turborepo. Here's what we learned.

Steven Tey