A CLI tool to install custom nodes for ComfyUI using YAML configuration.
Project description
Comfy Installer
Comfy Installer is a CLI tool that simplifies installing custom nodes and models for ComfyUI. It uses a YAML configuration to automate the setup, ensuring that all dependencies, custom nodes, and model files are installed correctly.
Features
-
Easy Custom Node Installation
Install nodes from GitHub repositories, ZIP files, or direct file copy. -
Automatic Model Download
Fetches model files from URLs and places them into the correct ComfyUI directories. -
YAML-Based Configuration
Manage installations via a single YAML file, ensuring reproducible setups. -
Workflow Integration
The includedComfyRunnerclass can start ComfyUI, manage installations, and run workflows. -
Lightweight & Extensible
The tool is built with modular utilities, making it easy to customize or extend.
Requirements
- Python 3.9+
- pip or a similar package manager
Installation
From PyPI with uv
uv add comfy-installer
From Source
- Clone the repository:
git clone https://github.com/khengyun/comfy-installer.git cd comfy-installer
- Install dependencies:
uv run pip install -r requirements.txt
- (Optional) Install as a package:
python setup.py install
Usage
1. Prepare a YAML File
Create a YAML file (e.g., config.yaml) with the nodes and models you want to install:
nodes:
- name: "ComfyUI-AnimateDiff-Evolved"
url: "https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved"
install_type: "git-clone"
- name: "ComfyUI-Advanced-ControlNet"
url: "https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet"
install_type: "git-clone"
models:
- name: "sd_xl_base_18897557.0.safetensors"
url: "https://civitai.com/api/download/models/299716"
dest: "./ComfyUI/models/checkpoints/"
- name: "mod_sdxl.safetensors"
url: "https://civitai.com/api/download/models/299716"
dest: "./ComfyUI/models/checkpoints/"
2. Run the Installer via CLI
comfy-install --yaml path/to/config.yaml [--install-dir /your/install/path]
Contributing
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature. - Commit your changes:
git commit -m 'Add feature'. - Push to the branch:
git push origin feature/your-feature. - Open a pull request.
License
This project is licensed under the MIT License.
Support
For issues or feature requests, please open an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comfy_installer-0.1.11.tar.gz.
File metadata
- Download URL: comfy_installer-0.1.11.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0fc29a7ec2b92da5c987146ead2a2699476db48e7062dc1b29cf3cf93902746
|
|
| MD5 |
52830ff72b4581a0d0a48ee2bcef7e98
|
|
| BLAKE2b-256 |
0768f3c8d3c38d6c43e9e847076dd3c0d1719fbc5d8706f6dcb7a905e3ec52bc
|
Provenance
The following attestation bundles were made for comfy_installer-0.1.11.tar.gz:
Publisher:
bump-version-release.yml on khengyun/comfy-installer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
comfy_installer-0.1.11.tar.gz -
Subject digest:
f0fc29a7ec2b92da5c987146ead2a2699476db48e7062dc1b29cf3cf93902746 - Sigstore transparency entry: 170944304
- Sigstore integration time:
-
Permalink:
khengyun/comfy-installer@fc8985b83fd50e183d527a80cde3682c37f530eb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/khengyun
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
bump-version-release.yml@fc8985b83fd50e183d527a80cde3682c37f530eb -
Trigger Event:
push
-
Statement type:
File details
Details for the file comfy_installer-0.1.11-py3-none-any.whl.
File metadata
- Download URL: comfy_installer-0.1.11-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f8ba6f088020e00b45ec3a57dbf06707231db8f2a871ab8bfcdcbcb490b2f4a
|
|
| MD5 |
eafaadcb9e9cd88f4d86b9470543db61
|
|
| BLAKE2b-256 |
a0da252de4b5f3ea6e0f665ee9f26f34ebedfd4a1d8db00262a6cb434af4a3dd
|
Provenance
The following attestation bundles were made for comfy_installer-0.1.11-py3-none-any.whl:
Publisher:
bump-version-release.yml on khengyun/comfy-installer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
comfy_installer-0.1.11-py3-none-any.whl -
Subject digest:
2f8ba6f088020e00b45ec3a57dbf06707231db8f2a871ab8bfcdcbcb490b2f4a - Sigstore transparency entry: 170944305
- Sigstore integration time:
-
Permalink:
khengyun/comfy-installer@fc8985b83fd50e183d527a80cde3682c37f530eb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/khengyun
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
bump-version-release.yml@fc8985b83fd50e183d527a80cde3682c37f530eb -
Trigger Event:
push
-
Statement type: