Compare commits

..

16 Commits
3.22 ... 3.25

Author SHA1 Message Date
Dr.Lt.Data
5dd8ea8aab feat: update policy for updating ComfyUI
https://github.com/ltdrdata/ComfyUI-Manager/issues/1552

fixed: comfyui versions should be based on commit date
https://github.com/ltdrdata/ComfyUI-Manager/issues/1566

fixed: invalid identifying of nightly node packs which has `git@github.com:...` url
fixed: switch comfyui should be based on `master` branch instead of `main` branch
fixed: switch_to_default_branch - more robust switching
refactor: endpoints for policies
2025-02-19 21:34:13 +09:00
Dr.Lt.Data
41172be796 modified: don't show outdated ComfyUI message if desktop mode
modified: use __COMFYUI_DESKTOP_VERSION__ in notice board if desktop mode
2025-02-19 07:41:54 +09:00
Dr.Lt.Data
ad1b4a9a86 feat: reverse proxy
https://github.com/ltdrdata/ComfyUI-Manager/pull/795/files
2025-02-18 23:41:44 +09:00
Dr.Lt.Data
e0e3ec02b3 update DB 2025-02-18 21:08:19 +09:00
Dr.Lt.Data
a6cc392473 fix typo 2025-02-17 22:34:16 +09:00
Dr.Lt.Data
36f48b8656 feat: custom pip_blacklist
https://github.com/ltdrdata/ComfyUI-Manager/issues/1560
2025-02-17 22:32:26 +09:00
Dr.Lt.Data
3d883ca37d update DB 2025-02-17 22:06:07 +09:00
Dr.Lt.Data
34ed81ca64 update DB 2025-02-17 21:40:48 +09:00
mohseni-mr
a9e0880572 Added ComfyUI Mohseni Kit to ComfyUI Manager (#1559) 2025-02-17 21:39:48 +09:00
Dr.Lt.Data
9500e1c3c4 update DB 2025-02-17 21:39:30 +09:00
Blueprint Coding
d81aa9cbbc Update custom-node-list.json (#1557)
Added my custom nodes: "The AI Doctors Clinical Tools"
description: "MultiInt and MultiText nodes. The MultiInt node allows management of multiple int values with configurable steps, +/- buttons, drag change, & customized labels. The MultiText node offers similar functionality for string values."
2025-02-17 21:38:37 +09:00
Dr.Lt.Data
21d4b25c2d update DB 2025-02-17 21:38:02 +09:00
CY-CHENYUE
0080783a11 Update custom-node-list.json (#1555) 2025-02-17 21:37:08 +09:00
Dr.Lt.Data
2c3f44a3f8 fixed: cm-cli.py - missing 'utils' module if COMYUI_PatH is set
https://github.com/ltdrdata/ComfyUI-Manager/issues/1556
2025-02-17 07:43:35 +09:00
Dr.Lt.Data
3ddf414097 fixed: Modify the import of chardet to be lazy.
- "Prevent `chardet` from being imported in `manager_util` before automatic dependency installation."**

https://github.com/ltdrdata/ComfyUI-Manager/issues/1554
2025-02-16 20:29:29 +09:00
Dr.Lt.Data
59fb63f1f7 ruff fix 2025-02-16 14:42:58 +09:00
22 changed files with 4011 additions and 3152 deletions

View File

@@ -149,6 +149,7 @@ In `ComfyUI-Manager` V3.0 and later, configuration files and dynamically generat
* Basic config files: `<USER_DIRECTORY>/default/ComfyUI-Manager/config.ini`
* Configurable channel lists: `<USER_DIRECTORY>/default/ComfyUI-Manager/channels.ini`
* Configurable pip overrides: `<USER_DIRECTORY>/default/ComfyUI-Manager/pip_overrides.json`
* Configurable pip blacklist: `<USER_DIRECTORY>/default/ComfyUI-Manager/pip_blacklist.list`
* Saved snapshot files: `<USER_DIRECTORY>/default/ComfyUI-Manager/snapshots`
* Startup script files: `<USER_DIRECTORY>/default/ComfyUI-Manager/startup-scripts`
* Component files: `<USER_DIRECTORY>/default/ComfyUI-Manager/components`
@@ -301,7 +302,10 @@ The following settings are applied based on the section marked as `is_default`.
* Custom pip mapping
* When you create the `pip_overrides.json` file, it changes the installation of specific pip packages to installations defined by the user.
* Please refer to the `pip_overrides.json.template` file.
* Prevent the installation of specific pip packages
* List the package names one per line in the `pip_blacklist.list` file.
* Use `aria2` as downloader
* [howto](docs/en/use_aria2.md)
@@ -309,6 +313,29 @@ The following settings are applied based on the section marked as `is_default`.
* This option can be used if performance issues occur in a Colab+GDrive environment.
## Environment Variables
The following features can be configured using environment variables:
* **COMFYUI_PATH**: The installation path of ComfyUI
* **GITHUB_ENDPOINT**: Reverse proxy configuration for environments with limited access to GitHub
* **HF_ENDPOINT**: Reverse proxy configuration for environments with limited access to Hugging Face
### Example 1:
Redirecting `https://github.com/ltdrdata/ComfyUI-Impact-Pack` to `https://mirror.ghproxy.com/https://github.com/ltdrdata/ComfyUI-Impact-Pack`
```
GITHUB_ENDPOINT=https://mirror.ghproxy.com/https://github.com
```
#### Example 2:
Changing `https://huggingface.co/path/to/somewhere` to `https://some-hf-mirror.com/path/to/somewhere`
```
HF_ENDPOINT=https://some-hf-mirror.com
```
## Scanner
When you run the `scan.sh` script:

View File

@@ -31,7 +31,9 @@ if comfy_path is None:
except:
print("\n[bold yellow]WARN: The `COMFYUI_PATH` environment variable is not set. Assuming `custom_nodes/ComfyUI-Manager/../../` as the ComfyUI path.[/bold yellow]", file=sys.stderr)
comfy_path = os.path.abspath(os.path.join(manager_util.comfyui_manager_path, '..', '..'))
sys.path.append(comfy_path)
# This should be placed here
sys.path.append(comfy_path)
import utils.extra_config
import cm_global
@@ -41,7 +43,7 @@ import cnr_utils
comfyui_manager_path = os.path.abspath(os.path.dirname(__file__))
cm_global.pip_blacklist = ['torch', 'torchsde', 'torchvision']
cm_global.pip_blacklist = {'torch', 'torchsde', 'torchvision'}
cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transformers', 'safetensors', 'kornia']
cm_global.pip_overrides = {'numpy': 'numpy<2'}
@@ -50,6 +52,14 @@ if os.path.exists(os.path.join(manager_util.comfyui_manager_path, "pip_overrides
cm_global.pip_overrides = json.load(json_file)
if os.path.exists(os.path.join(manager_util.comfyui_manager_path, "pip_blacklist.list")):
with open(os.path.join(manager_util.comfyui_manager_path, "pip_blacklist.list"), 'r', encoding="UTF-8", errors="ignore") as f:
for x in f.readlines():
y = x.strip()
if y != '':
cm_global.pip_blacklist.add(y)
def check_comfyui_hash():
repo = git.Repo(comfy_path)
core.comfy_ui_revision = len(list(repo.iter_commits('HEAD')))
@@ -135,6 +145,13 @@ class Ctx:
cm_global.pip_overrides = json.load(json_file)
cm_global.pip_overrides = {'numpy': 'numpy<2'}
if os.path.exists(core.manager_pip_blacklist_path):
with open(core.manager_pip_blacklist_path, 'r', encoding="UTF-8", errors="ignore") as f:
for x in f.readlines():
y = x.strip()
if y != '':
cm_global.pip_blacklist.add(y)
@staticmethod
def get_startup_scripts_path():
return os.path.join(core.manager_startup_script_path, "install-scripts.txt")

View File

@@ -10623,6 +10623,16 @@
"install_type": "git-clone",
"description": "These are just some nodes I wanted and couldn't find where anyone else had made them yet."
},
{
"author": "quadmoon",
"title": "ComfyUI-Riffusion",
"reference": "https://github.com/traugdor/ComfyUI-Riffusion",
"files": [
"https://github.com/traugdor/ComfyUI-Riffusion"
],
"install_type": "git-clone",
"description": "A ComfyUI extension for Riffusion audio generation."
},
{
"author": "quadme7macoon",
"title": "ComfyUI-ShadertoyGL",
@@ -11195,6 +11205,16 @@
"install_type": "git-clone",
"description": "Nodes:FastImageListToImageBatch"
},
{
"author": "jax-explorer",
"title": "comfyui-model-dynamic-loader",
"reference": "https://github.com/jax-explorer/comfyui-model-dynamic-loader",
"files": [
"https://github.com/jax-explorer/comfyui-model-dynamic-loader"
],
"install_type": "git-clone",
"description": "for comfyonline dynamic loader\ncomfyonline is comfyui cloud website"
},
{
"author": "sugarkwork",
"title": "comfyui_cohere",
@@ -15254,6 +15274,16 @@
"install_type": "git-clone",
"description": "Simple Node to make panoramic images"
},
{
"author": "RodrigoSKohl",
"title": "TryOff Anyone",
"reference": "https://github.com/RodrigoSKohl/comfyui-tryoff-anyone",
"files": [
"https://github.com/RodrigoSKohl/comfyui-tryoff-anyone"
],
"install_type": "git-clone",
"description": "Node to tryoff clothes"
},
{
"author": "nicehero",
"title": "comfyui-SegGPT",
@@ -15764,7 +15794,7 @@
"https://github.com/Cyber-BCat/ComfyUI_Auto_Caption"
],
"install_type": "git-clone",
"description": "This report contains a 'load many images' node which is going to load the image set by the number of file names from smallest to largest, and the images will no longer be loaded in the wrong order! Setting index=0 makes it load from the first small value (image flie name) image, and index=2 will load them from the second image. Another node 'load images & resize' can resize the image by the first loaded image."
"description": "Load images in order(All other nodes are in the wrong order)! Using LLM and Joy tag pipeline to tag your image(s folder), it's suitable for train FLUX LoRA and also sdxl."
},
{
"author": "cr7Por",
@@ -16156,6 +16186,17 @@
"install_type": "git-clone",
"description": "ComfyUI nodes for Janus-Pro, a unified multimodal understanding and generation framework."
},
{
"author": "CY-CHENYUE",
"title": "ComfyUI-Free-GPU",
"id": "ComfyUI-Free-GPU",
"reference": "https://github.com/CY-CHENYUE/ComfyUI-Free-GPU",
"files": [
"https://github.com/CY-CHENYUE/ComfyUI-Free-GPU"
],
"description": "ComfyUI-Free-GPU provides a node for releasing RAM and VRAM in ComfyUI.",
"install_type": "git-clone"
},
{
"author": "codecringebinge",
"title": "ComfyUI-Arrow-Key-Canvas-Navigation",
@@ -17882,6 +17923,16 @@
"install_type": "git-clone",
"description": "A collection of image processing extension nodes for ComfyUI."
},
{
"author": "yichengup",
"title": "ComfyUI-VideoBlender",
"reference": "https://github.com/yichengup/ComfyUI-VideoBlender",
"files": [
"https://github.com/yichengup/ComfyUI-VideoBlender"
],
"install_type": "git-clone",
"description": "Video clip mixing"
},
{
"author": "Horizon Team",
"title": "ComfyUI_FluxMod",
@@ -18474,16 +18525,6 @@
"install_type": "git-clone",
"description": "quickly use the prompt word tool in ComfyUI"
},
{
"author": "jax-explorer",
"title": "comfyui-model-dynamic-loader",
"reference": "https://github.com/jax-explorer/comfyui-model-dynamic-loader",
"files": [
"https://github.com/jax-explorer/comfyui-model-dynamic-loader"
],
"install_type": "git-clone",
"description": "for comfyonline dynamic loader\ncomfyonline is comfyui cloud website"
},
{
"author": "LucipherDev",
"title": "ComfyUI-Golden-Noise",
@@ -20797,7 +20838,7 @@
"https://github.com/mediocreatmybest/ComfyUI-Transformers-Pipeline"
],
"install_type": "git-clone",
"description": "Some additional ComfyUI nodes allowing tasks via the Huggingface Transformers Pipeline."
"description": "Additional ComfyUI nodes to utilise the Transformers pipeline in a simple and modular way."
},
{
"author": "iris-Neko",
@@ -20901,6 +20942,100 @@
"install_type": "git-clone",
"description": "DeepFuze is a state-of-the-art deep learning tool that seamlessly integrates with ComfyUI to revolutionize facial transformations, lipsyncing, video generation, voice cloning, face swapping, and lipsync translation. Leveraging advanced algorithms, DeepFuze enables users to combine audio and video with unparalleled realism, ensuring perfectly synchronized facial movements. This innovative solution is ideal for content creators, animators, developers, and anyone seeking to elevate their video editing projects with sophisticated AI-driven features."
},
{
"author": "TheAIDoctor",
"title": "The AI Doctors Clinical Tools",
"id": "AIDocCT",
"reference": "https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools",
"files": [
"https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools"
],
"install_type": "git-clone",
"description": "MultiInt and MultiText nodes. The MultiInt node allows management of multiple int values with configurable steps, +/- buttons, drag change, & customized labels. The MultiText node offers similar functionality for string values."
},
{
"author": "Mohammadreza Mohseni",
"title": "ComfyUI Mohseni Kit",
"id": "mohseni-kit",
"reference": "https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit",
"files": [
"https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit"
],
"install_type": "git-clone",
"description": "A collection of useful nodes for ComfyUI, including Float Preview for live image visualization."
},
{
"author": "BuffMcBigHuge",
"title": "ComfyUI-Zonos",
"reference": "https://github.com/BuffMcBigHuge/ComfyUI-Zonos",
"files": [
"https://github.com/BuffMcBigHuge/ComfyUI-Zonos"
],
"install_type": "git-clone",
"description": "TTS with Zyphra Zonos"
},
{
"author": "BahaC",
"title": "ComfyUI Zonos TTS Node",
"reference": "https://github.com/BahaC/ComfyUI-ZonosTTS",
"files": [
"https://github.com/BahaC/ComfyUI-ZonosTTS"
],
"install_type": "git-clone",
"description": "A ComfyUI custom node that brings Zonos Text-to-Speech capabilities to your workflows, featuring high-quality speech synthesis and voice cloning."
},
{
"author": "dzqdzq",
"title": "ComfyUI-crop-alpha",
"reference": "https://github.com/dzqdzq/ComfyUI-crop-alpha",
"files": [
"https://github.com/dzqdzq/ComfyUI-crop-alpha"
],
"install_type": "git-clone",
"description": "Automatic cropping of transparent areas to prevent images from being too large, while also supporting resizing to prevent image dimensions from being too large."
},
{
"author": "bbtaivi",
"title": "AIV ComfyUI Node",
"reference": "https://github.com/bbtaivi/ComfyUI-Aiv-Param",
"files": [
"https://github.com/bbtaivi/ComfyUI-Aiv-Param"
],
"install_type": "git-clone",
"description": "Used to convert workflow node settings into AIV mini-program parameters."
},
{
"author": "PrunaAI",
"title": "Pruna nodes for ComfyUI",
"reference": "https://github.com/PrunaAI/ComfyUI_pruna",
"files": [
"https://github.com/PrunaAI/ComfyUI_pruna"
],
"install_type": "git-clone",
"description": "This repository explains how to accelerate image generation in ComfyUI using Pruna, an inference optimization engine that makes AI models faster, smaller, cheaper, and greener. ComfyUI is a popular node-based GUI for image generation models, for which we provide a custom compilation node that accelerates Stable Diffusion (SD) and Flux inference, while preserving output quality."
},
{
"author": "Hellfiredragon",
"title": "comfyui-image-manipulation",
"reference": "https://github.com/Hellfiredragon/comfyui-image-manipulation",
"files": [
"https://github.com/Hellfiredragon/comfyui-image-manipulation"
],
"install_type": "git-clone",
"description": "Custom nodes to manipulate images in ComfyUI"
},
{
"author": "lunarring",
"title": "bitalino_comfy",
"reference": "https://github.com/lunarring/bitalino_comfy",
"files": [
"https://github.com/lunarring/bitalino_comfy"
],
"install_type": "git-clone",
"description": "A package implementing a Bitalino device ComfyUI custom node."
},

View File

@@ -9,6 +9,15 @@
"title_aux": "alkemann nodes"
}
],
"https://git.mmaker.moe/mmaker/sd-webui-color-enhance": [
[
"MMakerColorBlend",
"MMakerColorEnhance"
],
{
"title_aux": "mmaker/Color Enhance"
}
],
"https://github.com/0x-jerry/comfyui-rembg": [
[
"Load Rembg Model",
@@ -1341,7 +1350,6 @@
"BillBum_Modified_RegText_Node",
"BillBum_Modified_SD3_API_Node",
"BillBum_Modified_Structured_LLM_Node(Imperfect)",
"BillBum_Modified_Together_API_Node",
"BillBum_Modified_VisionLM_API_Node",
"BillBum_Modified_img2b64_url_Node",
"BillBum_NonSysPrompt_VLM_API_Node",
@@ -1370,6 +1378,7 @@
"https://github.com/AkashKarnatak/ComfyUI_faishme": [
[
"Faishme Debug",
"Faishme Load Image from Glob",
"Faishme Mannequin to Model Loader",
"Faishme Moondream",
"Load Fashion Model"
@@ -1513,6 +1522,12 @@
"TICK (JOV) \u23f1",
"TRANSFORM (JOV) \ud83c\udfdd\ufe0f",
"VALUE (JOV) \ud83e\uddec",
"VECTOR2 (JOV)",
"VECTOR2INT (JOV)",
"VECTOR3 (JOV)",
"VECTOR3INT (JOV)",
"VECTOR4 (JOV)",
"VECTOR4INT (JOV)",
"WAVE GEN (JOV) \ud83c\udf0a"
],
{
@@ -1783,6 +1798,14 @@
"title_aux": "Masquerade Nodes"
}
],
"https://github.com/BahaC/ComfyUI-ZonosTTS": [
[
"ZonosTextToSpeech"
],
{
"title_aux": "ComfyUI Zonos TTS Node"
}
],
"https://github.com/Beinsezii/bsz-cui-extras": [
[
"BSZAbsoluteHires",
@@ -2160,6 +2183,17 @@
"title_aux": "ComfyUI-Rework-X"
}
],
"https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools": [
[
"Multi Int",
"Multi Text",
"MultiInt",
"MultiText"
],
{
"title_aux": "The AI Doctors Clinical Tools"
}
],
"https://github.com/BoyuanJiang/FitDiT-ComfyUI": [
[
"FitDiTLoader",
@@ -2191,6 +2225,15 @@
"title_aux": "BRIA AI API nodes"
}
],
"https://github.com/BuffMcBigHuge/ComfyUI-Zonos": [
[
"ZonosEmotion",
"ZonosGenerate"
],
{
"title_aux": "ComfyUI-Zonos"
}
],
"https://github.com/Burgstall-labs/ComfyUI-BS_Kokoro-onnx": [
[
"Kokoro TTS"
@@ -2220,6 +2263,14 @@
"title_aux": "ccsun_node"
}
],
"https://github.com/CY-CHENYUE/ComfyUI-Free-GPU": [
[
"FreeGPUMemory"
],
{
"title_aux": "ComfyUI-Free-GPU"
}
],
"https://github.com/CY-CHENYUE/ComfyUI-InpaintEasy": [
[
"CropByMask",
@@ -2956,7 +3007,6 @@
],
"https://github.com/Dobidop/ComfyStereo": [
[
"LazyStereo",
"StereoImageNode"
],
{
@@ -3031,8 +3081,6 @@
"https://github.com/DraconicDragon/ComfyUI-Venice-API": [
[
"CharCountTextBox",
"FluxPro11_TOGETHER",
"FluxPro_TOGETHER",
"GenerateImage_VENICE",
"GenerateText_VENICE",
"UpscaleImage_VENICE",
@@ -4275,6 +4323,15 @@
"title_aux": "Hunyuan Video Resolutions"
}
],
"https://github.com/Hellfiredragon/comfyui-image-manipulation": [
[
"AlphaApplyMaskToImage",
"CreateMaskFromColorsNode"
],
{
"title_aux": "comfyui-image-manipulation"
}
],
"https://github.com/HelloVision/ComfyUI_HelloMeme": [
[
"CropPortrait",
@@ -5169,10 +5226,9 @@
],
"https://github.com/KoreTeknology/ComfyUI-Universal-Styler": [
[
"Load Nai Styles Complex CSV",
"ShowText|pysssss",
"Universal_Styler_Node",
"concat"
"\ud83d\udee1\ufe0f Load Scripts from Database",
"\ud83d\udee1\ufe0f Save Script to Database (In progress)",
"\ud83d\udee1\ufe0f Set Main Channel"
],
{
"title_aux": "ComfyUI Universal Styler"
@@ -6247,6 +6303,8 @@
"iToolsLineLoader",
"iToolsLoadImagePlus",
"iToolsLoadImages",
"iToolsLoadRandomImage",
"iToolsPreviewText",
"iToolsPromptLoader",
"iToolsPromptSaver",
"iToolsPromptStyler",
@@ -6425,9 +6483,12 @@
],
"https://github.com/MushroomFleet/DJZ-KokoroTTS": [
[
"KokoroTTS_LoadVoice_v1",
"KokoroTTS_SaveVoice_v1",
"KokoroTTS_v1",
"KokoroTTS_v2",
"KokoroTTS_v3"
"KokoroTTS_v3",
"KokoroTTS_v4"
],
{
"title_aux": "KokoroTTS Node"
@@ -7228,6 +7289,14 @@
"title_aux": "PyTorch 360\u00b0 Image Conversion Toolkit for ComfyUI"
}
],
"https://github.com/PrunaAI/ComfyUI_pruna": [
[
"CompileModel"
],
{
"title_aux": "Pruna nodes for ComfyUI"
}
],
"https://github.com/Pseudotools/Pseudocomfy": [
[
"Combiner",
@@ -7378,6 +7447,14 @@
"title_aux": "Panoramic Image Stitcher"
}
],
"https://github.com/RodrigoSKohl/comfyui-tryoff-anyone": [
[
"TryOffAnyoneNode"
],
{
"title_aux": "TryOff Anyone"
}
],
"https://github.com/RomanKuschanow/ComfyUI-Advanced-Latent-Control": [
[
"LatentAddTransform",
@@ -7463,6 +7540,7 @@
"MaskBatchComposite(FaceParsing)",
"MaskBlackOut(FaceParsing)",
"MaskBorderDissolve(FaceParsing)",
"MaskBorderDissolveAdvanced(FaceParsing)",
"MaskComposite(FaceParsing)",
"MaskCropWithBBox(FaceParsing)",
"MaskInsertWithBBox(FaceParsing)",
@@ -8546,6 +8624,7 @@
"SDVN Dic Convert",
"SDVN Easy IPAdapter weight",
"SDVN Exif check",
"SDVN Fill Square",
"SDVN Filter List",
"SDVN Flip Image",
"SDVN Google Imagen",
@@ -9720,7 +9799,9 @@
"VrchDelayOSCControlNode",
"VrchFloatKeyControlNode",
"VrchFloatOSCControlNode",
"VrchImageChannelLoaderNode",
"VrchImageFlipBookWebViewerNode",
"VrchImagePreviewBackgroundNode",
"VrchImageSaverNode",
"VrchImageSwitchOSCControlNode",
"VrchImageWebViewerNode",
@@ -11263,6 +11344,7 @@
[
"Cfg Literal (Image Saver)",
"Checkpoint Loader with Name (Image Saver)",
"Civitai Hash Fetcher (Image Saver)",
"Float Literal (Image Saver)",
"Image Saver",
"Int Literal (Image Saver)",
@@ -11483,7 +11565,6 @@
"https://github.com/arcum42/ComfyUI_SageUtils": [
[
"Sage_AdvSamplerInfo",
"Sage_CLIPTextEncodeLumina2",
"Sage_CacheMaintenance",
"Sage_CheckpointLoaderRecent",
"Sage_CheckpointLoaderSimple",
@@ -11509,7 +11590,6 @@
"Sage_ModelInfo",
"Sage_ModelReport",
"Sage_PonyPrefix",
"Sage_RenormCFG",
"Sage_SamplerInfo",
"Sage_SaveImageWithMetadata",
"Sage_SetBool",
@@ -11980,6 +12060,14 @@
"title_aux": "Mikey Nodes"
}
],
"https://github.com/bbtaivi/ComfyUI-Aiv-Param": [
[
"AivParam"
],
{
"title_aux": "AIV ComfyUI Node"
}
],
"https://github.com/bear2b/comfyui-argo-nodes": [
[
"ColorMatrixGPU",
@@ -14030,6 +14118,7 @@
"CLIPTextEncodeControlnet",
"CLIPTextEncodeFlux",
"CLIPTextEncodeHunyuanDiT",
"CLIPTextEncodeLumina2",
"CLIPTextEncodePixArtAlpha",
"CLIPTextEncodeSD3",
"CLIPTextEncodeSDXL",
@@ -14186,6 +14275,7 @@
"RandomNoise",
"RebatchImages",
"RebatchLatents",
"RenormCFG",
"RepeatImageBatch",
"RepeatLatentBatch",
"RescaleCFG",
@@ -15521,6 +15611,15 @@
"title_aux": "comfyui_dygen"
}
],
"https://github.com/dzqdzq/ComfyUI-crop-alpha": [
[
"FastAlphaCropper",
"ShrinkImage"
],
{
"title_aux": "ComfyUI-crop-alpha"
}
],
"https://github.com/e7mac/ComfyUI-ShadertoyGL": [
[
"ColorChannelOffset",
@@ -15610,6 +15709,8 @@
"MaskFromRGB_KMeans",
"ParallaxZoom",
"Random_Style_Mixture",
"SDAnyConverter",
"SDTypeConverter",
"SaveImageAdvanced",
"SavePosEmbeds",
"VAEDecode_to_folder",
@@ -18532,6 +18633,7 @@
"LoadLoraFromCivitAI",
"LoadLoraFromComfyOnline",
"LoadLoraFromHF",
"LoadLoraFromHFWithToken",
"SaveAudioAsWav",
"SaveText"
],
@@ -18958,6 +19060,7 @@
"Bjornulf_DisplayNote",
"Bjornulf_EmptyVideoLatentWithSingle",
"Bjornulf_FFmpegConfig",
"Bjornulf_FourImageViewer",
"Bjornulf_FreeVRAM",
"Bjornulf_GrayscaleTransform",
"Bjornulf_GreenScreenToTransparency",
@@ -18968,6 +19071,7 @@
"Bjornulf_ImageDetails",
"Bjornulf_ImageMaskCutter",
"Bjornulf_ImageNote",
"Bjornulf_ImageNoteLoadImage",
"Bjornulf_ImagesListToVideo",
"Bjornulf_KokoroTTS",
"Bjornulf_LatentResolutionSelector",
@@ -19010,6 +19114,7 @@
"Bjornulf_PassPreviewImage",
"Bjornulf_PauseResume",
"Bjornulf_PickInput",
"Bjornulf_PickMe",
"Bjornulf_PreviewFirstImage",
"Bjornulf_RandomImage",
"Bjornulf_RandomLineFromInput",
@@ -19046,10 +19151,13 @@
"Bjornulf_TextGeneratorStyle",
"Bjornulf_TextGeneratorText2Video",
"Bjornulf_TextReplace",
"Bjornulf_TextSplitin10",
"Bjornulf_TextSplitin5",
"Bjornulf_TextToAnything",
"Bjornulf_TextToSpeech",
"Bjornulf_TextToStringAndSeed",
"Bjornulf_TextToVariable",
"Bjornulf_ToDoList",
"Bjornulf_VideoDetails",
"Bjornulf_VideoLatentResolutionSelector",
"Bjornulf_VideoPingPong",
@@ -19057,6 +19165,8 @@
"Bjornulf_VideoToImagesList",
"Bjornulf_WriteText",
"Bjornulf_WriteTextAdvanced",
"Bjornulf_WriteTextPickMe",
"Bjornulf_WriteTextPickMeChain",
"Bjornulf_XTTSConfig",
"Bjornulf_imagesToVideo",
"Bjornulf_ollamaLoader"
@@ -19699,6 +19809,7 @@
"ImageConcanate",
"ImageConcatFromBatch",
"ImageConcatMulti",
"ImageCropByMask",
"ImageCropByMaskAndResize",
"ImageCropByMaskBatch",
"ImageGrabPIL",
@@ -19710,6 +19821,7 @@
"ImagePadForOutpaintMasked",
"ImagePadForOutpaintTargetSize",
"ImagePass",
"ImagePrepForICLora",
"ImageResizeKJ",
"ImageTensorList",
"ImageTransformByNormalizedAmplitude",
@@ -22071,6 +22183,23 @@
"title_aux": "ComfyUI Checkpoint Automatic Config"
}
],
"https://github.com/mediocreatmybest/ComfyUI-Transformers-Pipeline": [
[
"BatchProcessorTpl",
"CaptionExportTpl",
"CaptionGeneratorTpl",
"DebugNodeTpl",
"ExifMetadataExtractorTpl",
"Florence2NodeTpl",
"ImageLoaderTpl",
"ModelLoaderTpl",
"PresetModelListTpl",
"TaskListTpl"
],
{
"title_aux": "ComfyUI-Transformers-Pipeline"
}
],
"https://github.com/melMass/comfy_mtb": [
[
"Animation Builder (mtb)",
@@ -22517,6 +22646,14 @@
"title_aux": "Preset Dimensions"
}
],
"https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit": [
[
"FloatPreview"
],
{
"title_aux": "ComfyUI Mohseni Kit"
}
],
"https://github.com/moon7star9/ComfyUI_BiRefNet_Universal": [
[
"BiRefNet_Loader",
@@ -23115,15 +23252,6 @@
"title_aux": "ComfyUI-TextOnSegs"
}
],
"https://github.com/noarche/sd-webui-color-enhance": [
[
"MMakerColorBlend",
"MMakerColorEnhance"
],
{
"title_aux": "noarche/Color Enhance"
}
],
"https://github.com/noembryo/ComfyUI-noEmbryo": [
[
"PromptTermList1",
@@ -26711,6 +26839,14 @@
"title_aux": "ComfyUI_toyxyz_test_nodes"
}
],
"https://github.com/traugdor/ComfyUI-Riffusion": [
[
"RiffusionNode"
],
{
"title_aux": "ComfyUI-Riffusion"
}
],
"https://github.com/traugdor/ComfyUI-quadMoons-nodes": [
[
"quadmoonBatchFromLatent",
@@ -27939,6 +28075,17 @@
"title_aux": "ComfyUI Local Save Node"
}
],
"https://github.com/yichengup/ComfyUI-VideoBlender": [
[
"VideoBlendLayer",
"VideoBlendStack",
"VideoBlendStackAdvanced",
"VideoPreprocess"
],
{
"title_aux": "ComfyUI-VideoBlender"
}
],
"https://github.com/yichengup/ComfyUI-YCNodes": [
[
"DynamicThreshold",

View File

@@ -154,14 +154,27 @@ def switch_to_default_branch(repo):
repo.git.checkout(default_branch)
return True
except:
# try checkout master
# try checkout main if failed
try:
repo.git.checkout(repo.heads.master)
return True
except:
try:
if remote_name is not None:
repo.git.checkout('-b', 'master', f'{remote_name}/master')
return True
except:
pass
try:
repo.git.checkout(repo.heads.main)
return True
except:
try:
if remote_name is not None:
repo.git.checkout('-b', 'main', f'{remote_name}/main')
return True
except:
pass
print("[ComfyUI Manager] Failed to switch to the default branch")
return False

View File

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,9 @@ import os
import configparser
GITHUB_ENDPOINT = os.getenv('GITHUB_ENDPOINT')
def is_git_repo(path: str) -> bool:
""" Check if the path is a git repository. """
# NOTE: Checking it through `git.Repo` must be avoided.
@@ -46,16 +49,28 @@ def git_url(fullpath):
return None
def normalize_url(url) -> str:
url = url.replace("git@github.com:", "https://github.com/")
if url.endswith('.git'):
url = url[:-4]
if 'github' in url or (GITHUB_ENDPOINT is not None and GITHUB_ENDPOINT in url):
author = os.path.basename(os.path.dirname(url))
if author.startswith('git@github.com:'):
author = author.split(':')[1]
repo_name = os.path.basename(url)
if repo_name.endswith('.git'):
repo_name = repo_name[:-4]
url = f"https://github.com/{author}/{repo_name}"
return url
def normalize_url_http(url) -> str:
url = url.replace("https://github.com/", "git@github.com:")
if url.endswith('.git'):
url = url[:-4]
return url
def get_url_for_clone(url):
url = normalize_url(url)
if GITHUB_ENDPOINT is not None and url.startswith('https://github.com/'):
url = GITHUB_ENDPOINT + url[18:] # url[18:] -> remove `https://github.com`
return url

View File

@@ -42,7 +42,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 22]
version_code = [3, 25]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
@@ -177,6 +177,7 @@ manager_channel_list_path = None
manager_startup_script_path:str = None
manager_snapshot_path = None
manager_pip_overrides_path = None
manager_pip_blacklist_path = None
manager_components_path = None
def update_user_directory(user_dir):
@@ -186,6 +187,7 @@ def update_user_directory(user_dir):
global manager_startup_script_path
global manager_snapshot_path
global manager_pip_overrides_path
global manager_pip_blacklist_path
global manager_components_path
manager_files_path = os.path.abspath(os.path.join(user_dir, 'default', 'ComfyUI-Manager'))
@@ -203,6 +205,7 @@ def update_user_directory(user_dir):
manager_config_path = os.path.join(manager_files_path, 'config.ini')
manager_channel_list_path = os.path.join(manager_files_path, 'channels.list')
manager_pip_overrides_path = os.path.join(manager_files_path, "pip_overrides.json")
manager_pip_blacklist_path = os.path.join(manager_files_path, "pip_blacklist.list")
manager_components_path = os.path.join(manager_files_path, "components")
manager_util.cache_dir = os.path.join(manager_files_path, "cache")
@@ -502,6 +505,8 @@ class UnifiedManager:
def resolve_from_path(self, fullpath):
url = git_utils.git_url(fullpath)
if url:
url = git_utils.normalize_url(url)
cnr = self.get_cnr_by_repo(url)
commit_hash = git_utils.get_commit_hash(fullpath)
if cnr:
@@ -533,6 +538,8 @@ class UnifiedManager:
if node_package.is_disabled and node_package.is_unknown:
url = git_utils.git_url(node_package.fullpath)
if url is not None:
url = git_utils.normalize_url(url)
self.unknown_inactive_nodes[node_package.id] = (url, node_package.fullpath)
if node_package.is_disabled and node_package.is_nightly:
@@ -543,6 +550,8 @@ class UnifiedManager:
if node_package.is_enabled and node_package.is_unknown:
url = git_utils.git_url(node_package.fullpath)
if url is not None:
url = git_utils.normalize_url(url)
self.unknown_active_nodes[node_package.id] = (url, node_package.fullpath)
if node_package.is_from_cnr and node_package.is_disabled:
@@ -1054,8 +1063,8 @@ class UnifiedManager:
# update cache
if version_spec == 'unknown':
self.unknown_active_nodes[node_id] = self.unknown_inactive_nodes[node_id][0], to_path
del self.unknown_inactive_nodes[node_id]
self.unknown_active_nodes[node_id] = to_path
return result.with_target(to_path)
elif version_spec == 'nightly':
del self.nightly_inactive_nodes[node_id]
@@ -1236,15 +1245,16 @@ class UnifiedManager:
if url.endswith("/"):
url = url[:-1]
try:
print(f"Download: git clone '{url}'")
# Clone the repository from the remote URL
clone_url = git_utils.get_url_for_clone(url)
print(f"Download: git clone '{clone_url}'")
if not instant_execution and platform.system() == 'Windows':
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", get_default_custom_nodes_path(), url, repo_path], cwd=get_default_custom_nodes_path())
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", get_default_custom_nodes_path(), clone_url, repo_path], cwd=get_default_custom_nodes_path())
if res != 0:
return result.fail(f"Failed to clone repo: {url}")
return result.fail(f"Failed to clone repo: {clone_url}")
else:
repo = git.Repo.clone_from(url, repo_path, recursive=True, progress=GitProgress())
repo = git.Repo.clone_from(clone_url, repo_path, recursive=True, progress=GitProgress())
repo.git.clear_cache()
repo.close()
@@ -1395,7 +1405,7 @@ class UnifiedManager:
res = self.repo_install(repo_url, to_path, instant_execution=instant_execution, no_deps=no_deps, return_postinstall=return_postinstall)
if res.result:
if version_spec == 'unknown':
self.unknown_active_nodes[node_id] = to_path
self.unknown_active_nodes[node_id] = repo_url, to_path
elif version_spec == 'nightly':
cnr_utils.generate_cnr_id(to_path, node_id)
self.active_nodes[node_id] = 'nightly', to_path
@@ -1571,6 +1581,7 @@ def write_config():
'bypass_ssl': get_config()['bypass_ssl'],
"file_logging": get_config()['file_logging'],
'component_policy': get_config()['component_policy'],
'update_policy': get_config()['update_policy'],
'windows_selector_event_loop_policy': get_config()['windows_selector_event_loop_policy'],
'model_download_by_agent': get_config()['model_download_by_agent'],
'downgrade_blacklist': get_config()['downgrade_blacklist'],
@@ -1609,6 +1620,7 @@ def read_config():
'bypass_ssl': get_bool('bypass_ssl', False),
'file_logging': get_bool('file_logging', True),
'component_policy': default_conf.get('component_policy', 'workflow').lower(),
'update_policy': default_conf.get('update_policy', 'stable-comfyui').lower(),
'windows_selector_event_loop_policy': get_bool('windows_selector_event_loop_policy', False),
'model_download_by_agent': get_bool('model_download_by_agent', False),
'downgrade_blacklist': default_conf.get('downgrade_blacklist', '').lower(),
@@ -1631,6 +1643,7 @@ def read_config():
'bypass_ssl': False,
'file_logging': True,
'component_policy': 'workflow',
'update_policy': 'stable-comfyui',
'windows_selector_event_loop_policy': False,
'model_download_by_agent': False,
'downgrade_blacklist': '',
@@ -1682,14 +1695,27 @@ def switch_to_default_branch(repo):
repo.git.checkout(default_branch)
return True
except:
# try checkout master
# try checkout main if failed
try:
repo.git.checkout(repo.heads.master)
return True
except:
try:
if remote_name is not None:
repo.git.checkout('-b', 'master', f'{remote_name}/master')
return True
except:
pass
try:
repo.git.checkout(repo.heads.main)
return True
except:
try:
if remote_name is not None:
repo.git.checkout('-b', 'main', f'{remote_name}/main')
return True
except:
pass
print("[ComfyUI Manager] Failed to switch to the default branch")
return False
@@ -1723,7 +1749,7 @@ def try_install_script(url, repo_path, install_cmd, instant_execution=False):
if platform.system() != "Windows":
try:
if comfy_ui_commit_datetime.date() < comfy_ui_required_commit_datetime.date():
if not os.environ.get('__COMFYUI_DESKTOP_VERSION__') and comfy_ui_commit_datetime.date() < comfy_ui_required_commit_datetime.date():
print("\n\n###################################################################")
print(f"[WARN] ComfyUI-Manager: Your ComfyUI version ({comfy_ui_revision})[{comfy_ui_commit_datetime.date()}] is too old. Please update to the latest version.")
print("[WARN] The extension installation feature may not work properly in the current installed ComfyUI version on Windows environment.")
@@ -2040,12 +2066,14 @@ async def gitclone_install(url, instant_execution=False, msg_prefix='', no_deps=
print(f"CLONE into '{repo_path}'")
# Clone the repository from the remote URL
clone_url = git_utils.get_url_for_clone(url)
if not instant_execution and platform.system() == 'Windows':
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", get_default_custom_nodes_path(), url, repo_path], cwd=get_default_custom_nodes_path())
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", get_default_custom_nodes_path(), clone_url, repo_path], cwd=get_default_custom_nodes_path())
if res != 0:
return result.fail(f"Failed to clone '{url}' into '{repo_path}'")
return result.fail(f"Failed to clone '{clone_url}' into '{repo_path}'")
else:
repo = git.Repo.clone_from(url, repo_path, recursive=True, progress=GitProgress())
repo = git.Repo.clone_from(clone_url, repo_path, recursive=True, progress=GitProgress())
repo.git.clear_cache()
repo.close()
@@ -2339,6 +2367,32 @@ def gitclone_update(files, instant_execution=False, skip_script=False, msg_prefi
return True
def update_to_stable_comfyui(repo_path):
try:
repo = git.Repo(repo_path)
repo.git.checkout(repo.heads.master)
versions, current_tag, _ = get_comfyui_versions(repo)
if len(versions) == 0 or (len(versions) == 1 and versions[0] == 'nightly'):
logging.info("[ComfyUI-Manager] Unable to update to the stable ComfyUI version.")
return "fail", None
if versions[0] == 'nightly':
latest_tag = versions[1]
else:
latest_tag = versions[0]
if current_tag == latest_tag:
return "skip", None
else:
logging.info(f"[ComfyUI-Manager] Updating ComfyUI: {current_tag} -> {latest_tag}")
repo.git.checkout(latest_tag)
return 'updated', latest_tag
except:
traceback.print_exc()
return "fail", None
def update_path(repo_path, instant_execution=False, no_deps=False):
if not os.path.exists(os.path.join(repo_path, '.git')):
return "fail"
@@ -2346,9 +2400,12 @@ def update_path(repo_path, instant_execution=False, no_deps=False):
# version check
repo = git.Repo(repo_path)
is_switched = False
if repo.head.is_detached:
if not switch_to_default_branch(repo):
return "fail"
else:
is_switched = True
current_branch = repo.active_branch
branch_name = current_branch.name
@@ -2387,6 +2444,8 @@ def update_path(repo_path, instant_execution=False, no_deps=False):
git_pull(repo_path)
execute_install_script("ComfyUI", repo_path, instant_execution=instant_execution, no_deps=no_deps)
return "updated"
elif is_switched:
return "updated"
else:
return "skipped"
@@ -2697,9 +2756,6 @@ async def extract_nodes_from_workflow(filepath, mode='local', channel_url='defau
if ext == 'https://github.com/comfyanonymous/ComfyUI':
pass
elif ext is not None:
if 'Fooocus' in ext:
print(f">> {node_name}")
used_exts.add(ext)
else:
unknown_nodes.add(node_name)
@@ -2970,7 +3026,14 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
print("cm-cli: unexpected [0001]")
# for nightly restore
git_info = info.get('git_custom_nodes')
_git_info = info.get('git_custom_nodes')
git_info = {}
# normalize github repo
for k, v in _git_info.items():
norm_k = git_utils.normalize_url(k)
git_info[norm_k] = v
if git_info is not None:
todo_disable = []
todo_enable = []
@@ -2983,20 +3046,13 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
if v[0] == 'nightly' and cnr_repo_map.get(k):
repo_url = cnr_repo_map.get(k)
normalized_url = git_utils.normalize_url(repo_url)
normalized_url1 = git_utils.normalize_url(repo_url)
normalized_url2 = git_utils.normalize_url_http(repo_url)
if normalized_url1 not in git_info and normalized_url2 not in git_info:
if normalized_url not in git_info:
todo_disable.append(k)
else:
if normalized_url1 in git_info:
commit_hash = git_info[normalized_url1]['hash']
todo_checkout.append((v[1], commit_hash))
if normalized_url2 in git_info:
commit_hash = git_info[normalized_url2]['hash']
todo_checkout.append((v[1], commit_hash))
commit_hash = git_info[normalized_url]['hash']
todo_checkout.append((v[1], commit_hash))
for k, v in unified_manager.nightly_inactive_nodes.items():
if 'comfyui-manager' in k:
@@ -3004,18 +3060,12 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
if cnr_repo_map.get(k):
repo_url = cnr_repo_map.get(k)
normalized_url1 = git_utils.normalize_url(repo_url)
normalized_url2 = git_utils.normalize_url_http(repo_url)
normalized_url = git_utils.normalize_url(repo_url)
if normalized_url1 in git_info:
commit_hash = git_info[normalized_url1]['hash']
if normalized_url in git_info:
commit_hash = git_info[normalized_url]['hash']
todo_enable.append((k, commit_hash))
processed_urls.append(normalized_url1)
if normalized_url2 in git_info:
commit_hash = git_info[normalized_url2]['hash']
todo_enable.append((k, commit_hash))
processed_urls.append(normalized_url2)
processed_urls.append(normalized_url)
for x in todo_disable:
unified_manager.unified_disable(x, False)
@@ -3068,21 +3118,14 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
if repo_url is None:
continue
normalized_url1 = git_utils.normalize_url(repo_url)
normalized_url2 = git_utils.normalize_url_http(repo_url)
normalized_url = git_utils.normalize_url(repo_url)
if normalized_url1 not in git_info and normalized_url2 not in git_info:
if normalized_url not in git_info:
todo_disable.append(k2)
else:
if normalized_url1 in git_info:
commit_hash = git_info[normalized_url1]['hash']
todo_checkout.append((k2, commit_hash))
processed_urls.append(normalized_url1)
if normalized_url2 in git_info:
commit_hash = git_info[normalized_url2]['hash']
todo_checkout.append((k2, commit_hash))
processed_urls.append(normalized_url2)
commit_hash = git_info[normalized_url]['hash']
todo_checkout.append((k2, commit_hash))
processed_urls.append(normalized_url)
for k2, v2 in unified_manager.unknown_inactive_nodes.items():
repo_url = resolve_giturl_from_path(v2[1])
@@ -3090,18 +3133,12 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
if repo_url is None:
continue
normalized_url1 = git_utils.normalize_url(repo_url)
normalized_url2 = git_utils.normalize_url_http(repo_url)
normalized_url = git_utils.normalize_url(repo_url)
if normalized_url1 in git_info:
commit_hash = git_info[normalized_url1]['hash']
if normalized_url in git_info:
commit_hash = git_info[normalized_url]['hash']
todo_enable.append((k2, commit_hash))
processed_urls.append(normalized_url1)
if normalized_url2 in git_info:
commit_hash = git_info[normalized_url2]['hash']
todo_enable.append((k2, commit_hash))
processed_urls.append(normalized_url2)
processed_urls.append(normalized_url)
for x in todo_disable:
unified_manager.unified_disable(x, True)
@@ -3187,17 +3224,26 @@ async def check_need_to_migrate():
need_to_migrate = True
def get_comfyui_versions():
repo = git.Repo(comfy_path)
versions = [x.name for x in repo.tags if x.name.startswith('v')]
versions.reverse() # nearest tag
def get_comfyui_versions(repo=None):
if repo is None:
repo = git.Repo(comfy_path)
try:
remote = get_remote_name(repo)
repo.remotes[remote].fetch()
except:
logging.error("[ComfyUI-Manager] Failed to fetch ComfyUI")
versions = [x.name for x in repo.tags if x.name.startswith('v')]
# nearest tag
versions = sorted(versions, key=lambda v: repo.git.log('-1', '--format=%ct', v), reverse=True)
versions = versions[:4]
current_tag = repo.git.describe('--tags')
if current_tag not in versions:
versions = sorted(versions + [current_tag], reverse=True)
versions = sorted(versions + [current_tag], key=lambda v: repo.git.log('-1', '--format=%ct', v), reverse=True)
versions = versions[:4]
main_branch = repo.heads.master
@@ -3210,16 +3256,16 @@ def get_comfyui_versions():
versions[0] = 'nightly'
current_tag = 'nightly'
return versions, current_tag
return versions, current_tag, latest_tag
def switch_comfyui(tag):
repo = git.Repo(comfy_path)
if tag == 'nightly':
repo.git.checkout('main')
repo.git.checkout('master')
repo.remotes.origin.pull()
print("[ComfyUI-Manager] ComfyUI version is switched to the latest 'main' version")
print("[ComfyUI-Manager] ComfyUI version is switched to the latest 'master' version")
else:
repo.git.checkout(tag)
print(f"[ComfyUI-Manager] ComfyUI version is switched to '{tag}'")

View File

@@ -11,6 +11,7 @@ from tqdm.auto import tqdm
aria2 = os.getenv('COMFYUI_MANAGER_ARIA2_SERVER')
HF_ENDPOINT = os.getenv('HF_ENDPOINT')
if aria2 is not None:
secret = os.getenv('COMFYUI_MANAGER_ARIA2_SECRET')
url = urlparse(aria2)

View File

@@ -187,6 +187,8 @@ set_preview_method(core.get_config()['preview_method'])
def set_component_policy(mode):
core.get_config()['component_policy'] = mode
def set_update_policy(mode):
core.get_config()['update_policy'] = mode
def print_comfyui_version():
global comfy_ui_hash
@@ -209,7 +211,7 @@ def print_comfyui_version():
comfyui_tag = core.get_comfyui_tag()
try:
if core.comfy_ui_commit_datetime.date() < core.comfy_ui_required_commit_datetime.date():
if not os.environ.get('__COMFYUI_DESKTOP_VERSION__') and core.comfy_ui_commit_datetime.date() < core.comfy_ui_required_commit_datetime.date():
logging.warning(f"\n\n## [WARN] ComfyUI-Manager: Your ComfyUI version ({core.comfy_ui_revision})[{core.comfy_ui_commit_datetime.date()}] is too old. Please update to the latest version. ##\n\n")
except:
pass
@@ -452,20 +454,29 @@ async def task_worker():
return {'msg':f"An error occurred while updating '{node_name}'."}
async def do_update_comfyui() -> str:
async def do_update_comfyui(is_stable) -> str:
try:
repo_path = os.path.dirname(folder_paths.__file__)
res = core.update_path(repo_path)
latest_tag = None
if is_stable:
res, latest_tag = core.update_to_stable_comfyui(repo_path)
else:
res = core.update_path(repo_path)
if res == "fail":
logging.error("ComfyUI update fail: The installed ComfyUI does not have a Git repository.")
return "The installed ComfyUI does not have a Git repository."
elif res == "updated":
logging.info("ComfyUI is updated.")
return "success"
if is_stable:
logging.info("ComfyUI is updated to latest stable version.")
return "success-stable-"+latest_tag
else:
logging.info("ComfyUI is updated to latest nightly version.")
return "success-nightly"
else: # skipped
logging.info("ComfyUI is up-to-date.")
return "skip"
except Exception:
traceback.print_exc()
@@ -597,7 +608,7 @@ async def task_worker():
elif kind == 'update-main':
msg = await do_update(item)
elif kind == 'update-comfyui':
msg = await do_update_comfyui()
msg = await do_update_comfyui(item[1])
elif kind == 'fix':
msg = await do_fix(item)
elif kind == 'uninstall':
@@ -1337,14 +1348,15 @@ async def update_custom_node(request):
@routes.get("/manager/queue/update_comfyui")
async def update_comfyui(request):
task_queue.put(("update-comfyui", ('comfyui',)))
is_stable = core.get_config()['update_policy'] != 'nightly-comfyui'
task_queue.put(("update-comfyui", ('comfyui', is_stable)))
return web.Response(status=200)
@routes.get("/comfyui_manager/comfyui_versions")
async def comfyui_versions(request):
try:
res, current = core.get_comfyui_versions()
res, current, latest = core.get_comfyui_versions()
return web.json_response({'versions': res, 'current': current}, status=200, content_type='application/json')
except Exception as e:
logging.error(f"ComfyUI update fail: {e}", file=sys.stderr)
@@ -1435,7 +1447,7 @@ async def preview_method(request):
return web.Response(status=200)
@routes.get("/manager/component/policy")
@routes.get("/manager/policy/component")
async def component_policy(request):
if "value" in request.rel_url.query:
set_component_policy(request.rel_url.query['value'])
@@ -1446,6 +1458,17 @@ async def component_policy(request):
return web.Response(status=200)
@routes.get("/manager/policy/update")
async def update_policy(request):
if "value" in request.rel_url.query:
set_update_policy(request.rel_url.query['value'])
core.write_config()
else:
return web.Response(text=core.get_config()['update_policy'], status=200)
return web.Response(status=200)
@routes.get("/manager/channel_url_list")
async def channel_url_list(request):
channels = core.get_channel_dict()
@@ -1501,7 +1524,11 @@ async def get_notice(request):
markdown_content = match.group(1)
version_tag = core.get_comfyui_tag()
if version_tag is None:
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
version_tag = os.environ.get('__COMFYUI_DESKTOP_VERSION__')
if version_tag is not None:
markdown_content += f"<HR>ComfyUI: {version_tag} [Desktop]"
else:
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
else:
markdown_content += (f"<HR>ComfyUI: {version_tag}<BR>"
f"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;({core.comfy_ui_commit_datetime.date()})")

View File

@@ -12,7 +12,6 @@ import subprocess
import sys
import re
import logging
import chardet
cache_lock = threading.Lock()
@@ -377,6 +376,7 @@ def sanitize_filename(input_string):
def robust_readlines(fullpath):
import chardet
try:
with open(fullpath, "r") as f:
return f.readlines()

View File

@@ -230,7 +230,7 @@ var update_all_button = null;
var restart_stop_button = null;
let share_option = 'all';
var is_updating_all = false;
var is_updating = false;
// copied style from https://github.com/pythongosssss/ComfyUI-Custom-Scripts
@@ -477,6 +477,8 @@ async function updateComfyUI() {
const response = await api.fetchApi('/manager/queue/update_comfyui');
showTerminal();
is_updating = true;
await api.fetchApi('/manager/queue/start');
}
@@ -605,8 +607,14 @@ function showVersionSelectorDialog(versions, current, onSelect) {
}
async function switchComfyUI() {
switch_comfyui_button.disabled = true;
switch_comfyui_button.style.backgroundColor = "gray";
let res = await api.fetchApi(`/comfyui_manager/comfyui_versions`, { cache: "no-store" });
switch_comfyui_button.disabled = false;
switch_comfyui_button.style.backgroundColor = "";
if(res.status == 200) {
let obj = await res.json();
@@ -694,11 +702,11 @@ async function onQueueStatus(event) {
else if(event.detail.status == 'done') {
reset_action_buttons();
if(!is_updating_all) {
if(!is_updating) {
return;
}
is_updating_all = false;
is_updating = false;
let success_list = [];
let failed_list = [];
@@ -721,19 +729,25 @@ async function onQueueStatus(event) {
let msg = "";
if(success_list.length == 0 && comfyui_state != 'success') {
if(success_list.length == 0 && !comfyui_state.startsWith('success')) {
if(failed_list.length == 0) {
msg += "All custom nodes are already up to date.";
msg += "You are already up to date.";
}
}
else {
msg = "To apply the updates, you need to <button class='cm-small-button' id='cm-reboot-button5'>RESTART</button> ComfyUI.<hr>";
if(comfyui_state == 'success') {
msg += "ComfyUI is updated.<BR><BR>";
if(comfyui_state == 'success-nightly') {
msg += "ComfyUI has been updated to latest nightly version.<BR><BR>";
infoToast("ComfyUI has been updated to the latest nightly version.");
}
else if(comfyui_state.startsWith('success-stable')) {
const ver = comfyui_state.split("-").pop();
msg += `ComfyUI has been updated to ${ver}.<BR><BR>`;
infoToast(`ComfyUI has been updated to ${ver}`);
}
else if(comfyui_state == 'skip') {
msg += "ComfyUI is already up-to-date.<BR><BR>"
msg += "ComfyUI is already up to date.<BR><BR>"
}
else if(comfyui_state != null) {
msg += "Failed to update ComfyUI.<BR><BR>"
@@ -811,7 +825,7 @@ async function updateAll(update_comfyui, manager_dialog) {
customAlert('Another task is already in progress. Please stop the ongoing task first.');
}
else if(response.status == 200) {
is_updating_all = true;
is_updating = true;
await api.fetchApi('/manager/queue/start');
}
}
@@ -995,6 +1009,8 @@ class ManagerMenuDialog extends ComfyDialog {
}
createControlsLeft() {
const isElectron = 'electronAPI' in window;
let self = this;
this.update_check_checkbox = $el("input",{type:'checkbox', id:"skip_update_check"},[])
@@ -1073,25 +1089,6 @@ class ManagerMenuDialog extends ComfyDialog {
share_combo.appendChild($el('option', { value: option[0], text: `Share: ${option[1]}` }, []));
}
// default ui state
let component_policy_combo = document.createElement("select");
component_policy_combo.setAttribute("title", "When loading the workflow, configure which version of the component to use.");
component_policy_combo.className = "cm-menu-combo";
component_policy_combo.appendChild($el('option', { value: 'workflow', text: 'Component: Use workflow version' }, []));
component_policy_combo.appendChild($el('option', { value: 'higher', text: 'Component: Use higher version' }, []));
component_policy_combo.appendChild($el('option', { value: 'mine', text: 'Component: Use my version' }, []));
api.fetchApi('/manager/component/policy')
.then(response => response.text())
.then(data => {
component_policy_combo.value = data;
set_component_policy(data);
});
component_policy_combo.addEventListener('change', function (event) {
api.fetchApi(`/manager/component/policy?value=${event.target.value}`);
set_component_policy(event.target.value);
});
api.fetchApi('/manager/share_option')
.then(response => response.text())
.then(data => {
@@ -1111,6 +1108,43 @@ class ManagerMenuDialog extends ComfyDialog {
}
});
let component_policy_combo = document.createElement("select");
component_policy_combo.setAttribute("title", "When loading the workflow, configure which version of the component to use.");
component_policy_combo.className = "cm-menu-combo";
component_policy_combo.appendChild($el('option', { value: 'workflow', text: 'Component: Use workflow version' }, []));
component_policy_combo.appendChild($el('option', { value: 'higher', text: 'Component: Use higher version' }, []));
component_policy_combo.appendChild($el('option', { value: 'mine', text: 'Component: Use my version' }, []));
api.fetchApi('/manager/policy/component')
.then(response => response.text())
.then(data => {
component_policy_combo.value = data;
set_component_policy(data);
});
component_policy_combo.addEventListener('change', function (event) {
api.fetchApi(`/manager/policy/component?value=${event.target.value}`);
set_component_policy(event.target.value);
});
let update_policy_combo = document.createElement("select");
if(isElectron)
update_policy_combo.style.display = 'none';
update_policy_combo.setAttribute("title", "Sets the policy to be applied when performing an update.");
update_policy_combo.className = "cm-menu-combo";
update_policy_combo.appendChild($el('option', { value: 'stable-comfyui', text: 'Update: Stable ComfyUI' }, []));
update_policy_combo.appendChild($el('option', { value: 'nightly-comfyui', text: 'Update: Nightly ComfyUI' }, []));
api.fetchApi('/manager/policy/update')
.then(response => response.text())
.then(data => {
update_policy_combo.value = data;
});
update_policy_combo.addEventListener('change', function (event) {
api.fetchApi(`/manager/policy/update?value=${event.target.value}`);
});
return [
$el("div", {}, [this.update_check_checkbox, uc_checkbox_text]),
$el("br", {}, []),
@@ -1119,6 +1153,7 @@ class ManagerMenuDialog extends ComfyDialog {
preview_combo,
share_combo,
component_policy_combo,
update_policy_combo,
$el("br", {}, []),
$el("br", {}, []),
@@ -1145,11 +1180,6 @@ class ManagerMenuDialog extends ComfyDialog {
install_pip(url, self);
}
}
}),
$el("button.cm-experimental-button", {
type: "button",
textContent: "Unload models",
onclick: () => { free_models(); }
})
]),
];

View File

@@ -709,7 +709,7 @@ app.handleFile = handleFile;
let current_component_policy = 'workflow';
try {
api.fetchApi('/manager/component/policy')
api.fetchApi('/manager/policy/component')
.then(response => response.text())
.then(data => { current_component_policy = data; });
}

View File

@@ -13,6 +13,87 @@
{
"author": "if-ai",
"title": "ComfyUI-IF_Zonos [WIP]",
"reference": "https://github.com/if-ai/ComfyUI-IF_Zonos",
"files": [
"https://github.com/if-ai/ComfyUI-IF_Zonos"
],
"install_type": "git-clone",
"description": "Zonos for ComfyUI"
},
{
"author": "grinlau18",
"title": "Xiser_Nodes [WIP]",
"reference": "https://github.com/grinlau18/ComfyUI_XISER_Nodes",
"files": [
"https://github.com/grinlau18/ComfyUI_XISER_Nodes"
],
"install_type": "git-clone",
"description": "A collection of custom nodes for ComfyUI\nNOTE: The files in the repo are not organized."
},
{
"author": "LAOGOU-666",
"title": "Comfyui_StartPatch [UNSAFE]",
"reference": "https://github.com/LAOGOU-666/Comfyui_StartPatch",
"files": [
"https://github.com/LAOGOU-666/Comfyui_StartPatch"
],
"install_type": "git-clone",
"description": "This patch plugin optimizes the node information processing mechanism of the ComfyUI server, significantly improving server performance and response speed. It greatly reduces the browser page initialization waiting time. [w/Since this patch modifies key functions of ComfyUI, it is highly likely to cause compatibility issues.]"
},
{
"author": "badmike",
"title": "Prompt Factory [CONFLICT]",
"reference": "https://github.com/badmike/comfyui-prompt-factory",
"files": [
"https://github.com/badmike/comfyui-prompt-factory"
],
"install_type": "git-clone",
"description": "A modular system that adds randomness to prompt generation [w/This node pack is causing a name conflict with https://github.com/satche/comfyui-prompt-factory]"
},
{
"author": "owengillett",
"title": "ComfyUI-tilefusion",
"reference": "https://github.com/owengillett/ComfyUI-tilefusion",
"files": [
"https://github.com/owengillett/ComfyUI-tilefusion"
],
"install_type": "git-clone",
"description": "Helper nodes for generating seamless tiles."
},
{
"author": "Scaryplasmon",
"title": "ComfTrellis [WIP]",
"reference": "https://github.com/Scaryplasmon/ComfTrellis",
"files": [
"https://github.com/Scaryplasmon/ComfTrellis"
],
"install_type": "git-clone",
"description": "1 click install to run Trellis in ComfyUI\nNOTE: The files in the repo are not organized."
},
{
"author": "fangziheng2321",
"title": "comfyuinode_chopmask [WIP]",
"reference": "https://github.com/fangziheng2321/comfyuinode_chopmask",
"files": [
"https://github.com/fangziheng2321/comfyuinode_chopmask"
],
"install_type": "git-clone",
"description": "a custom comfyui node for '/fooocusinpaint_upload'\nNOTE: The files in the repo are not organized."
},
{
"author": "RodrigoSKohl",
"title": "Interior Design for Comfyui [WIP]",
"reference": "https://github.com/RodrigoSKohl/StableDesign-for-ComfyUI",
"files": [
"https://github.com/RodrigoSKohl/StableDesign-for-ComfyUI"
],
"install_type": "git-clone",
"description": "This node is based on MykolaL/StableDesign"
},
{
"author": "D1-3105",
"title": "ComfyUI-VideoStream",

View File

@@ -741,7 +741,6 @@
"https://github.com/DraconicDragon/ComfyUI_e621_booru_toolkit": [
[
"GetBooruPost",
"TagEncode",
"TagWikiFetch"
],
{
@@ -1444,6 +1443,14 @@
"title_aux": "Comfy UI Robe Nodes [UNSAFE]"
}
],
"https://github.com/RodrigoSKohl/StableDesign-for-ComfyUI": [
[
"interior-design-for-comfyui"
],
{
"title_aux": "Interior Design for Comfyui [WIP]"
}
],
"https://github.com/SS-snap/ComfyUI-Snap_Processing": [
[
"AreaCalculator",
@@ -1488,6 +1495,18 @@
"title_aux": "ComfyUI_Save2Discord"
}
],
"https://github.com/Scaryplasmon/ComfTrellis": [
[
"LoadTrellisModel",
"RembgSquare",
"SaveGLBFile",
"TrellisGrid",
"TrellisInference"
],
{
"title_aux": "ComfTrellis [WIP]"
}
],
"https://github.com/SeedV/ComfyUI-SeedV-Nodes": [
[
"ALL_Model_UnLoader(SEEDV)",
@@ -2359,6 +2378,7 @@
"CLIPTextEncodeControlnet",
"CLIPTextEncodeFlux",
"CLIPTextEncodeHunyuanDiT",
"CLIPTextEncodeLumina2",
"CLIPTextEncodePixArtAlpha",
"CLIPTextEncodeSD3",
"CLIPTextEncodeSDXL",
@@ -2515,6 +2535,7 @@
"RandomNoise",
"RebatchImages",
"RebatchLatents",
"RenormCFG",
"RepeatImageBatch",
"RepeatLatentBatch",
"RescaleCFG",
@@ -2901,6 +2922,14 @@
"title_aux": "ComfyUI-Showrunner-Utils"
}
],
"https://github.com/fangziheng2321/comfyuinode_chopmask": [
[
"cus_chopmask"
],
{
"title_aux": "comfyuinode_chopmask [WIP]"
}
],
"https://github.com/flowtyone/comfyui-flowty-lcm": [
[
"LCMSampler"
@@ -3037,6 +3066,16 @@
"title_aux": "ComfyUI_Grim"
}
],
"https://github.com/grinlau18/ComfyUI_XISER_Nodes": [
[
"XIS_Float_Slider",
"XIS_INT_Slider",
"XIS_PromptsWithSwitches"
],
{
"title_aux": "Xiser_Nodes [WIP]"
}
],
"https://github.com/haodman/ComfyUI_Rain": [
[
"Rain_ImageSize",
@@ -3112,6 +3151,7 @@
],
"https://github.com/hdfhssg/ComfyUI_pxtool": [
[
"ArtistLoader",
"CivitaiHelper",
"DanbooruCharacterTag",
"E621CharacterTag",
@@ -3266,6 +3306,14 @@
"title_aux": "comfyui-hydit"
}
],
"https://github.com/if-ai/ComfyUI-IF_Zonos": [
[
"IF_ZonosTTS"
],
{
"title_aux": "ComfyUI-IF_Zonos [WIP]"
}
],
"https://github.com/ilovejohnwhite/Tracer": [
[
"BillyGoatNode",
@@ -3517,6 +3565,8 @@
],
"https://github.com/kandy/ComfyUI-KAndy": [
[
"KAndyBatch2Index",
"KAndyBatchIndex",
"KAndyCivitImagesAPI",
"KAndyCivitPromptAPI",
"KAndyImageSave",
@@ -4483,6 +4533,15 @@
"title_aux": "comfyui-keshigom_custom"
}
],
"https://github.com/owengillett/ComfyUI-tilefusion": [
[
"RepeatVideo",
"VideoGridCombine"
],
{
"title_aux": "ComfyUI-tilefusion"
}
],
"https://github.com/oyvindg/ComfyUI-TrollSuite": [
[
"BinaryImageMask",

View File

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,140 @@
{
"author": "lunarring",
"title": "bitalino_comfy",
"reference": "https://github.com/lunarring/bitalino_comfy",
"files": [
"https://github.com/lunarring/bitalino_comfy"
],
"install_type": "git-clone",
"description": "A package implementing a Bitalino device ComfyUI custom node."
},
{
"author": "Hellfiredragon",
"title": "comfyui-image-manipulation",
"reference": "https://github.com/Hellfiredragon/comfyui-image-manipulation",
"files": [
"https://github.com/Hellfiredragon/comfyui-image-manipulation"
],
"install_type": "git-clone",
"description": "Custom nodes to manipulate images in ComfyUI"
},
{
"author": "Mohammadreza Mohseni",
"title": "ComfyUI Mohseni Kit",
"id": "mohseni-kit",
"reference": "https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit",
"files": [
"https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit"
],
"install_type": "git-clone",
"description": "A collection of useful nodes for ComfyUI, including Float Preview for live image visualization."
},
{
"author": "TheAIDoctor",
"title": "The AI Doctors Clinical Tools",
"id": "AIDocCT",
"reference": "https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools",
"files": [
"https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools"
],
"install_type": "git-clone",
"description": "MultiInt and MultiText nodes. The MultiInt node allows management of multiple int values with configurable steps, +/- buttons, drag change, & customized labels. The MultiText node offers similar functionality for string values."
},
{
"author": "CY-CHENYUE",
"title": "ComfyUI-Free-GPU",
"id": "ComfyUI-Free-GPU",
"reference": "https://github.com/CY-CHENYUE/ComfyUI-Free-GPU",
"files": [
"https://github.com/CY-CHENYUE/ComfyUI-Free-GPU"
],
"description": "ComfyUI-Free-GPU provides a node for releasing RAM and VRAM in ComfyUI.",
"install_type": "git-clone"
},
{
"author": "BuffMcBigHuge",
"title": "ComfyUI-Zonos",
"reference": "https://github.com/BuffMcBigHuge/ComfyUI-Zonos",
"files": [
"https://github.com/BuffMcBigHuge/ComfyUI-Zonos"
],
"install_type": "git-clone",
"description": "TTS with Zyphra Zonos"
},
{
"author": "RodrigoSKohl",
"title": "TryOff Anyone",
"reference": "https://github.com/RodrigoSKohl/comfyui-tryoff-anyone",
"files": [
"https://github.com/RodrigoSKohl/comfyui-tryoff-anyone"
],
"install_type": "git-clone",
"description": "Node to tryoff clothes"
},
{
"author": "BahaC",
"title": "ComfyUI Zonos TTS Node",
"reference": "https://github.com/BahaC/ComfyUI-ZonosTTS",
"files": [
"https://github.com/BahaC/ComfyUI-ZonosTTS"
],
"install_type": "git-clone",
"description": "A ComfyUI custom node that brings Zonos Text-to-Speech capabilities to your workflows, featuring high-quality speech synthesis and voice cloning."
},
{
"author": "dzqdzq",
"title": "ComfyUI-crop-alpha",
"reference": "https://github.com/dzqdzq/ComfyUI-crop-alpha",
"files": [
"https://github.com/dzqdzq/ComfyUI-crop-alpha"
],
"install_type": "git-clone",
"description": "Automatic cropping of transparent areas to prevent images from being too large, while also supporting resizing to prevent image dimensions from being too large."
},
{
"author": "yichengup",
"title": "ComfyUI-VideoBlender",
"reference": "https://github.com/yichengup/ComfyUI-VideoBlender",
"files": [
"https://github.com/yichengup/ComfyUI-VideoBlender"
],
"install_type": "git-clone",
"description": "Video clip mixing"
},
{
"author": "bbtaivi",
"title": "AIV ComfyUI Node",
"reference": "https://github.com/bbtaivi/ComfyUI-Aiv-Param",
"files": [
"https://github.com/bbtaivi/ComfyUI-Aiv-Param"
],
"install_type": "git-clone",
"description": "Used to convert workflow node settings into AIV mini-program parameters."
},
{
"author": "PrunaAI",
"title": "Pruna nodes for ComfyUI",
"reference": "https://github.com/PrunaAI/ComfyUI_pruna",
"files": [
"https://github.com/PrunaAI/ComfyUI_pruna"
],
"install_type": "git-clone",
"description": "This repository explains how to accelerate image generation in ComfyUI using Pruna, an inference optimization engine that makes AI models faster, smaller, cheaper, and greener. ComfyUI is a popular node-based GUI for image generation models, for which we provide a custom compilation node that accelerates Stable Diffusion (SD) and Flux inference, while preserving output quality."
},
{
"author": "quadmoon",
"title": "ComfyUI-Riffusion",
"reference": "https://github.com/traugdor/ComfyUI-Riffusion",
"files": [
"https://github.com/traugdor/ComfyUI-Riffusion"
],
"install_type": "git-clone",
"description": "A ComfyUI extension for Riffusion audio generation."
},
{
"author": "SSsnap",
"title": "ComfyUI-LBW_flux",
@@ -559,140 +692,6 @@
],
"install_type": "git-clone",
"description": "A custom ComfyUI node for interactive 360° panorama image previews. Panoramic 360 images are also sometimes known as VR photography (virtual reality), HDRI environments (ex: skyboxes), image spheres, spherical images, 360 pano, and 360 degree photos."
},
{
"author": "amorano",
"title": "Jovi_MIDI",
"id": "jovi_midi",
"reference": "https://github.com/Amorano/Jovi_MIDI",
"files": [
"https://github.com/Amorano/Jovi_MIDI"
],
"install_type": "git-clone",
"description": "Read and Process data from MIDI devices inside of ComfyUI."
},
{
"author": "nkchocoai",
"title": "ComfyUI-DanbooruPromptQuiz",
"reference": "https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz",
"files": [
"https://github.com/nkchocoai/ComfyUI-DanbooruPromptQuiz"
],
"install_type": "git-clone",
"description": "This node is for playing the game of guessing prompts by looking at images generated from prompts output by TIPO, Tagger, etc.."
},
{
"author": "agilly1989",
"title": "ComfyUI_agilly1989_motorway",
"reference": "https://github.com/agilly1989/ComfyUI_agilly1989_motorway",
"files": [
"https://github.com/agilly1989/ComfyUI_agilly1989_motorway"
],
"install_type": "git-clone",
"description": "This my implemenation of a `pipe` in ComfyUI. Is it better or worse than others? No idea."
},
{
"author": "da2el-ai",
"title": "D2-PromptSelector-comfyUI",
"reference": "https://github.com/da2el-ai/D2-PromptSelector-comfyUI",
"files": [
"https://github.com/da2el-ai/D2-PromptSelector-comfyUI"
],
"install_type": "git-clone",
"description": "This is a version of [a/sd-d2-prompt-selector](https://github.com/da2el-ai/sd-d2-prompt-selector) reworked for ComfyUI. It's just a prototype that I've put together for now. The random syntax of sd-d2-prompt-selector cannot be used; instead, the DynamicPrompt syntax is used"
},
{
"author": "kijai",
"title": "ComfyUI-StableXWrapper",
"reference": "https://github.com/kijai/ComfyUI-StableXWrapper",
"files": [
"https://github.com/kijai/ComfyUI-StableXWrapper"
],
"install_type": "git-clone",
"description": "ComfyUI wrapper for [a/StableX normal](https://github.com/Stable-X/StableNormal)/[a/delight](https://github.com/Stable-X/StableDelight) models"
},
{
"author": "GHOSTLXH",
"title": "ComfyUI-Counternodes",
"reference": "https://github.com/GHOSTLXH/ComfyUI-Counternodes",
"files": [
"https://github.com/GHOSTLXH/ComfyUI-Counternodes"
],
"install_type": "git-clone",
"description": "This node group contains a series of ComfyUI nodes with built-in counters and specific output results based on the counter's output, aimed at implementing folder traversal functionality in the ComfyUI frontend. For specific examples, please refer to the sample workflow. Of course, you can also use your imagination to create other interesting things."
},
{
"author": "Kayarte",
"title": "GeoNodes",
"reference": "https://github.com/Kayarte/GeoNodes",
"files": [
"https://github.com/Kayarte/GeoNodes/raw/refs/heads/main/GISDetectionNode.py"
],
"install_type": "copy",
"description": "GIS Processing Nodes for ComfyUI"
},
{
"author": "checkbins",
"title": "checkbin-comfy",
"id": "checkbin",
"reference": "https://github.com/checkbins/checkbin-comfy",
"files": [
"https://github.com/checkbins/checkbin-comfy"
],
"install_type": "git-clone",
"description": "These nodes allow you to make Checkbin comparisons."
},
{
"author": "ShmuelRonen",
"title": "ComfyUI Janus Pro Vision",
"reference": "https://github.com/ShmuelRonen/ComfyUI-Janus_pro_vision",
"files": [
"https://github.com/ShmuelRonen/ComfyUI-Janus_pro_vision"
],
"install_type": "git-clone",
"description": "A ComfyUI custom node extension that integrates the Janus-Pro-7B vision-language model from DeepSeek AI on your's local computer, enabling powerful image understanding and multi-turn conversation capabilities."
},
{
"author": "ZHO-ZHO-ZHO",
"title": "ComfyUI-DeepSeek-JanusPro",
"reference": "https://github.com/ZHO-ZHO-ZHO/ComfyUI-DeepSeek-JanusPro",
"files": [
"https://github.com/ZHO-ZHO-ZHO/ComfyUI-DeepSeek-JanusPro"
],
"install_type": "git-clone",
"description": "ComfyUI-DeepSeek-JanusPro"
},
{
"author": "risunobushi",
"title": "ComfyUI_DisplacementMapTools",
"reference": "https://github.com/risunobushi/ComfyUI_DisplacementMapTools",
"files": [
"https://github.com/risunobushi/ComfyUI_DisplacementMapTools"
],
"install_type": "git-clone",
"description": "NODES: Extract Displacement Map Node, Displace Logo"
},
{
"author": "Dr.Lt.Data",
"title": "ComfyUI Connection Helper",
"id": "connection-helper",
"reference": "https://github.com/ltdrdata/comfyui-connection-helper",
"nodename_pattern": "Inspire$",
"files": [
"https://github.com/ltdrdata/comfyui-connection-helper"
],
"install_type": "git-clone",
"description": "This is a helper extension for ComfyUI that assists with node connections."
},
{
"author": "yichengup",
"title": "ComfyUI_Yc_JanusPro",
"reference": "https://github.com/yichengup/ComfyUI_Yc_JanusPro",
"files": [
"https://github.com/yichengup/ComfyUI_Yc_JanusPro"
],
"install_type": "git-clone",
"description": "About DeepSeek Chat API\nGo here to register and get the api-key [a/https://platform.deepseek.com/](https://platform.deepseek.com/) Then enter api_key in config.json"
}
]
}

View File

@@ -9,6 +9,15 @@
"title_aux": "alkemann nodes"
}
],
"https://git.mmaker.moe/mmaker/sd-webui-color-enhance": [
[
"MMakerColorBlend",
"MMakerColorEnhance"
],
{
"title_aux": "mmaker/Color Enhance"
}
],
"https://github.com/0x-jerry/comfyui-rembg": [
[
"Load Rembg Model",
@@ -1341,7 +1350,6 @@
"BillBum_Modified_RegText_Node",
"BillBum_Modified_SD3_API_Node",
"BillBum_Modified_Structured_LLM_Node(Imperfect)",
"BillBum_Modified_Together_API_Node",
"BillBum_Modified_VisionLM_API_Node",
"BillBum_Modified_img2b64_url_Node",
"BillBum_NonSysPrompt_VLM_API_Node",
@@ -1370,6 +1378,7 @@
"https://github.com/AkashKarnatak/ComfyUI_faishme": [
[
"Faishme Debug",
"Faishme Load Image from Glob",
"Faishme Mannequin to Model Loader",
"Faishme Moondream",
"Load Fashion Model"
@@ -1513,6 +1522,12 @@
"TICK (JOV) \u23f1",
"TRANSFORM (JOV) \ud83c\udfdd\ufe0f",
"VALUE (JOV) \ud83e\uddec",
"VECTOR2 (JOV)",
"VECTOR2INT (JOV)",
"VECTOR3 (JOV)",
"VECTOR3INT (JOV)",
"VECTOR4 (JOV)",
"VECTOR4INT (JOV)",
"WAVE GEN (JOV) \ud83c\udf0a"
],
{
@@ -1783,6 +1798,14 @@
"title_aux": "Masquerade Nodes"
}
],
"https://github.com/BahaC/ComfyUI-ZonosTTS": [
[
"ZonosTextToSpeech"
],
{
"title_aux": "ComfyUI Zonos TTS Node"
}
],
"https://github.com/Beinsezii/bsz-cui-extras": [
[
"BSZAbsoluteHires",
@@ -2160,6 +2183,17 @@
"title_aux": "ComfyUI-Rework-X"
}
],
"https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools": [
[
"Multi Int",
"Multi Text",
"MultiInt",
"MultiText"
],
{
"title_aux": "The AI Doctors Clinical Tools"
}
],
"https://github.com/BoyuanJiang/FitDiT-ComfyUI": [
[
"FitDiTLoader",
@@ -2191,6 +2225,15 @@
"title_aux": "BRIA AI API nodes"
}
],
"https://github.com/BuffMcBigHuge/ComfyUI-Zonos": [
[
"ZonosEmotion",
"ZonosGenerate"
],
{
"title_aux": "ComfyUI-Zonos"
}
],
"https://github.com/Burgstall-labs/ComfyUI-BS_Kokoro-onnx": [
[
"Kokoro TTS"
@@ -2220,6 +2263,14 @@
"title_aux": "ccsun_node"
}
],
"https://github.com/CY-CHENYUE/ComfyUI-Free-GPU": [
[
"FreeGPUMemory"
],
{
"title_aux": "ComfyUI-Free-GPU"
}
],
"https://github.com/CY-CHENYUE/ComfyUI-InpaintEasy": [
[
"CropByMask",
@@ -2956,7 +3007,6 @@
],
"https://github.com/Dobidop/ComfyStereo": [
[
"LazyStereo",
"StereoImageNode"
],
{
@@ -3031,8 +3081,6 @@
"https://github.com/DraconicDragon/ComfyUI-Venice-API": [
[
"CharCountTextBox",
"FluxPro11_TOGETHER",
"FluxPro_TOGETHER",
"GenerateImage_VENICE",
"GenerateText_VENICE",
"UpscaleImage_VENICE",
@@ -4275,6 +4323,15 @@
"title_aux": "Hunyuan Video Resolutions"
}
],
"https://github.com/Hellfiredragon/comfyui-image-manipulation": [
[
"AlphaApplyMaskToImage",
"CreateMaskFromColorsNode"
],
{
"title_aux": "comfyui-image-manipulation"
}
],
"https://github.com/HelloVision/ComfyUI_HelloMeme": [
[
"CropPortrait",
@@ -5169,10 +5226,9 @@
],
"https://github.com/KoreTeknology/ComfyUI-Universal-Styler": [
[
"Load Nai Styles Complex CSV",
"ShowText|pysssss",
"Universal_Styler_Node",
"concat"
"\ud83d\udee1\ufe0f Load Scripts from Database",
"\ud83d\udee1\ufe0f Save Script to Database (In progress)",
"\ud83d\udee1\ufe0f Set Main Channel"
],
{
"title_aux": "ComfyUI Universal Styler"
@@ -6247,6 +6303,8 @@
"iToolsLineLoader",
"iToolsLoadImagePlus",
"iToolsLoadImages",
"iToolsLoadRandomImage",
"iToolsPreviewText",
"iToolsPromptLoader",
"iToolsPromptSaver",
"iToolsPromptStyler",
@@ -6425,9 +6483,12 @@
],
"https://github.com/MushroomFleet/DJZ-KokoroTTS": [
[
"KokoroTTS_LoadVoice_v1",
"KokoroTTS_SaveVoice_v1",
"KokoroTTS_v1",
"KokoroTTS_v2",
"KokoroTTS_v3"
"KokoroTTS_v3",
"KokoroTTS_v4"
],
{
"title_aux": "KokoroTTS Node"
@@ -7228,6 +7289,14 @@
"title_aux": "PyTorch 360\u00b0 Image Conversion Toolkit for ComfyUI"
}
],
"https://github.com/PrunaAI/ComfyUI_pruna": [
[
"CompileModel"
],
{
"title_aux": "Pruna nodes for ComfyUI"
}
],
"https://github.com/Pseudotools/Pseudocomfy": [
[
"Combiner",
@@ -7378,6 +7447,14 @@
"title_aux": "Panoramic Image Stitcher"
}
],
"https://github.com/RodrigoSKohl/comfyui-tryoff-anyone": [
[
"TryOffAnyoneNode"
],
{
"title_aux": "TryOff Anyone"
}
],
"https://github.com/RomanKuschanow/ComfyUI-Advanced-Latent-Control": [
[
"LatentAddTransform",
@@ -7463,6 +7540,7 @@
"MaskBatchComposite(FaceParsing)",
"MaskBlackOut(FaceParsing)",
"MaskBorderDissolve(FaceParsing)",
"MaskBorderDissolveAdvanced(FaceParsing)",
"MaskComposite(FaceParsing)",
"MaskCropWithBBox(FaceParsing)",
"MaskInsertWithBBox(FaceParsing)",
@@ -8546,6 +8624,7 @@
"SDVN Dic Convert",
"SDVN Easy IPAdapter weight",
"SDVN Exif check",
"SDVN Fill Square",
"SDVN Filter List",
"SDVN Flip Image",
"SDVN Google Imagen",
@@ -9720,7 +9799,9 @@
"VrchDelayOSCControlNode",
"VrchFloatKeyControlNode",
"VrchFloatOSCControlNode",
"VrchImageChannelLoaderNode",
"VrchImageFlipBookWebViewerNode",
"VrchImagePreviewBackgroundNode",
"VrchImageSaverNode",
"VrchImageSwitchOSCControlNode",
"VrchImageWebViewerNode",
@@ -11263,6 +11344,7 @@
[
"Cfg Literal (Image Saver)",
"Checkpoint Loader with Name (Image Saver)",
"Civitai Hash Fetcher (Image Saver)",
"Float Literal (Image Saver)",
"Image Saver",
"Int Literal (Image Saver)",
@@ -11483,7 +11565,6 @@
"https://github.com/arcum42/ComfyUI_SageUtils": [
[
"Sage_AdvSamplerInfo",
"Sage_CLIPTextEncodeLumina2",
"Sage_CacheMaintenance",
"Sage_CheckpointLoaderRecent",
"Sage_CheckpointLoaderSimple",
@@ -11509,7 +11590,6 @@
"Sage_ModelInfo",
"Sage_ModelReport",
"Sage_PonyPrefix",
"Sage_RenormCFG",
"Sage_SamplerInfo",
"Sage_SaveImageWithMetadata",
"Sage_SetBool",
@@ -11980,6 +12060,14 @@
"title_aux": "Mikey Nodes"
}
],
"https://github.com/bbtaivi/ComfyUI-Aiv-Param": [
[
"AivParam"
],
{
"title_aux": "AIV ComfyUI Node"
}
],
"https://github.com/bear2b/comfyui-argo-nodes": [
[
"ColorMatrixGPU",
@@ -14030,6 +14118,7 @@
"CLIPTextEncodeControlnet",
"CLIPTextEncodeFlux",
"CLIPTextEncodeHunyuanDiT",
"CLIPTextEncodeLumina2",
"CLIPTextEncodePixArtAlpha",
"CLIPTextEncodeSD3",
"CLIPTextEncodeSDXL",
@@ -14186,6 +14275,7 @@
"RandomNoise",
"RebatchImages",
"RebatchLatents",
"RenormCFG",
"RepeatImageBatch",
"RepeatLatentBatch",
"RescaleCFG",
@@ -15521,6 +15611,15 @@
"title_aux": "comfyui_dygen"
}
],
"https://github.com/dzqdzq/ComfyUI-crop-alpha": [
[
"FastAlphaCropper",
"ShrinkImage"
],
{
"title_aux": "ComfyUI-crop-alpha"
}
],
"https://github.com/e7mac/ComfyUI-ShadertoyGL": [
[
"ColorChannelOffset",
@@ -15610,6 +15709,8 @@
"MaskFromRGB_KMeans",
"ParallaxZoom",
"Random_Style_Mixture",
"SDAnyConverter",
"SDTypeConverter",
"SaveImageAdvanced",
"SavePosEmbeds",
"VAEDecode_to_folder",
@@ -18532,6 +18633,7 @@
"LoadLoraFromCivitAI",
"LoadLoraFromComfyOnline",
"LoadLoraFromHF",
"LoadLoraFromHFWithToken",
"SaveAudioAsWav",
"SaveText"
],
@@ -18958,6 +19060,7 @@
"Bjornulf_DisplayNote",
"Bjornulf_EmptyVideoLatentWithSingle",
"Bjornulf_FFmpegConfig",
"Bjornulf_FourImageViewer",
"Bjornulf_FreeVRAM",
"Bjornulf_GrayscaleTransform",
"Bjornulf_GreenScreenToTransparency",
@@ -18968,6 +19071,7 @@
"Bjornulf_ImageDetails",
"Bjornulf_ImageMaskCutter",
"Bjornulf_ImageNote",
"Bjornulf_ImageNoteLoadImage",
"Bjornulf_ImagesListToVideo",
"Bjornulf_KokoroTTS",
"Bjornulf_LatentResolutionSelector",
@@ -19010,6 +19114,7 @@
"Bjornulf_PassPreviewImage",
"Bjornulf_PauseResume",
"Bjornulf_PickInput",
"Bjornulf_PickMe",
"Bjornulf_PreviewFirstImage",
"Bjornulf_RandomImage",
"Bjornulf_RandomLineFromInput",
@@ -19046,10 +19151,13 @@
"Bjornulf_TextGeneratorStyle",
"Bjornulf_TextGeneratorText2Video",
"Bjornulf_TextReplace",
"Bjornulf_TextSplitin10",
"Bjornulf_TextSplitin5",
"Bjornulf_TextToAnything",
"Bjornulf_TextToSpeech",
"Bjornulf_TextToStringAndSeed",
"Bjornulf_TextToVariable",
"Bjornulf_ToDoList",
"Bjornulf_VideoDetails",
"Bjornulf_VideoLatentResolutionSelector",
"Bjornulf_VideoPingPong",
@@ -19057,6 +19165,8 @@
"Bjornulf_VideoToImagesList",
"Bjornulf_WriteText",
"Bjornulf_WriteTextAdvanced",
"Bjornulf_WriteTextPickMe",
"Bjornulf_WriteTextPickMeChain",
"Bjornulf_XTTSConfig",
"Bjornulf_imagesToVideo",
"Bjornulf_ollamaLoader"
@@ -19699,6 +19809,7 @@
"ImageConcanate",
"ImageConcatFromBatch",
"ImageConcatMulti",
"ImageCropByMask",
"ImageCropByMaskAndResize",
"ImageCropByMaskBatch",
"ImageGrabPIL",
@@ -19710,6 +19821,7 @@
"ImagePadForOutpaintMasked",
"ImagePadForOutpaintTargetSize",
"ImagePass",
"ImagePrepForICLora",
"ImageResizeKJ",
"ImageTensorList",
"ImageTransformByNormalizedAmplitude",
@@ -22071,6 +22183,23 @@
"title_aux": "ComfyUI Checkpoint Automatic Config"
}
],
"https://github.com/mediocreatmybest/ComfyUI-Transformers-Pipeline": [
[
"BatchProcessorTpl",
"CaptionExportTpl",
"CaptionGeneratorTpl",
"DebugNodeTpl",
"ExifMetadataExtractorTpl",
"Florence2NodeTpl",
"ImageLoaderTpl",
"ModelLoaderTpl",
"PresetModelListTpl",
"TaskListTpl"
],
{
"title_aux": "ComfyUI-Transformers-Pipeline"
}
],
"https://github.com/melMass/comfy_mtb": [
[
"Animation Builder (mtb)",
@@ -22517,6 +22646,14 @@
"title_aux": "Preset Dimensions"
}
],
"https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit": [
[
"FloatPreview"
],
{
"title_aux": "ComfyUI Mohseni Kit"
}
],
"https://github.com/moon7star9/ComfyUI_BiRefNet_Universal": [
[
"BiRefNet_Loader",
@@ -23115,15 +23252,6 @@
"title_aux": "ComfyUI-TextOnSegs"
}
],
"https://github.com/noarche/sd-webui-color-enhance": [
[
"MMakerColorBlend",
"MMakerColorEnhance"
],
{
"title_aux": "noarche/Color Enhance"
}
],
"https://github.com/noembryo/ComfyUI-noEmbryo": [
[
"PromptTermList1",
@@ -26711,6 +26839,14 @@
"title_aux": "ComfyUI_toyxyz_test_nodes"
}
],
"https://github.com/traugdor/ComfyUI-Riffusion": [
[
"RiffusionNode"
],
{
"title_aux": "ComfyUI-Riffusion"
}
],
"https://github.com/traugdor/ComfyUI-quadMoons-nodes": [
[
"quadmoonBatchFromLatent",
@@ -27939,6 +28075,17 @@
"title_aux": "ComfyUI Local Save Node"
}
],
"https://github.com/yichengup/ComfyUI-VideoBlender": [
[
"VideoBlendLayer",
"VideoBlendStack",
"VideoBlendStackAdvanced",
"VideoPreprocess"
],
{
"title_aux": "ComfyUI-VideoBlender"
}
],
"https://github.com/yichengup/ComfyUI-YCNodes": [
[
"DynamicThreshold",

View File

@@ -34,7 +34,7 @@ else:
security_check.security_check()
cm_global.pip_blacklist = ['torch', 'torchsde', 'torchvision']
cm_global.pip_blacklist = {'torch', 'torchsde', 'torchvision'}
cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transformers', 'safetensors', 'kornia']
@@ -82,6 +82,7 @@ comfyui_manager_path = os.path.abspath(os.path.dirname(__file__))
custom_nodes_base_path = folder_paths.get_folder_paths('custom_nodes')[0]
manager_files_path = os.path.abspath(os.path.join(folder_paths.get_user_directory(), 'default', 'ComfyUI-Manager'))
manager_pip_overrides_path = os.path.join(manager_files_path, "pip_overrides.json")
manager_pip_blacklist_path = os.path.join(manager_files_path, "pip_blacklist.list")
restore_snapshot_path = os.path.join(manager_files_path, "startup-scripts", "restore-snapshot.json")
manager_config_path = os.path.join(manager_files_path, 'config.ini')
@@ -122,6 +123,14 @@ if os.path.exists(manager_pip_overrides_path):
cm_global.pip_overrides['ultralytics'] = 'ultralytics==8.3.40' # for security
if os.path.exists(manager_pip_blacklist_path):
with open(manager_pip_blacklist_path, 'r', encoding="UTF-8", errors="ignore") as f:
for x in f.readlines():
y = x.strip()
if y != '':
cm_global.pip_blacklist.add(y)
def remap_pip_package(pkg):
if pkg in cm_global.pip_overrides:
res = cm_global.pip_overrides[pkg]
@@ -433,11 +442,11 @@ def ensure_dependencies():
print("## ComfyUI-Manager: installing dependencies. (GitPython)")
try:
result = subprocess.check_output(manager_util.make_pip_cmd(['install', '-r', requirements_path]))
subprocess.check_output(manager_util.make_pip_cmd(['install', '-r', requirements_path]))
except subprocess.CalledProcessError:
print("## [ERROR] ComfyUI-Manager: Attempting to reinstall dependencies using an alternative method.")
try:
result = subprocess.check_output(manager_util.make_pip_cmd(['install', '--user', '-r', requirements_path]))
subprocess.check_output(manager_util.make_pip_cmd(['install', '--user', '-r', requirements_path]))
except subprocess.CalledProcessError:
print("## [ERROR] ComfyUI-Manager: Failed to install the GitPython package in the correct Python environment. Please install it manually in the appropriate environment. (You can seek help at https://app.element.io/#/room/%23comfyui_space%3Amatrix.org)")

View File

@@ -1,7 +1,7 @@
[project]
name = "comfyui-manager"
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
version = "3.22"
version = "3.25"
license = { file = "LICENSE.txt" }
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]

View File

@@ -6,7 +6,7 @@ python -m venv venv
call venv/Scripts/activate
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
python -m pip install -r requirements.txt
python -m pip install -r custom_nodes/ComfyUI-Manager/requirements.txt
python -m pip install -r custom_nodes/comfyui-manager/requirements.txt
cd ..
echo "cd ComfyUI" >> run_gpu.bat
echo "call venv/Scripts/activate" >> run_gpu.bat

View File

@@ -1,2 +1,3 @@
.\python_embeded\python.exe -s -m pip install gitpython
.\python_embeded\python.exe -c "import git; git.Repo.clone_from('https://github.com/ltdrdata/ComfyUI-Manager', './ComfyUI/custom_nodes/comfyui-manager')"
.\python_embeded\python.exe -m pip install -r ./ComfyUI/custom_nodes/comfyui-manager/requirements.txt