Skip to content

randomname124290358349/OneRunComfyUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OneRunComfyUI

Automated and customizable script for installing and configuring ComfyUI on Windows with custom nodes and models.

demo

📋 Requirements

  • Windows 10/11
  • Internet connection

⚙️ [Fast Option] How to run (.exe)

Download OneRunComfyUI (.exe) <- Click here.

After downloading, simply run the file to start the application.

🚀 Installation and Usage (Script)

1. Install uv

Download and install uv (ultra-fast Python package manager):

  1. Open PowerShell as administrator
  2. Run the command:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Or download directly from the official website: https://docs.astral.sh/uv/getting-started/installation/

Why uv? Because it's good; Future updates will need it too.

2. Run the Script

  1. Download the OneRunComfyUI.py file
  2. Open terminal/PowerShell in the folder where you saved the file
  3. Execute:
uv run OneRunComfyUI.py

or

python OneRunComfyUI.py

The script will automatically:

  • ✅ Download and install ComfyUI
  • ✅ Set up necessary tools (7zip, curl, git)
  • ✅ Download configured custom nodes
  • ✅ Download configured models
  • ✅ Clean up temporary files

🔧 Customization

Add Custom Nodes

Edit the custom_nodes_git_urls in the main function of the OneRunComfyUI.py file:

custom_nodes_git_urls = [
    "https://github.com/rgthree/rgthree-comfy.git",
    "https://github.com/ltdrdata/ComfyUI-Manager",
    "https://github.com/your-custom-node-here.git",  # Add more here
]

Add Models

Edit the models in the main function of the OneRunComfyUI.py file:

models = [
    {
        "url": "https://huggingface.co/model/resolve/main/file.safetensors",
        "filename": "filename.safetensors",
        "directory": "checkpoints_dir"  # or upscale_dir
    },
    # Add more models here
]

Available directory types:

  • checkpoints_dir - For main models
  • upscale_dir - For upscale models

📝 Notes

  • The script checks if files already exist before downloading
  • Works offline after first installation (except for new content downloads)
  • Automatically removes temporary files after installation

🎯 After Installation

ComfyUI will be available at:

ComfyUI_windows_portable/

To start ComfyUI, run the corresponding .bat file in the installed folder.

About

Automated and customizable script for installing and configuring ComfyUI on Windows with custom nodes and models.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages