All work
00 · Consumer · SaaS● Live

xtractmp3

Extract anything. Keep what you love.

Video → MP3 / MP4 from YouTube, TikTok, Instagram, X, Reddit, SoundCloud + 20 more sources. Self-hosted Cobalt + tikwm fallback, Cloudflare D1 + Workers, Stripe billing, OAuth, ad-free Pro tier.

Stack
Next.jsCloudflare WorkersD1KVStripeCobaltOpenNextResend
Live URL
xtractmp3.com
Problem

The original site was killed by Vercel for ToS conflicts mid-traffic, and the public Cobalt API requires Cloudflare Turnstile, which can't be solved server-side. Users needed a clean, ad-free flow across 20+ video sources without any of the malware-grade UX the rest of the category ships.

Approach

Rebuilt end-to-end on Cloudflare Workers via OpenNext. Self-hosted Cobalt on DigitalOcean for non-YouTube extraction; added a tikwm fallback to bypass TikTok's datacenter-IP block. Same-origin download proxy with Content-Disposition forces real save dialogs instead of the inline-playback Chrome quirk. Plan-gated rate limits via KV, Stripe live mode, Google + GitHub OAuth, Resend email verification, soft signup paywall at one free conversion per IP per day.

Outcome

Live on xtractmp3.com with apex DNS swapped from the killed deploy in under 6 hours. Pro/Studio tiers paywall the 1-click download; free tier still works but funnels visitors toward sign-up. Adsterra is mounted on the free tier with cookie consent gating.

Engineering highlights
Conversion engine
Cobalt (self-hosted) + tikwm + RapidAPI fallback chain
Billing
Stripe live mode, webhook-driven plan flips, billing portal
Auth
JWT cookies, Google + GitHub OAuth, email verification
Rate limits
KV-backed, plan-aware: 1 / 50 / 500 / 2000 per 24h
Ads
Plan-gated AdSlot + Social Bar, consent-gated rendering
Next

Want one of these for your team?Architect → Ship → Operate.