Build this tool: CaptionCraft - Auto-Generate "Relatable Caption" Variants for Shorts Product folder name: CaptionCraft PRODUCT BRIEF Free tool where creator pastes a short video transcript or topic; tool generates 10 caption variants split into categories (relatable, satire, hopecore, wholesome) using a prompt template tuned on viral caption structures, plus a hook-strength score based on question/emotion word density. CONTEXT Difficulty: Easy Category: Howto & Style TREND HOOK Videos like "Who can relate?" and "It's honestly sad it's gotten to this point" show one-line relatable captions driving huge engagement, but creators often reuse the same 3 phrases. VIDEO ANGLE Short: "I built an AI that writes better captions than Gixxer Brah." Long video: build the caption generator in Cursor, test it against 5 trending caption styles from the list, show before/after engagement prediction. WHY THIS TOOL Practical content-workflow tool for the Shorts-caption-dependent creator economy, ships fast. STACK (standalone desktop app) - Python 3 + tkinter GUI — standalone desktop tool (not a website). - Even if the brief says "web app" / "site", ship a Python desktop GUI for v1. - Include: main .py, requirements.txt, run_*.bat, build_exe.bat (PyInstaller), and an exports/ folder for saved output. - Smoke-test core logic offline without requiring live API keys when possible. GUI RULES - Clean, readable dark or light UI — pick one consistent palette (no brand lock-in required). - Clear app title / hero name derived from the product folder name. - Short muted "How to use: …" line under the title (one sentence: what to enter → what button → what you get). - Prefer real inputs (paste URL / fields / text) over fake demos. - No sample dropdowns or canned demo datasets unless explicitly requested. - Dropdowns: NEVER ttk.Combobox (unreadable on Windows dark UI). Use DarkSelect (preferred, no grab_set) OR dark-styled tk.OptionMenu (BG_ELEVATED / TEXT / active #243056 / BORDER+TEAL highlight; style the popup menu the same way). Never use grab_set (breaks close behavior on Windows). - Handle window close with WM_DELETE_WINDOW. - One job per tool; working copy/export; avoid overbuilt dashboards. APIs & KEYS - Never hardcode API keys or secrets into source or the packaged EXE. - Store keys in a local user settings JSON under %LOCALAPPDATA%\\ (or a single shared settings file if multiple tools share a key). - Label each key field clearly in the UI (e.g. YouTube API key vs Gemini API key). - Local/offline logic must work first; APIs are optional enhancements where possible. - Call network APIs in a background thread; update the UI with after(...). On failure, keep local results and show a clear error. Gemini API (optional copy / polish) - Add Gemini (AI-first for paste-ready copy) when the tool WRITES language creators will paste online (titles, captions, descriptions, pinned comments, end-cards, disclaimers, SEO templates). - UI: API key field + Model text field + checkbox like "Use Gemini" / "Polish with Gemini". - Default model: gemini-2.5-flash-lite. Also accept typed model ids (e.g. gemini-3.1-flash-lite). - Do not hardcode the model URL/path; pass the Model field value into the generate call. - Pattern: Gemini writes paste-ready copy first when enabled. Local templates/scores are the fallback if Gemini is off or fails. - On Gemini failure: keep local output, show error, do not wipe results. - Flash Lite is enough for short creative jobs — do not default to Pro. IMPLEMENTATION NOTES - Match the product brief closely; keep v1 focused on one job. - Support Copy and/or Export of results where useful (TXT/CSV/JSON as fits the tool). - Validate inputs; show empty/error states clearly. - If scoring/grading: show score + short explanation of what failed/passed. - If generating copy: show multiple variants when the brief asks for them. DEMO INPUT → OUTPUT (from live scan) - Trending format: "I spent all week editing Shorts and my captions still sound flat" - Transcript Or Topic: "I spent all week editing Shorts and my captions still sound flat" - How Many Captions: 5 - Primary button name: Generate captions - Example result lines: 1. hopecore | A little hope for anyone stuck in spent / week right now 2. relatable | My brain during spent / week: chaos. My captions: also chaos. 3. satire | Unpaid internship in spent / week trauma OUTPUT - Runnable standalone Python app - requirements.txt + run bat + optional EXE build script - In-app how-to line - Example of typical input → output (in README or comments, not fake UI samples)