Ahmad-debug-stack/Video-Scraper — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple local web app where I can search for short videos and download them as mp4 files. I want a clean page with a search box, a results list, and a download button on each result. Use the Google Short Videos search through SerpApi to find the videos, then use yt dlp on the server to actually download the file.

Please make it run locally on port 3000 with a small backend and a basic frontend. The app should read the SerpApi key from a .env file instead of hardcoding it. When I click download, save the video into a downloads folder, create that folder automatically if it does not exist, and let me open the saved files in the browser too.

I also want simple API routes for searching and downloading, plus basic error handling so it tells me when the API key is missing, a search fails, or a download does not work. If you need details, check the current SerpApi and yt dlp docs online.

Want more depth? Deep Reverse