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.
Metadata
Release files for comfy-installer 0.1.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| comfy_installer-0.1.17.tar.gz | 26.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comfy_installer-0.1.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.4 kB
Release files / comfy_installer-0.1.17.tar.gz
| Download URL | comfy_installer-0.1.17.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee379bd528ca86e319b9b7c0de7d13231aad9db5f7b28762cfd61d935c3c0688
|
|
BLAKE2b-256 checksum How to use checksums |
68de95c8a337996e376c7c6feb06b9b24864629b911a8a44ae870ec489c7b9a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.
Transparency logRelease files / comfy_installer-0.1.17-py3-none-any.whl
| Download URL | comfy_installer-0.1.17-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45d781d2d89447d0435cc627b8c600479f8bb498865687c827c5babdd9779fd1
|
|
BLAKE2b-256 checksum How to use checksums |
35fc4bdd4c23107005611e7a5f9271c082a1918a9a79990fbf5d6129e71d16c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.
Transparency logSecurity for comfy-installer 0.1.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for comfy_installer-0.1.17.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 19, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.