RafiDevAI/Sortube ? reverse-engineered prompt

Reverse engineered prompt

Build me a local web app that helps me sort a big messy YouTube playlist into smaller, smarter playlists using Gemini.

I want to paste in a YouTube playlist ID and my Gemini key, then have the app analyze the videos, suggest categories, and let me choose which ones to create. It should support a normal mode and a more detailed micro niche mode, with an option to cap the number of categories at 15. I also want custom rules like only sorting into a few topics I choose.

Please make it work with my YouTube account so it can create playlists, reuse existing ones when a matching Sortube playlist already exists, and avoid adding duplicate videos. If something goes wrong, it should be safe to undo, keep track of drafts, and let me resume later if I hit YouTube limits.

I’d also like a history and manage screen where I can search videos, open them on YouTube, and bulk remove videos from original, new, or both playlists. If you need to look up current Google or YouTube docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab