Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.87 KB

File metadata and controls

56 lines (41 loc) · 1.87 KB

v1.5.5 - Bulk Thumbnail Migration to WebP 🖼️

Released: Feb 5, 2026

Summary

Migrated all 98 talk thumbnails to consistent 1280×720 WebP format via a one-time script, including support for external URLs from YouTube/TED CDN.


Features

Bulk Thumbnail Migration Script

  • Created scripts/upscale-existing-thumbnails.ts for one-time migration
  • Processes both Supabase-hosted and external URL thumbnails
  • Converts all images to 1280×720 WebP format
  • Archives original JPG files to _archive/YYYY-MM-DD/ subfolder before processing
  • Includes comprehensive validation tests before migration
  • Supports --dry-run, --test, and --limit=N flags for safe testing

External URL Support

  • Script now downloads thumbnails from external sources (YouTube, TED CDN)
  • Uploads processed images to Supabase Storage
  • Updates database with new Supabase URLs

Future AI Upscaling Documentation

  • Documented Replicate API strategy for future AI-powered image enhancement
  • Real-ESRGAN integration plan saved for when quality enhancement is needed

Files Changed

New Files

  • scripts/upscale-existing-thumbnails.ts - Bulk thumbnail migration script
  • devnotes/FUTURE_ai-image-upscaling-replicate.md - Future AI upscaling strategy

Modified Files

  • None (script is standalone utility)

Migration Results

  • Total talks processed: 98
  • Successfully migrated: 98 (92 from Supabase, 3 from external URLs, 3 already WebP)
  • Archive location: talk-thumbnails/_archive/2026-02-05/
  • Storage savings: ~25-30% reduction via WebP compression

Testing Checklist

  • Run --test flag to validate environment
  • Run --dry-run to preview changes
  • Run --limit=3 to test small batch
  • Run full migration
  • Verify thumbnails display correctly on https://tarottalks.app
  • Verify external URL talks now have Supabase thumbnails