<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Torin T</title>
    <description>The latest articles on DEV Community by Torin T (@torin_t_d26451e1d2b91801e).</description>
    <link>https://dev.to/torin_t_d26451e1d2b91801e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4066732%2F8d5b0a13-6f7e-472a-9087-727078753ec1.png</url>
      <title>DEV Community: Torin T</title>
      <link>https://dev.to/torin_t_d26451e1d2b91801e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/torin_t_d26451e1d2b91801e"/>
    <language>en</language>
    <item>
      <title>How I run a video-transcription SaaS on Cloudflare's free tier + one $5 VPS</title>
      <dc:creator>Torin T</dc:creator>
      <pubDate>Fri, 07 Aug 2026 03:49:49 +0000</pubDate>
      <link>https://dev.to/torin_t_d26451e1d2b91801e/how-i-run-a-video-transcription-saas-on-cloudflares-free-tier-one-5-vps-32ej</link>
      <guid>https://dev.to/torin_t_d26451e1d2b91801e/how-i-run-a-video-transcription-saas-on-cloudflares-free-tier-one-5-vps-32ej</guid>
      <description>&lt;p&gt;Every "video to text" tool I tried wanted a sign-up, a subscription, or capped me at 30 seconds. So I built &lt;a href="https://scriptery.app" rel="noopener noreferrer"&gt;Scriptery&lt;/a&gt; — paste a link or upload a file, get a timestamped transcript, export TXT/SRT/VTT, no account. The interesting part isn't the product, it's that it runs at near-zero infrastructure cost, and I want to break down exactly how.&lt;/p&gt;

&lt;h2&gt;
  
  
  The constraint
&lt;/h2&gt;

&lt;p&gt;One rule: the web app stays on Cloudflare's free tier. The only paid infra is a single $5/mo VPS. That constraint shaped every decision below.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One Cloudflare Worker serves everything&lt;/strong&gt; — the SSR frontend (TanStack Start) and the &lt;code&gt;/api/*&lt;/code&gt; backend (Hono) run in the same Worker. No separate server, no container.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workers AI (Whisper)&lt;/strong&gt; for transcription — &lt;code&gt;@cf/openai/whisper-large-v3-turbo&lt;/code&gt;. On the free tier this is genuinely free within the daily neuron allowance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;D1&lt;/strong&gt; (SQLite at the edge) for users, transcripts, a credits ledger, and orders.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;KV&lt;/strong&gt; for rate limiting (anonymous daily quota, double-keyed by IP + cookie, plus a site-wide cap).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A $5 VPS running yt-dlp&lt;/strong&gt; behind a tiny FastAPI service. Workers can't run yt-dlp, and datacenter IPs get bot-checked by YouTube, so extraction lives on the VPS. It returns either captions JSON (skip Whisper) or an audio stream to transcribe.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;User pastes a link, and a per-platform extractor picks a strategy.&lt;/li&gt;
&lt;li&gt;Most platforms go to the VPS (&lt;code&gt;/extract&lt;/code&gt;) via yt-dlp.&lt;/li&gt;
&lt;li&gt;If the platform already has captions, we return those and skip Whisper (faster and cheaper).&lt;/li&gt;
&lt;li&gt;Otherwise the VPS streams audio back to Workers AI Whisper for timestamped segments.&lt;/li&gt;
&lt;li&gt;Client-side formatting into TXT / SRT / VTT, with no server round-trip for exports.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Things that bit me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;YouTube via datacenter IP is the weakest link&lt;/strong&gt; — bot checks, PO tokens. Budget for a proxy pool before you scale.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TikTok&lt;/strong&gt; has no clean API, so it's a page-internals parser that breaks whenever they reshuffle their hydration JSON.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Facebook&lt;/strong&gt; only works for Reels, &lt;strong&gt;Twitch&lt;/strong&gt; only for clips — full VODs blow the duration budget.&lt;/li&gt;
&lt;li&gt;Keeping the free tier free means failed transcriptions must never consume quota or credits — easy to get wrong in the ledger.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Was it worth it?
&lt;/h2&gt;

&lt;p&gt;For a bootstrapped tool, absolutely. The marginal cost of a new user is basically zero until real scale, so the free tier can stay free and the paid tier is pure margin. The $5 VPS is the whole server bill.&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the transcription pipeline, the Cloudflare setup, or the yt-dlp cat-and-mouse.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Try it: &lt;a href="https://scriptery.app" rel="noopener noreferrer"&gt;scriptery.app&lt;/a&gt; — free, no sign-up.)&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloudflare</category>
      <category>webdev</category>
      <category>serverless</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
