github.com
)
and then submit a Pull Request on the ComfyUI Manager git, in which you have edited custom-node-list.json
to add your node.
More details.
When a user installs the node, ComfyUI Manager will:
Git Clone
Install Python Dependencies
requirements.txt
(if present),pip
, it is possible that your node requirements will be in conflict with other
custom nodes. Don’t make your requirements.txt
any more restrictive than they need to be.Run Install Script
install.py
, if it is present in the custom node repository.
install.py
is executed from the root path of the custom noderequirements.txt
- Python dependencies as mentioned aboveinstall.py
, uninstall.py
- executed when the custom node is installed or uninstalled
uninstall.py
being rundisable.py
, enable.py
- executed when a custom node is disabled or re-enabled
enable.py
is only run when a disabled node is re-enabled - it should just reverse anything done in disable.py
.disabled
appended to their names, and Comfy ignores these modulesnode_list.json
- only required if the custom nodes pattern of NODE_CLASS_MAPPINGS is not conventional.