<?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: WhereCanIWatchtv</title>
    <description>The latest articles on DEV Community by WhereCanIWatchtv (@wherecaniwatch).</description>
    <link>https://dev.to/wherecaniwatch</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3795784%2Faa32cc07-3834-4953-8b28-194247a6bb80.png</url>
      <title>DEV Community: WhereCanIWatchtv</title>
      <link>https://dev.to/wherecaniwatch</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wherecaniwatch"/>
    <language>en</language>
    <item>
      <title>How I Built a Streaming Search Engine in a Week</title>
      <dc:creator>WhereCanIWatchtv</dc:creator>
      <pubDate>Fri, 27 Feb 2026 03:39:02 +0000</pubDate>
      <link>https://dev.to/wherecaniwatch/how-i-built-a-streaming-search-engine-in-a-week-3a6k</link>
      <guid>https://dev.to/wherecaniwatch/how-i-built-a-streaming-search-engine-in-a-week-3a6k</guid>
      <description>&lt;p&gt;Ever googled "where can I watch [movie]?" and gotten a wall of SEO spam, affiliate links, and outdated info? Yeah, me too.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://www.wherecaniwatch.tv" rel="noopener noreferrer"&gt;WhereCanIWatch.tv&lt;/a&gt; — a free streaming availability search engine that actually works.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;There are 200+ streaming services now. Finding where a specific movie or show is available shouldn't require opening 6 tabs and checking each service manually. The existing solutions are either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paywalled&lt;/li&gt;
&lt;li&gt;Covered in ads&lt;/li&gt;
&lt;li&gt;Outdated within days&lt;/li&gt;
&lt;li&gt;Missing half the services&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 16&lt;/strong&gt; with App Router and ISR (Incremental Static Regeneration)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase&lt;/strong&gt; (PostgreSQL) for the database&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TMDB API&lt;/strong&gt; for metadata, ratings, trailers, and streaming provider data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OMDb API&lt;/strong&gt; for IMDb/Rotten Tomatoes/Metacritic scores&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DigitalOcean&lt;/strong&gt; droplet ($12/mo) with Coolify for container management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare&lt;/strong&gt; free tier for CDN, SSL, and DDoS protection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Traefik v3&lt;/strong&gt; as reverse proxy&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Architecture Decisions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Three-Tier Rendering Strategy
&lt;/h3&gt;

&lt;p&gt;Not every page deserves the same treatment:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Database has everything&lt;/strong&gt; — 15,000+ titles with full metadata&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pages render on-demand via ISR&lt;/strong&gt; — first request builds the page, then it's cached for 24h&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sitemap is gated&lt;/strong&gt; — only the top 5,000 titles (by quality score) get into the sitemap&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This keeps Google focused on our best content while the full catalog is still accessible.&lt;/p&gt;

&lt;h3&gt;
  
  
  Provider Data Pipeline
&lt;/h3&gt;

&lt;p&gt;The biggest challenge was keeping streaming availability data fresh. Services add and remove titles constantly. Our pipeline runs on cron:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Smart ingest&lt;/strong&gt; pulls new titles from TMDB (hourly)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provider refresh&lt;/strong&gt; pulls watch/providers data from TMDB every 3 hours&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OMDb enrichment&lt;/strong&gt; backfills IMDb/RT/MC ratings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep link refresh&lt;/strong&gt; improves outbound links to streaming services&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All running on the same $12/mo server. Total API costs: ~$1/mo (OMDb).&lt;/p&gt;

&lt;h3&gt;
  
  
  Image Optimization
&lt;/h3&gt;

&lt;p&gt;Movie posters are the biggest performance bottleneck. TMDB serves multiple sizes (w342, w500, w780), so we use Next.js &lt;code&gt;&amp;lt;Image&amp;gt;&lt;/code&gt; with responsive srcsets to serve the right size for each viewport. Combined with Cloudflare edge caching, this got our Lighthouse performance score to 88-90.&lt;/p&gt;

&lt;h2&gt;
  
  
  SEO Strategy
&lt;/h2&gt;

&lt;p&gt;For a content site, SEO is everything. Some things that worked:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Structured data&lt;/strong&gt; — &lt;code&gt;Movie&lt;/code&gt;/&lt;code&gt;TVSeries&lt;/code&gt; schema with ratings, cast, and &lt;code&gt;BreadcrumbList&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic titles&lt;/strong&gt; — "Watch Grey's Anatomy (2005) Online - All Seasons on Hulu" (includes the primary streaming service)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video indexing&lt;/strong&gt; — YouTube trailer embeds with proper thumbnails got us 1,500+ videos indexed in Google&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality gating&lt;/strong&gt; — only pages with poster + overview + year + IMDb rating get into the sitemap&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SearchAction schema&lt;/strong&gt; — enables Google sitelinks searchbox&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Within 5 days of launch, Google had indexed 3,200+ pages and we were getting organic traffic from 10+ countries.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd Do Differently
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Start with provider data, not metadata&lt;/strong&gt; — We built a beautiful catalog but only had streaming availability for 1% of titles at launch. Should have prioritized the TMDB watch/providers API from day one.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Don't migrate hosting on day 4&lt;/strong&gt; — We moved from Vercel to self-hosted and accidentally noindex'd 98% of the site for 13 hours. Lesson: have a deployment checklist.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;ISR cache invalidation matters&lt;/strong&gt; — When you fix a bug, the fix doesn't go live until the ISR cache expires. We had to restart the container to flush stale cached pages.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Results After 5 Days
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;15,600+ titles with full metadata&lt;/li&gt;
&lt;li&gt;15,400+ titles with streaming provider data (99% coverage)&lt;/li&gt;
&lt;li&gt;3,200+ pages indexed by Google&lt;/li&gt;
&lt;li&gt;1,540 videos indexed&lt;/li&gt;
&lt;li&gt;415 Google impressions on best day (and climbing)&lt;/li&gt;
&lt;li&gt;Organic traffic from 10+ countries&lt;/li&gt;
&lt;li&gt;Lighthouse: 88-90 performance, 100 SEO&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.wherecaniwatch.tv" rel="noopener noreferrer"&gt;WhereCanIWatch.tv&lt;/a&gt; — completely free, no account needed. Search for any movie or TV show and see where it's streaming.&lt;/p&gt;

&lt;p&gt;The code isn't open source (yet), but happy to answer questions about the architecture, SEO strategy, or data pipeline in the comments.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with Next.js, Supabase, TMDB, and way too much coffee.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
    </item>
  </channel>
</rss>
