ComfyUI Extension: ComfyUI Model Downloader Bridge
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Bridge for the standalone ComfyUI Model Downloader. Analyzes workflows, finds missing models via AI, and manages your archive to save SSD space.
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI Model Downloader 🚀
Stop wasting time manually moving files! This tool automates your model management so you can stay in the creative flow. It analyzes your workflows, identifies missing models, and downloads them directly into the correct ComfyUI directories.
✨ Features
- 🚀 1-Click Workflow Import: Send workflows directly from ComfyUI to the downloader via the integrated Bridge.
- 🧠 AI-Powered Analysis: Uses Gemini AI (or local AI) to intelligently identify models and find download links even if metadata is missing.
- 📦 Archive Manager: Keep your models directory clean! Move rarely used models to an archive and restore them instantly when a workflow requires them.
- 👯 Storage Optimizer: Detects duplicate models using SHA-256 hashing to save disk space.
- 🔍 Corrupted File Detection: Validates models (Safetensors, etc.) to ensure they aren't corrupted or incomplete.
- 🌐 Online Search: Automatically searches CivitAI, HuggingFace, and other sources for missing models.
- 🛡️ Vault Security: Encrypted storage for your sensitive API keys and tokens.
- 📉 Smart Queue: Multi-threaded downloading with resume support and low disk space warnings.
- 🌗 ComfyUI Aesthetic: A modern dark UI that matches the ComfyUI look and feel.
- 💤 Automation: Background mode (Tray) and optional system shutdown after queue completion.
🔌 ComfyUI Bridge Setup
The "Bridge" is a small extension for ComfyUI that adds a "Send to Downloader" button.
Automatic Installation (Standalone)
- Open the Downloader App.
- Go to Settings -> ComfyUI Bridge....
- Select your ComfyUI main directory and click Start Installation.
- Restart ComfyUI.
Manual Installation
- Copy the folder
src/main/resources/comfyui-bridgeinto yourComfyUI/custom_nodes/directory. - Rename it to
comfyui-model-downloader. - Restart ComfyUI.
⚙️ ComfyUI Process Control (Dynamic Discovery)
The application can manage your ComfyUI server life cycle (Start/Stop/Restart) completely autonomously. It dynamically determines the correct paths and commands for Windows, Linux, and macOS.
How Discovery Works
The app scans your system to find ComfyUI without manual input:
- System Variables: Evaluates
COMFYUI_PATH,COMFYUI_HOME, orPINOKIO_BIN. - Context Recognition: Detects if the downloader is running within or near a ComfyUI directory.
- Environment Heuristics: Automatically locates
.venvorpythonenvironments and standard installation paths (like%USERPROFILE%\ComfyUIor Pinokio folders). - Automatic Port Sync: Adjusts the launch command's port based on your configured Server URL.
Reference Examples (Auto-Detected)
While usually not required, here is what the app typically discovers on different systems:
🪟 Windows (Pinokio)
- Python:
...\comfyuidata\.venv\Scripts\python.exe - Main:
...\ComfyUI\resources\ComfyUI\main.py - Default Port:
8000
🐧 Linux (Manual Venv)
- Python:
./venv/bin/python3 - Main:
./main.py - Default Port:
8188
🍎 macOS (Apple Silicon)
- Python:
python3(System) - Main:
/Users/name/ComfyUI/main.py
Note: You can manually override these in 🔌 Comfy Control -> Advanced Settings if you have a non-standard setup.
🚀 Getting Started
Choose one of the following three ways to install and run the application:
1. 📥 Direct Download (SourceForge) - Recommended for most users
The fastest way to get the latest stable version.
- Download the latest release from SourceForge.
2. ⚡ Quick Install (Pinokio)
If you use Pinokio, you can install this app with one click:
- Open Pinokio and click Discover.
- Search for
ComfyUI Model Downloader. - Click Download and then Install.
3. 🛠️ Manual Install (GitHub) - For developers
Download the source code and build it yourself.
Prerequisites:
- Java 17 or higher
- Maven
Steps:
- Clone the repository:
git clone https://github.com/thomaskippster/comfymodeldownloader - Build the application:
mvn clean package - Run the application:
java -jar target/ComfyUIModelDownloader.jar
📖 How to use
- Configure Paths: Go to Settings -> Directories and set your ComfyUI models path and an archive path.
- Unlock Vault: Set a password to encrypt your API keys.
- Add Keys: Under Settings -> AI & API Keys, add your Gemini API Key and HuggingFace Token for best results.
- Analyze Workflow:
- Drag & Drop a
.jsonor.pngfile into the app. - OR: Click the 🚀 icon in ComfyUI to send it automatically.
- Drag & Drop a
- Review & Download: The app lists all models. It checks if they already exist, are in the archive, or need to be downloaded.
- Start Queue: Hit "Start Queue". Archived models will be restored automatically, and missing ones will be downloaded.
Support & Feedback
If you find this tool useful, please leave a star ⭐ on GitHub! Feedback is highly appreciated – feel free to open an issue or reach out.
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.