Metadata for loaded models
Metadata for loaded models
[!NOTE] This projected was created with a cookiecutter template. It helps you start writing custom nodes without worrying about the Python setup.
ComfyUI/custom_nodes
.To install the dev dependencies and pre-commit (will run the ruff hook), do:
cd superloader
pip install -e .[dev]
pre-commit install
The -e
flag above will result in a "live" install, in the sense that any changes you make to your node extension will automatically be picked up the next time you run ComfyUI.
Install Github Desktop or follow these instructions for ssh.
git add .
git commit -m "project scaffolding"
git push
An example custom node is located in node.py. To learn more, read the docs.
This repo contains unit tests written in Pytest in the tests/
directory. It is recommended to unit test your custom node.
If you wish to share this custom node with others in the community, you can publish it to the registry. We've already auto-populated some fields in pyproject.toml
under tool.comfy
, but please double-check that they are correct.
You need to make an account on https://registry.comfy.org and create an API key token.
@
sign on your registry profile).REGISTRY_ACCESS_TOKEN
.A Github action will run on every git push. You can also run the Github action manually. Full instructions here. Join our discord if you have any questions!