Released: Feb 5, 2026
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.
- Created
scripts/upscale-existing-thumbnails.tsfor 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=Nflags for safe testing
- Script now downloads thumbnails from external sources (YouTube, TED CDN)
- Uploads processed images to Supabase Storage
- Updates database with new Supabase URLs
- Documented Replicate API strategy for future AI-powered image enhancement
- Real-ESRGAN integration plan saved for when quality enhancement is needed
scripts/upscale-existing-thumbnails.ts- Bulk thumbnail migration scriptdevnotes/FUTURE_ai-image-upscaling-replicate.md- Future AI upscaling strategy
- None (script is standalone utility)
- 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
- Run
--testflag to validate environment - Run
--dry-runto preview changes - Run
--limit=3to test small batch - Run full migration
- Verify thumbnails display correctly on https://tarottalks.app
- Verify external URL talks now have Supabase thumbnails