Urgent.News

What's breaking now, across thousands of outlets.

Tech

Engineering a 9-Platform Video Downloader on a $0 Budget: The Decoupled Serverless Edge Architecture

As software engineers, we often instinctively reach for AWS EC2 instances, DigitalOcean droplets, or Kubernetes clusters the moment a project requires compute. But what happens when you impose a strict $0 monthly infrastructure budget? Recently, I built and launched SDOWNLOADER, an ad-clean, high-performance media downloader supporting 9 major social platforms. Extracting videos—especially…

The wire story describes the development and launch of an innovative video downloader named SDOWNLOADER, which operates on a strict $0 monthly infrastructure budget. The project aims to provide a high-performance, ad-clean media downloader for 9 major social platforms. Due to its heavy compute requirements, building a sustainable solution without incurring expensive cloud server bills posed a significant challenge.

The solution was found in a decoupled serverless edge pipeline combined with a custom ARM-optimized transcode worker. This architecture decouples the edge ingress from backend processing to ensure enterprise-grade uptime, low latency, and continuous availability. The 5-layer decoupled architecture includes static edge delivery via Cloudflare Pages, edge security gateway and ingress protection using Cloudflare Workers, an asynchronous database queue and state engine using Supabase PostgreSQL, an asynchronous polling and stream processing layer using a custom ARM-optimized transcode worker, and edge storage and streaming through Backblaze B2 or Cloudflare Bandwidth Alliance.

The frontend is built with SvelteKit 2 and exported statically onto Cloudflare Pages, providing sub-second LCP, interaction-driven GA4 telemetry, and direct database polling to avoid burning edge worker invocation quotas. The compute layer features a custom ARM-optimized transcode worker, which handles heavy compute tasks required for video extraction and transcoding.

Reddit's unique DASH audio nightmare is addressed by fetching both video and audio manifests simultaneously and multiplexing the streams into a unified high-definition MP4 with perfect lip-sync. SDOWNLOADER supports a wide range of social platforms, including Twitter, Reddit, SoundCloud, Bandcamp, Pinterest, Threads, Bluesky, Twitch, and Dailymotion.

The project adheres to a zero-popunder policy and eliminates predatory monetization practices, ensuring a clean user experience with only non-intrusive display banners. The live demo is available at https://sdownloader.online, where users can test the latency and speed of the decoupled pipeline by downloading various video clips.

The GitHub repositories for the project are currently not public due to ongoing security audits, database migrations, and documentation updates.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Saturday 5 September →