Folder Structure - Suzie1/ComfyUI_Guide_To_Making_Custom_Nodes GitHub Wiki
A project can contain multiple folders for organising your code and other content.
Here is an example folder structure:
nodes folder
This folder may contain multiple node files. In a small node pack a single file will normally be fine, but in larger node packs you may want to organise nodes into different files by type or function.
This folder can also contain files for functions that are shared by multiple nodes.
A nodes folder is optional, but is recommended if you plan to have multiple node files.
workflows folder
Demo comfyui workflows may be included here.
web or js folder
js apps may be included here.
images folders
An images folder could contain images with embedded workflows or reference images showing all the nodes in the node pack.
fonts folders
A fonts folder could be useful if you have nodes that generate images with overlay text. E.g. annotations on XY grids.
styles folder
A styles folder could be useful if you have nodes used to generate prompt styles. The folder could be used for the json files containing the style definitions.