diff --git a/README.md b/README.md index 53488387..e4a76b6f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,28 @@ # ComfyUI Manager -# Installation +# Installation[method1] (ComfyUI-Manager only) + +To install ComfyUI-Manager in addition to an existing installation of ComfyUI, you can follow the following steps: 1. cd custom_nodes 2. git clone https://github.com/ltdrdata/ComfyUI-Manager.git 3. Restart ComfyUI + +# Installation[method2] (ComfyUI + ComfyUI-Manager on linux+venv) + +To install ComfyUI with ComfyUI-Manager on Linux using a venv environment, you can follow these steps: + +1. Download [scripts/install-comfyui-venv-linux.sh](https://github.com/ltdrdata/ComfyUI-Manager/raw/main/scripts/install-comfyui-venv-linux.sh) into empty install directory +- ComfyUI will be installed in the subdirectory of the specified directory, and the directory will contain the generated executable script. +2. `chmod +x install-comfyui-venv-linux.sh` +3. `./install-comfyui-venv-linux.sh` + + +You can execute ComfyUI by running either `./run_gpu.sh` or `./run_cpu.sh` depending on your system configuration. + + + # Changes * **0.12** Better installation support for Windows. * **0.9** Support keyword search in installer menu. @@ -62,9 +79,6 @@ NODE_CLASS_MAPPINGS.update({ }) ``` - - - # Support of missing nodes installation ![missing-menu](misc/missing-menu.png) diff --git a/custom-node-list.json b/custom-node-list.json index 1934c78c..5bf9ad5c 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -794,6 +794,16 @@ "install_type": "copy", "description": "Nodes:Prompt Generator. Custom prompt generator node for ComfyUI." }, + { + "author": "lordgasmic", + "title": "Wildcards", + "reference": "https://github.com/lordgasmic/ComfyUI-Wildcards", + "files": [ + "https://github.com/lordgasmic/ComfyUI-Wildcards/raw/master/wildcards.py" + ], + "install_type": "copy", + "description": "Nodes:CLIPTextEncodeWithWildcards. This wildcard node is a wildcard node that operates based on the seed." + }, { "author": "theally", "title": "TheAlly's Custom Nodes", diff --git a/extension-node-map.json b/extension-node-map.json index 5f5006b3..0db5227a 100644 --- a/extension-node-map.json +++ b/extension-node-map.json @@ -557,6 +557,7 @@ "MiDaS Mask Image", "MiDaS Model Loader", "Model Input Switch", + "Number Counter", "Number Input Condition", "Number Input Switch", "Number Multiple Of", @@ -737,6 +738,9 @@ "Random_Sampler", "VAELoaderDecode" ], + "https://github.com/lordgasmic/ComfyUI-Wildcards/raw/master/wildcards.py": [ + "CLIPTextEncodeWithWildcards" + ], "https://github.com/lrzjason/ComfyUIJasonNode/raw/main/SDXLMixSampler.py": [ "SDXLMixSampler" ], diff --git a/scan.sh b/scan.sh new file mode 100755 index 00000000..53fb9039 --- /dev/null +++ b/scan.sh @@ -0,0 +1,3 @@ +source ../../venv/bin/activate +rm .tmp/*.py +python scanner.py \ No newline at end of file diff --git a/scripts/install-comfyui-venv-linux.sh b/scripts/install-comfyui-venv-linux.sh new file mode 100755 index 00000000..be473dc6 --- /dev/null +++ b/scripts/install-comfyui-venv-linux.sh @@ -0,0 +1,21 @@ +git clone https://github.com/comfyanonymous/ComfyUI +cd ComfyUI/custom_nodes +git clone https://github.com/ltdrdata/ComfyUI-Manager +cd .. +python -m venv venv +source venv/bin/activate +python -m pip install -r requirements.txt +python -m pip install -r custom_nodes/ComfyUI-Manager/requirements.txt +python -m pip install torchvision +cd .. +echo "#!/bin/bash" > run_gpu.sh +echo "cd ComfyUI" >> run_gpu.sh +echo "source venv/bin/activate" >> run_gpu.sh +echo "python main.py --preview-method auto" >> run_gpu.sh +chmod +x run_gpu.sh + +echo "#!/bin/bash" > run_cpu.sh +echo "cd ComfyUI" >> run_cpu.sh +echo "source venv/bin/activate" >> run_cpu.sh +echo "python main.py --preview-method auto --cpu" >> run_cpu.sh +chmod +x run_cpu.sh