Markdown# 🎭 ComfyUI Dynamic Dropdowns & Assistant A self-contained, high-efficiency custom node system and Windows desktop companion app for ComfyUI. This tool eliminates canvas clutter by consolidating multiple text attribute dropdowns (e.g., hair lengths, colors, styles, outfits, lighting) into a single, cohesive comma-separated output blockβ€”serving it simultaneously as a raw string and an encoded conditioning prompt. --- ## ✨ Features * **πŸ“¦ 100% Self-Contained Architecture:** No global asset messy paths. The custom node scans its own local `lists/` subfolder, ensuring absolute portability. If you copy the node folder to another machine, it works instantly. * **🧠 Dual Prompt Injection Engine:** Outputs both a raw `STRING` (for prompt text stacking/debugging) and a pre-tokenized `CONDITIONING` block (to wire directly into KSampler slots, bypassing separate Text Encode nodes). * **πŸ’» Desktop Companion Utility (`Node Builder Assistant.exe`):** A zero-dependency, hardware-accelerated Windows UI tool that lets you visually build, update, and manage your custom node structures offline without writing a single line of Python. * **🧼 Automatic Formatting & Cleaning:** The node backend strips out double quotes (`"`), trailing backslashes (`\`), empty rows, and handles string concatenation automatically, preventing messy trailing commas in your generation prompts. --- ## πŸ“‚ Repository Architecture When properly deployed, your project folder maintains this modular layout: ```text ComfyUI-Dynamic-Dropdowns/ β”œβ”€β”€ Node Builder Assistant.exe # Standalone node generator app β”œβ”€β”€ __init__.py # The active ComfyUI custom node script β”œβ”€β”€ README.md # Project documentation β”œβ”€β”€ .gitignore # Dev exclusion rules β”œβ”€β”€ lists/ # Put your choice text assets here! β”‚ β”œβ”€β”€ hair_length.txt β”‚ β”œβ”€β”€ hair_color.txt β”‚ └── hairstyle.txt └── generator/ # Companion App source folder (for updates) β”œβ”€β”€ app.py # PyWebView window engine wrapper β”œβ”€β”€ generator.html # Desktop interface panel β”œβ”€β”€ requirements.txt # Dev build dependencies └── build.py # Isolated one-click .exe compiler ---text ## βš™οΈ Installation Guide ### Standard User Installation 1. Download this repository or clone it directly into your ComfyUI nodes directory: ```bash cd ComfyUI/custom_nodes git clone [https://github.com/YOUR_USERNAME/ComfyUI-Dynamic-Dropdowns.git](https://github.com/YOUR_USERNAME/ComfyUI-Dynamic-Dropdowns.git)