Compare commits

...

11 Commits
3.7.4 ... 3.8.1

Author SHA1 Message Date
Dr.Lt.Data
c1d0bb830e fixed: try fix doesn't work for non-cnr nodes. 2025-01-18 13:19:47 +09:00
Matvey Kashkinov
93dde4c985 add manager_files_directory to Ctx (#1461) 2025-01-18 13:19:35 +09:00
Dr.Lt.Data
0eb1cbce43 feat: provide error messages for import failed custom node. 2025-01-18 13:04:33 +09:00
dsigmabcn
a935c8bb35 Update install-comfyui-venv-linux.sh (#1454)
* Update install-comfyui-venv-linux.sh

git clone is now done in 'comfyui-manager'. pip install of the requirements of the manager needs to change the path name accordingly

* Update install-comfyui-venv-linux.sh

pip install of requirements.txt done in directory 'comfyui-manager'
2025-01-16 17:47:28 +09:00
Dr.Lt.Data
03eea8ce15 fixed: source url of nightly should be repository not reference 2025-01-16 01:47:19 +09:00
Dr.Lt.Data
76b1adebc4 update DB 2025-01-16 01:24:22 +09:00
ciga2011
3be8f685bd Update custom-node-list.json (#1453)
Add ComfyUI-PromptOptimizer
2025-01-16 01:01:44 +09:00
Dr.Lt.Data
4a392395ab fixed: ruff fail 2025-01-15 17:35:26 +09:00
Shubz World
fd9755e4a0 Update custom-node-list.json (#1452)
updated usernames from mithamunda to theshubzworld
2025-01-15 17:32:15 +09:00
Dr.Lt.Data
34151b03ef refactor: print -> logging
fixed: log message - manager-core -> ComfyUI-Manager
2025-01-15 12:24:19 +09:00
Robin Huang
f63205f86c Use requests library to resolve SSL errors. (#1450) 2025-01-15 07:20:45 +09:00
20 changed files with 3381 additions and 2988 deletions

View File

@@ -95,6 +95,7 @@ class Ctx:
self.mode = 'cache'
self.user_directory = None
self.custom_nodes_paths = [os.path.join(core.comfy_path, 'custom_nodes')]
self.manager_files_directory = os.path.dirname(__file__)
if Ctx.folder_paths is None:
try:

View File

@@ -12337,7 +12337,7 @@
"https://github.com/exdysa/comfyui-selector"
],
"install_type": "git-clone",
"description": "Nodes:Selector. Quick and dirty parameter generator node for ComfyUI."
"description": "Selector and Recourse. Presets & failsafes. Work flow. EXDYSA"
},
{
"author": "Jin Liu",
@@ -14861,6 +14861,16 @@
"install_type": "git-clone",
"description": "This repository contains custom nodes for ComfyUI that integrate the fal.ai FLUX.1 [dev] with LoRA API, specifically for text-to-image generation. These nodes allow you to use the FLUX.1 model directly within your ComfyUI workflows."
},
{
"author": "yhayano-ponotech",
"title": "ComfyUI Local Save Node",
"reference": "https://github.com/yhayano-ponotech/comfyui-save-image-local",
"files": [
"https://github.com/yhayano-ponotech/comfyui-save-image-local"
],
"install_type": "git-clone",
"description": "ComfyUI custom node for directly downloading generated images to your local PC with customizable filenames and formats (PNG/JPEG)."
},
{
"author": "Rvage0815",
"title": "ComfyUI-RvTools",
@@ -16009,17 +16019,6 @@
"install_type": "git-clone",
"description": "This plugin works with [a/IF_AI_Tools](https://github.com/if-ai/ComfyUI-IF_AI_tools) to build a workflow in ComfyUI that uses AI to assist in generating prompts."
},
{
"author": "jetchopper",
"title": "ComfyUI-GeneraNodes",
"id": "genera",
"reference": "https://github.com/evolox/ComfyUI-GeneraNodes",
"files": [
"https://github.com/evolox/ComfyUI-GeneraNodes"
],
"install_type": "git-clone",
"description": "Genera custom nodes and extensions"
},
{
"author": "Nojahhh",
"title": "ComfyUI GLM-4 Wrapper",
@@ -16744,21 +16743,21 @@
"description": "NODES:Aesthetics, Aesthetics V2, Load AI Toolkit Latent Flux, Send_to_Eagle"
},
{
"author": "mithamunda",
"author": "theshubzworld",
"title": "OllamaKiller Node for ComfyUI",
"reference": "https://github.com/mithamunda/ComfyUI-ollama_killer",
"reference": "https://github.com/theshubzworld/ComfyUI-ollama_killer",
"files": [
"https://github.com/mithamunda/ComfyUI-ollama_killer"
"https://github.com/theshubzworld/ComfyUI-ollama_killer"
],
"install_type": "git-clone",
"description": "OllamaKiller is a utility node for ComfyUI designed to manage VRAM usage more efficiently by automatically terminating the ollama_llama_server.exe process. This is particularly useful for users with limited VRAM, allowing them to clear up memory after running models and improve workflow performance."
},
{
"author": "mithamunda",
"author": "theshubzworld",
"title": "SD3.5 Empty Latent Size Picker",
"reference": "https://github.com/mithamunda/ComfyUI-SD3.5-Latent-Size-Picker",
"reference": "https://github.com/theshubzworld/ComfyUI-SD3.5-Latent-Size-Picker",
"files": [
"https://github.com/mithamunda/ComfyUI-SD3.5-Latent-Size-Picker"
"https://github.com/theshubzworld/ComfyUI-SD3.5-Latent-Size-Picker"
],
"install_type": "git-clone",
"description": "A utility node for generating empty latent tensors in Stable Diffusion v3.5-compatible resolutions. This node allows for custom batch sizes, width/height overrides, and inverting aspect ratios, ensuring flexibility and compatibility in ComfyUI workflows."
@@ -18049,12 +18048,12 @@
"description": "Advanced samplers with new noise scaling math to enable SDE sampling with all publicly available rectified flow models; new unsampling/noise inversion methods and other advanced techniques for inpainting and/or guiding the sampling process with latent images. 40 sampler types, 20 noise types, 7 noise scaling modes, in a single node. Also includes a wide variety of QoF and other utility nodes for manipulating sigmas, latents, images, and more."
},
{
"author": "mithamunda",
"author": "theshubzworld",
"title": "Together Vision Node",
"id": "comfyui_together_vision",
"reference": "https://github.com/mithamunda/ComfyUI-TogetherVision",
"reference": "https://github.com/theshubzworld/ComfyUI-TogetherVision",
"files": [
"https://github.com/mithamunda/ComfyUI-TogetherVision"
"https://github.com/theshubzworld/ComfyUI-TogetherVision"
],
"install_type": "git-clone",
"description": "A custom ComfyUI node for generating AI-powered image descriptions using Together AI's Vision models (both free and paid versions). Features include customizable prompts, advanced generation parameters, and robust image handling with comprehensive error management."
@@ -18785,6 +18784,28 @@
"install_type": "git-clone",
"description": "This node pack helps to convert various files to Markdown. It supports pdf, pptx, xlsx, docx, html and image files."
},
{
"author": "ciga2011",
"title": "ComfyUI Pollinations",
"id": "pollinations",
"reference": "https://github.com/ciga2011/ComfyUI-Pollinations",
"files": [
"https://github.com/ciga2011/ComfyUI-Pollinations"
],
"install_type": "git-clone",
"description": "Generate images from text prompts using Pollinations' AI models for free."
},
{
"author": "ciga2011",
"title": "ComfyUI Prompt Optimizer",
"id": "promptoptimizer",
"reference": "https://github.com/ciga2011/ComfyUI-PromptOptimizer",
"files": [
"https://github.com/ciga2011/ComfyUI-PromptOptimizer"
],
"install_type": "git-clone",
"description": "Optimize prompts for text-to-image models at no cost."
},
{
"author": "IgalOgonov",
"title": "Simple String Repository",
@@ -19414,17 +19435,6 @@
"install_type": "git-clone",
"description": "Entry point for HommageTools node collection for ComfyUI. Handles node registration, imports, and logging configuration."
},
{
"author": "ciga2011",
"title": "ComfyUI Pollinations",
"id": "pollinations",
"reference": "https://github.com/ciga2011/ComfyUI-Pollinations",
"files": [
"https://github.com/ciga2011/ComfyUI-Pollinations"
],
"install_type": "git-clone",
"description": "Generate images from text prompts using Pollinations' AI models for free."
},
{
"author": "l-comm",
"title": "WatermarkRemoval",
@@ -19445,7 +19455,7 @@
"https://github.com/jhj0517/ComfyUI-Moondream-Gaze-Detection"
],
"install_type": "git-clone",
"description": "Moondream's gaze detection feature node from [a/ComfyUI-Moondream-Gaze-Detection](https://github.com/jhj0517/ComfyUI-Moondream-Gaze-Detection)."
"description": "Moondream's gaze detection feature wrapper node."
},
{
"author": "jnxmx",
@@ -19488,15 +19498,49 @@
"description": "A set of nodes for rapidfiring the half backed latents, cleaning up obvious bad generations and automatically queueing the rest to fully generate."
},
{
"author": "riverolls",
"title": "ComfyUI-FJDH",
"reference": "https://github.com/riverolls/ComfyUI-FJDH",
"author": "meanin2",
"title": "ComfyUI Watermark Image Node",
"reference": "https://github.com/meanin2/comfyui-watermarking",
"files": [
"https://github.com/riverolls/ComfyUI-FJDH"
"https://github.com/meanin2/comfyui-watermarking"
],
"install_type": "git-clone",
"description": "bbox tools, image tools, mask generators, point tools"
"description": "This custom node allows you to overlay a watermark image onto an existing image within ComfyUI."
},
{
"author": "Kurdknight",
"title": "KurdKnight ComfyUI System Check Node",
"reference": "https://github.com/Kurdknight/Kurdknight_comfycheck",
"files": [
"https://github.com/Kurdknight/Kurdknight_comfycheck"
],
"install_type": "git-clone",
"description": "A comprehensive system information node for ComfyUI that provides detailed information about your system, GPU, CUDA, and AI libraries configuration. Works on both Windows and Linux systems."
},
{
"author": "ThepExcel",
"title": "Multiline Text Choice Node for ComfyUI",
"reference": "https://github.com/ThepExcel/aiangelgallery-comfyui",
"files": [
"https://github.com/ThepExcel/aiangelgallery-comfyui"
],
"install_type": "git-clone",
"description": "This custom node for ComfyUI allows users to input multiline text and select a specific line by its number. The node processes the input and returns the selected line along with its index."
},
{
"author": "hosterosi",
"title": "ComfyUI OpenAI Node",
"reference": "https://github.com/hosterosi/ComfyUI_OpenAI",
"files": [
"https://github.com/hosterosi/ComfyUI_OpenAI"
],
"install_type": "git-clone",
"description": "This custom node for ComfyUI allows users to input multiline text and select a specific line by its number. The node processes the input and returns the selected line along with its index."
},
@@ -19976,6 +20020,6 @@
],
"install_type": "unzip",
"description": "This is a node to convert an image into a CMYK Halftone dot image."
}
}
]
}

View File

@@ -426,6 +426,7 @@
"SaveImageToPath",
"SegmDetectorCombined_batch",
"SelectImagesBatch",
"SelectImagesBatch_v2",
"SplitPath",
"ToImageListData",
"VideoFade",
@@ -2690,6 +2691,7 @@
"DP Clean Prompt Travel",
"DP Combo Controller",
"DP Condition Mixer",
"DP ControlNet Apply Advanced",
"DP Crazy Prompt Mixer",
"DP Create Json File",
"DP Custom Aspect Ratio",
@@ -2700,6 +2702,7 @@
"DP Fast Slow Motion",
"DP Five Lora",
"DP Five Lora Random",
"DP Image And String Pairs Switch",
"DP Image Color Analyzer",
"DP Image Color Analyzer Small",
"DP Image Color Effect",
@@ -2716,14 +2719,19 @@
"DP Int 0-1000 4 Step",
"DP Int 0-1000 8 Step",
"DP Line Cycler",
"DP Load Checkpoint With Info",
"DP Load Controlnet Model With Name",
"DP Load Dual CLIP With Info",
"DP Load Image Effects",
"DP Load Image Effects Small",
"DP Load Image Minimal",
"DP Load UNET With Info",
"DP Logo Animator",
"DP Logo Animator Advanced",
"DP Lora Random Strength Controller",
"DP Lora Strength Controller",
"DP Lora Strength Stepper",
"DP Mask Settings",
"DP Prompt Inverter",
"DP Prompt Manager",
"DP Prompt Manager Small",
@@ -2739,6 +2747,7 @@
"DP Random Psychedelic Punk Generator",
"DP Random Superhero Prompt Generator",
"DP Random Vehicle Generator",
"DP Sampler",
"DP Save Preview Image",
"DP Set New Model Folder Link",
"DP String Text",
@@ -2842,7 +2851,9 @@
[
"FluxPro11_TOGETHER",
"FluxPro_TOGETHER",
"GenerateImage_VENICE"
"GenerateImage_VENICE",
"testaaaaa",
"testaaaaa2"
],
{
"title_aux": "ComfyUI-Venice-API"
@@ -4163,9 +4174,11 @@
],
"https://github.com/IamCreateAI/Ruyi-Models": [
[
"Ruyi_EnhanceAVideo",
"Ruyi_I2VSampler",
"Ruyi_LoadLora",
"Ruyi_LoadModel"
"Ruyi_LoadModel",
"Ruyi_TeaCache"
],
{
"title_aux": "ComfyUI-Ruyi"
@@ -5111,6 +5124,15 @@
"title_aux": "ComfyUI_S3_direct"
}
],
"https://github.com/Kurdknight/Kurdknight_comfycheck": [
[
"SystemCheck",
"SystemViz"
],
{
"title_aux": "KurdKnight ComfyUI System Check Node"
}
],
"https://github.com/KwaiVGI/ComfyUI-KLingAI-API": [
[
"Client",
@@ -6010,6 +6032,7 @@
"BlackBarsV1",
"BlackBarsV2",
"BlackBarsV3",
"ClassicFilmEffect",
"CombineAudio",
"DJZ-LoadLatent",
"DJZ-LoadLatentV2",
@@ -6023,9 +6046,14 @@
"DjzDatamoshV5",
"DjzDatamoshV6",
"DjzDatamoshV7",
"DjzDatamoshV8",
"FilmGrainEffect",
"FilmGrainEffect_v2",
"FishEyeEffect",
"FractalGenerator",
"FractalGeneratorV2",
"FractalGeneratorV3",
"ImageInterleavedUpscaler",
"ImageSizeAdjuster",
"ImageSizeAdjusterV2",
"ImageSizeAdjusterV3",
@@ -6038,6 +6066,7 @@
"ParametricMeshGenV2",
"ProjectFilePathNode",
"PromptCleaner",
"PromptDupeRemover",
"PromptInject",
"PromptSwap",
"RetroVideoText",
@@ -6046,17 +6075,21 @@
"StringWeights",
"Technicolor3Strip_v1",
"Technicolor3Strip_v2",
"ThreeToneStyler",
"TrianglesPlus",
"TrianglesPlusV2",
"VHS_Effect_V3",
"VHS_Effect_v1",
"VHS_Effect_v2",
"VideoBitClamp",
"VideoInterlaceFastV4",
"VideoInterlaceGANV3",
"VideoInterlaced",
"VideoInterlacedV2",
"WaveletDecompose",
"ZenkaiPrompt",
"ZenkaiPromptV2",
"ZenkaiPromptV3",
"ZenkaiWildcard",
"ZenkaiWildcardV2"
],
@@ -6775,8 +6808,10 @@
"https://github.com/RiceRound/ComfyUI_CryptoCat": [
[
"CryptoCatImage",
"DecodeCryptoNode",
"ExcuteCryptoNode",
"RandomSeedNode",
"SaveCryptoBridgeNode",
"SaveCryptoNode"
],
{
@@ -7655,13 +7690,15 @@
],
"https://github.com/SlackinJack/asyncdiff_comfyui": [
[
"ADADSampler",
"ADModelSelector",
"ADPipelineConfig",
"ADSD1Sampler",
"ADSD2Sampler",
"ADSD3Sampler",
"ADSDUpscaleSampler",
"ADSDXLSampler",
"ADSVDSampler",
"ADUpscaleSampler"
"ADSVDSampler"
],
{
"title_aux": "asyncdiff_comfyui"
@@ -8782,6 +8819,14 @@
"title_aux": "Anyline"
}
],
"https://github.com/ThepExcel/aiangelgallery-comfyui": [
[
"ThepExcel_AiAngel_MultilineTextChoiceNode"
],
{
"title_aux": "Multiline Text Choice Node for ComfyUI"
}
],
"https://github.com/ThereforeGames/ComfyUI-Unprompted": [
[
"Unprompted",
@@ -9410,6 +9455,7 @@
"InstaCSeed",
"InstaCText",
"InstaCTextML",
"InstaLoadImageLocal",
"InstaPromptMultipleStyleSelector",
"InstaPromptStyleSelector",
"LoadVideo",
@@ -9635,6 +9681,7 @@
"RemoveBackgroundNode",
"SDXLTextEncoderSimpleNode",
"SaveCaptionsImages",
"SaveImageNode",
"TextFieldNode",
"TileCheckpointPatchNode",
"UpscaleImageWithModel",
@@ -9912,6 +9959,7 @@
],
"https://github.com/Zeks/comfyui-rapidfire": [
[
"CachedCheckpoint",
"CsvWriterNode",
"ImmatureImageCounter",
"ImmatureImageDataLoader"
@@ -11005,6 +11053,7 @@
"SP_KoboldCpp_BannedTokens",
"SP_KoboldCpp_OverrideCfg",
"SP_ListAny",
"SP_Pass",
"SP_Pipe",
"SP_Pipe_ToBasicPipe",
"SP_SD3Loader",
@@ -11261,6 +11310,7 @@
[
"BlehBlockCFG",
"BlehBlockOps",
"BlehCast",
"BlehDeepShrink",
"BlehDisableNoise",
"BlehDiscardPenultimateSigma",
@@ -11268,13 +11318,15 @@
"BlehGlobalSageAttention",
"BlehHyperTile",
"BlehInsaneChainSampler",
"BlehLatentBlend",
"BlehLatentOps",
"BlehLatentScaleBy",
"BlehModelPatchConditional",
"BlehPlug",
"BlehRefinerAfter",
"BlehSageAttentionSampler",
"BlehSetSamplerPreset"
"BlehSetSamplerPreset",
"BlehSetSigmas"
],
{
"title_aux": "ComfyUI-bleh"
@@ -11439,8 +11491,11 @@
"AllegroDecoder",
"AllegroEncoder",
"AllegroSampler",
"AllegroTI2VEncoder",
"AllegroTI2VSampler",
"AllegroTextEncoder",
"LoadAllegroModel"
"LoadAllegroModel",
"LoadAllegroTI2VModel"
],
{
"title_aux": "ComfyUI-Allegro"
@@ -12823,6 +12878,14 @@
"title_aux": "ComfyUI Pollinations"
}
],
"https://github.com/ciga2011/ComfyUI-PromptOptimizer": [
[
"PromptOptimizer"
],
{
"title_aux": "ComfyUI Prompt Optimizer"
}
],
"https://github.com/ciri/comfyui-model-downloader": [
[
"Auto Model Downloader",
@@ -13075,6 +13138,7 @@
"ControlNetApplySD3",
"ControlNetInpaintingAliMamaApply",
"ControlNetLoader",
"CosmosImageToVideoLatent",
"CropMask",
"DiffControlNetLoader",
"DifferentialDiffusion",
@@ -13226,6 +13290,7 @@
"SaveImageWebsocket",
"SaveLatent",
"SelfAttentionGuidance",
"SetFirstSigma",
"SetLatentNoiseMask",
"SetUnionControlNetType",
"SkipLayerGuidanceDiT",
@@ -14711,31 +14776,20 @@
"title_aux": "ComfyMath"
}
],
"https://github.com/evolox/ComfyUI-GeneraNodes": [
[
"Genera.BatchPreviewer",
"Genera.BatchTester",
"Genera.GCPStorageNode",
"Genera.MaskDrawer",
"Genera.Utils",
"PDPStage1",
"PainterNode",
"UniversalSwitch"
],
{
"title_aux": "ComfyUI-GeneraNodes"
}
],
"https://github.com/exdysa/comfyui-selector": [
[
"Fork",
"Fork+-",
"ForkClip",
"Recourse",
"Recourse+/-",
"Recourse+-",
"RecourseCkpt",
"RecourseImage",
"Selector",
"Unite"
"Unite",
"Unite+-",
"UniteClip",
"UniteModel"
],
{
"author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"",
@@ -15784,6 +15838,7 @@
"Griptape Agent Config: Expand",
"Griptape Agent Config: Google Drivers",
"Griptape Agent Config: Google [DEPRECATED]",
"Griptape Agent Config: Groq Drivers",
"Griptape Agent Config: HuggingFace Drivers",
"Griptape Agent Config: HuggingFace [DEPRECATED]",
"Griptape Agent Config: LM Studio Drivers",
@@ -15794,6 +15849,7 @@
"Griptape Agent Config: OpenAI Compatible [DEPRECATED]",
"Griptape Agent Config: OpenAI Drivers",
"Griptape Agent Config: OpenAI [DEPRECATED]",
"Griptape Audio Transcription Driver: Groq",
"Griptape Audio Transcription Driver: OpenAI",
"Griptape Code: Run Griptape Cloud Structure",
"Griptape Code: Run Python",
@@ -15846,6 +15902,7 @@
"Griptape Prompt Driver: Azure OpenAI",
"Griptape Prompt Driver: Cohere",
"Griptape Prompt Driver: Google",
"Griptape Prompt Driver: Groq",
"Griptape Prompt Driver: HuggingFace",
"Griptape Prompt Driver: LM Studio",
"Griptape Prompt Driver: Ollama",
@@ -16377,7 +16434,8 @@
],
"https://github.com/hodanajan/optimal-crop-resolution": [
[
"AspectRatioCalculator"
"AspectRatioCalculator",
"ResolutionMatcher"
],
{
"title_aux": "optimal-crop-resolution"
@@ -16392,6 +16450,14 @@
"title_aux": "ComfyUI-ModelDownloader"
}
],
"https://github.com/hosterosi/ComfyUI_OpenAI": [
[
"OpenAIResponse"
],
{
"title_aux": "ComfyUI OpenAI Node"
}
],
"https://github.com/hoveychen/ComfyUI-MusePose-Remaster": [
[
"musepose_getposes",
@@ -16436,7 +16502,8 @@
"ImagePreprocessor",
"LdmPipelineLoader",
"LdmVaeLoader",
"LoraModelLoader"
"LoraModelLoader",
"ViewSelector"
],
{
"title_aux": "ComfyUI-MVAdapter"
@@ -16559,6 +16626,7 @@
"https://github.com/hyunamy/comfy-ui-on-complete-email-me": [
[
"OnCompleteEmailMe",
"OnCompletePlaySound",
"OnCompleteWebhook"
],
{
@@ -17369,6 +17437,7 @@
"ComfyOnlineSaveFile",
"ComfyOnlineUploadAnything",
"EmbeddingLoader",
"LoadCheckpointFromCivitAI",
"LoadHunyuanLoraFromCivitAI",
"LoadHunyuanLoraFromComfyOnline",
"LoadHunyuanLoraFromHF",
@@ -18843,8 +18912,11 @@
[
"AspectSelector",
"FolderLoader",
"Json Extractor - klinter",
"LoadImagePlus",
"LoadVideoForExtendingKlinter",
"OutpaintPadding",
"PrepVideoForExtendKlinter",
"SizeSelector",
"SpeedRamp",
"YellowBus",
@@ -20317,6 +20389,7 @@
"LeRes_DepthMap_Preprocessor_Provider_for_SEGS //Inspire",
"LineArt_Preprocessor_Provider_for_SEGS //Inspire",
"ListCounter //Inspire",
"LoadDiffusionModelShared //Inspire",
"LoadImage //Inspire",
"LoadImageListFromDir //Inspire",
"LoadImagesFromDir //Inspire",
@@ -20324,6 +20397,7 @@
"LoadPromptsFromDir //Inspire",
"LoadPromptsFromFile //Inspire",
"LoadSinglePromptFromFile //Inspire",
"LoadTextEncoderShared //Inspire",
"LoraBlockInfo //Inspire",
"LoraLoaderBlockWeight //Inspire",
"MakeBasicPipe //Inspire",
@@ -20722,6 +20796,14 @@
"title_aux": "Dynamic Thresholding"
}
],
"https://github.com/meanin2/comfyui-watermarking": [
[
"WatermarkOverlay"
],
{
"title_aux": "ComfyUI Watermark Image Node"
}
],
"https://github.com/meap158/ComfyUI-Background-Replacement": [
[
"BackgroundReplacement",
@@ -21135,32 +21217,6 @@
"title_aux": "MLTask_ComfyUI"
}
],
"https://github.com/mithamunda/ComfyUI-SD3.5-Latent-Size-Picker": [
[
"SD3_5EmptyLatent"
],
{
"title_aux": "SD3.5 Empty Latent Size Picker"
}
],
"https://github.com/mithamunda/ComfyUI-TogetherVision": [
[
"Together Image \ud83c\udfa8",
"Together Vision \ud83d\udd0d",
"TogetherVisionNode"
],
{
"title_aux": "Together Vision Node"
}
],
"https://github.com/mithamunda/ComfyUI-ollama_killer": [
[
"OllamaKiller"
],
{
"title_aux": "OllamaKiller Node for ComfyUI"
}
],
"https://github.com/mittimi/ComfyUI_mittimiLoadPreset2": [
[
"CombineParamDataMittimi",
@@ -22337,6 +22393,7 @@
"Playbook Outline",
"Playbook Outline Sequence",
"Playbook Render Result",
"Playbook Seed",
"Playbook Text",
"Playbook Video"
],
@@ -22904,49 +22961,6 @@
"title_aux": "comfyUI_FrequencySeparation_RGB-HSV"
}
],
"https://github.com/riverolls/ComfyUI-FJDH": [
[
"AngleCalculator",
"BBoxAreaFilter",
"BBoxToPoint",
"BooleanToCombo",
"BrightnessToMask",
"CenterPointCalculator",
"ChestMaskGenerator",
"CircularMaskGenerator",
"CoordinatesToPoint",
"DistanceCalculator",
"DistanceMaskGenerator",
"ForeheadMaskGenerator",
"GridPointGenerator",
"ImageAligner",
"ImageComparer",
"ImageWarper",
"ItemSelector",
"KeypointSelector",
"LargestMaskSelector",
"LineMaskGenerator",
"MaskChamfer",
"MaskFilter",
"MaskShift",
"MaskThreshold",
"MaskToBBox",
"MaskToPoint",
"MaxInscribedRectangleMaskGenerator",
"PointExtractor",
"PointMerger",
"PointMover",
"PointPreview",
"PointReversor",
"PointThresholdFilter",
"PointToBBox",
"PointToCoordinates",
"PolygonMaskGenerator"
],
{
"title_aux": "ComfyUI-FJDH"
}
],
"https://github.com/robertvoy/ComfyUI-Flux-Continuum": [
[
"BatchSlider",
@@ -23445,6 +23459,7 @@
"LmcqImageSaverWeb",
"LmcqInputValidator",
"LmcqLoadFluxNF4Checkpoint",
"LmcqNumberSliders5",
"LmcqRuntimeLoraDecryption",
"LmcqRuntimeLoraEncryption",
"LmcqRuntimeModelDecryption",
@@ -24985,6 +25000,32 @@
"title_aux": "ComfyUI Stable Video Diffusion"
}
],
"https://github.com/theshubzworld/ComfyUI-SD3.5-Latent-Size-Picker": [
[
"SD3_5EmptyLatent"
],
{
"title_aux": "SD3.5 Empty Latent Size Picker"
}
],
"https://github.com/theshubzworld/ComfyUI-TogetherVision": [
[
"Together Image \ud83c\udfa8",
"Together Vision \ud83d\udd0d",
"TogetherVisionNode"
],
{
"title_aux": "Together Vision Node"
}
],
"https://github.com/theshubzworld/ComfyUI-ollama_killer": [
[
"OllamaKiller"
],
{
"title_aux": "OllamaKiller Node for ComfyUI"
}
],
"https://github.com/thoddnn/ComfyUI-MLX": [
[
"MLXClipTextEncoder",
@@ -25702,6 +25743,7 @@
],
"https://github.com/welltop-cn/ComfyUI-TeaCache": [
[
"CompileModel",
"TeaCacheForImgGen",
"TeaCacheForVidGen"
],
@@ -26294,6 +26336,14 @@
"title_aux": "ComfyUI-Fal-API-Flux"
}
],
"https://github.com/yhayano-ponotech/comfyui-save-image-local": [
[
"Local Save"
],
{
"title_aux": "ComfyUI Local Save Node"
}
],
"https://github.com/yichengup/Comfyui-Ycanvas": [
[
"CanvasNode"

View File

File diff suppressed because it is too large Load Diff

View File

@@ -110,3 +110,6 @@ def add_on_revision_detected(k, f):
traceback.print_exc()
else:
variables['cm.on_revision_detected_handler'].append((k, f))
error_dict = {}

View File

@@ -41,7 +41,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 7, 4]
version_code = [3, 8, 1]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
@@ -122,7 +122,6 @@ def check_invalid_nodes():
if subdir in ['.disabled', '__pycache__']:
continue
package = unified_manager.installed_node_packages.get(subdir)
if not package:
continue
@@ -368,6 +367,16 @@ class UnifiedManager:
self.custom_node_map_cache = {} # (channel, mode) -> augmented custom node list json
self.processed_install = set()
def get_module_name(self, x):
info = self.active_nodes.get(x)
if info is None:
for url, fullpath in self.unknown_active_nodes.values():
if url == x:
return os.path.basename(fullpath)
else:
return os.path.basename(info[1])
return None
def get_cnr_by_repo(self, url):
return self.repo_cnr_map.get(git_utils.normalize_url(url))
@@ -501,8 +510,8 @@ class UnifiedManager:
self.installed_node_packages[node_package.id] = node_package
if node_package.is_disabled and node_package.is_unknown:
# NOTE: unknown package does not have an url.
self.unknown_inactive_nodes[node_package.id] = ('', node_package.fullpath)
url = git_utils.git_url(node_package.fullpath)
self.unknown_inactive_nodes[node_package.id] = (url, node_package.fullpath)
if node_package.is_disabled and node_package.is_nightly:
self.nightly_inactive_nodes[node_package.id] = node_package.fullpath
@@ -511,8 +520,8 @@ class UnifiedManager:
self.active_nodes[node_package.id] = node_package.version, node_package.fullpath
if node_package.is_enabled and node_package.is_unknown:
# NOTE: unknown package does not have an url.
self.unknown_active_nodes[node_package.id] = ('', node_package.fullpath)
url = git_utils.git_url(node_package.fullpath)
self.unknown_active_nodes[node_package.id] = (url, node_package.fullpath)
if node_package.is_from_cnr and node_package.is_disabled:
self.add_to_cnr_inactive_nodes(node_package.id, node_package.version, node_package.fullpath)
@@ -726,7 +735,6 @@ class UnifiedManager:
# default_channel = normalize_channel('default')
# cache = self.custom_node_map_cache.get((default_channel, mode)) # CNR/nightly should always be based on the default channel.
channel = normalize_channel(channel)
cache = self.custom_node_map_cache.get((channel, mode)) # CNR/nightly should always be based on the default channel.
@@ -753,6 +761,8 @@ class UnifiedManager:
v['title'] = cnr['name']
v['description'] = cnr['description']
v['health'] = '-'
if 'repository' in cnr:
v['repository'] = cnr['repository']
added_cnr.add(cnr['id'])
node_id = v['id']
else:
@@ -828,7 +838,11 @@ class UnifiedManager:
result = ManagedResult('fix')
info = self.active_nodes.get(node_id)
if version_spec == 'unknown':
info = self.unknown_active_nodes.get(node_id)
else:
info = self.active_nodes.get(node_id)
if info is None or not os.path.exists(info[1]):
return result.fail(f'not found: {node_id}@{version_spec}')
@@ -893,7 +907,7 @@ class UnifiedManager:
archive_name = f"CNR_temp_{str(uuid.uuid4())}.zip" # should be unpredictable name - security precaution
download_path = os.path.join(get_default_custom_nodes_path(), archive_name)
manager_downloader.download_url(node_info.download_url, get_default_custom_nodes_path(), archive_name)
manager_downloader.basic_download_url(node_info.download_url, get_default_custom_nodes_path(), archive_name)
# 2. extract files into <node_id>
install_path = self.active_nodes[node_id][1]
@@ -1331,7 +1345,7 @@ class UnifiedManager:
if version_spec == 'unknown':
repo_url = the_node['files'][0]
else: # nightly
repo_url = the_node['reference']
repo_url = the_node['repository']
else:
result = ManagedResult('install')
return result.fail(f"Node '{node_id}@{version_spec}' not found in [{channel}, {mode}]")

View File

@@ -16,7 +16,11 @@ if aria2 is not None:
aria2 = aria2p.API(aria2p.Client(host=host, port=port, secret=secret))
def basic_download_url(url, dest_folder, filename):
def basic_download_url(url, dest_folder: str, filename: str):
'''
Download file from url to dest_folder with filename
using requests library.
'''
import requests
# Ensure the destination folder exists
@@ -111,4 +115,4 @@ def download_url_with_agent(url, save_path):
return False
print("Installation was successful.")
return True
return True

View File

@@ -839,6 +839,23 @@ async def get_disabled_versions(request):
return web.Response(status=400)
@routes.post("/customnode/import_fail_info")
async def import_fail_info(request):
json_data = await request.json()
if 'cnr_id' in json_data:
module_name = core.unified_manager.get_module_name(json_data['cnr_id'])
else:
module_name = core.unified_manager.get_module_name(json_data['url'])
if module_name is not None:
info = cm_global.error_dict.get(module_name)
if info is not None:
return web.json_response(info)
return web.Response(status=400)
@routes.post("/customnode/reinstall")
async def reinstall_custom_node(request):
await uninstall_custom_node(request)
@@ -867,7 +884,7 @@ async def install_custom_node(request):
node_spec_str = f"{cnr_id}@{selected_version}"
else:
node_spec_str = f"{cnr_id}@nightly"
git_url = [json_data.get('reference')]
git_url = [json_data.get('repository')]
if git_url is None:
logging.error(f"[ComfyUI-Manager] Following node pack doesn't provide `nightly` version: ${git_url}")
return web.Response(status=404, text=f"Following node pack doesn't provide `nightly` version: ${git_url}")
@@ -928,6 +945,8 @@ async def fix_custom_node(request):
if res.result:
logging.info("\nAfter restarting ComfyUI, please refresh the browser.")
return web.json_response({}, content_type='application/json')
else:
logging.error(res.msg)
logging.error(f"\nERROR: An error occurred while fixing '{node_name}@{node_ver}'.")
return web.Response(status=400, text=f"An error occurred while fixing '{node_name}@{node_ver}'.")
@@ -1437,3 +1456,4 @@ cm_global.register_extension('ComfyUI-Manager',
'nodes': {},
'description': 'This extension provides the ability to manage custom nodes in ComfyUI.', })

View File

@@ -154,7 +154,7 @@ async def get_data_with_cache(uri, silent=False, cache_mode=True, dont_wait=Fals
with open(cache_uri, "w", encoding='utf-8') as file:
json.dump(json_obj, file, indent=4, sort_keys=True)
if not silent:
print(f"[ComfyUI-Manager] default cache updated: {uri}")
logging.info(f"[ComfyUI-Manager] default cache updated: {uri}")
return json_obj
@@ -169,10 +169,10 @@ def extract_package_as_zip(file_path, extract_path):
with zipfile.ZipFile(file_path, "r") as zip_ref:
zip_ref.extractall(extract_path)
extracted_files = zip_ref.namelist()
print(f"Extracted zip file to {extract_path}")
logging.info(f"Extracted zip file to {extract_path}")
return extracted_files
except zipfile.BadZipFile:
print(f"File '{file_path}' is not a zip or is corrupted.")
logging.error(f"File '{file_path}' is not a zip or is corrupted.")
return None
@@ -196,7 +196,7 @@ def get_installed_packages(renew=False):
pip_map[y[0]] = y[1]
except subprocess.CalledProcessError:
print("[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
logging.error("[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
return set()
return pip_map
@@ -236,7 +236,7 @@ class PIPFixer:
else:
cmd = [sys.executable, '-m', 'pip', 'install', '--force', 'torch', 'torchvision', 'torchaudio']
subprocess.check_output(cmd, universal_newlines=True)
print(cmd)
logging.error(cmd)
return
torch_ver = StrictVersion(spec[0])
@@ -247,12 +247,12 @@ class PIPFixer:
cmd = [sys.executable, '-m', 'pip', 'install', '--pre',
'torch', 'torchvision', 'torchaudio',
'--index-url', f"https://download.pytorch.org/whl/nightly/{platform}"]
print("[manager-core] restore PyTorch to nightly version")
logging.info("[ComfyUI-Manager] restore PyTorch to nightly version")
else:
cmd = [sys.executable, '-m', 'pip', 'install',
f'torch=={torch_ver}', f'torchvision=={torchvision_ver}', f"torchaudio=={torch_ver}",
'--index-url', f"https://download.pytorch.org/whl/{platform}"]
print(f"[manager-core] restore PyTorch to {torch_ver}+{platform}")
logging.info(f"[ComfyUI-Manager] restore PyTorch to {torch_ver}+{platform}")
subprocess.check_output(cmd, universal_newlines=True)
@@ -265,20 +265,22 @@ class PIPFixer:
cmd = [sys.executable, '-m', 'pip', 'uninstall', 'comfy']
subprocess.check_output(cmd, universal_newlines=True)
print("[manager-core] 'comfy' python package is uninstalled.\nWARN: The 'comfy' package is completely unrelated to ComfyUI and should never be installed as it causes conflicts with ComfyUI.")
logging.warning("[ComfyUI-Manager] 'comfy' python package is uninstalled.\nWARN: The 'comfy' package is completely unrelated to ComfyUI and should never be installed as it causes conflicts with ComfyUI.")
except Exception as e:
print("[manager-core] Failed to uninstall `comfy` python package")
print(e)
logging.error("[ComfyUI-Manager] Failed to uninstall `comfy` python package")
logging.error(e)
# fix torch - reinstall torch packages if version is changed
try:
if self.prev_pip_versions['torch'] != new_pip_versions['torch'] \
if 'torch' not in self.prev_pip_versions or 'torchvision' not in self.prev_pip_versions or 'torchaudio' not in self.prev_pip_versions:
logging.error("[ComfyUI-Manager] PyTorch is not installed")
elif self.prev_pip_versions['torch'] != new_pip_versions['torch'] \
or self.prev_pip_versions['torchvision'] != new_pip_versions['torchvision'] \
or self.prev_pip_versions['torchaudio'] != new_pip_versions['torchaudio']:
self.torch_rollback()
except Exception as e:
print("[manager-core] Failed to restore PyTorch")
print(e)
logging.error("[ComfyUI-Manager] Failed to restore PyTorch")
logging.error(e)
# fix opencv
try:
@@ -309,10 +311,10 @@ class PIPFixer:
cmd = [sys.executable, '-m', 'pip', 'install', f"{x}=={versions[0].version_string}"]
subprocess.check_output(cmd, universal_newlines=True)
print(f"[manager-core] 'opencv' dependencies were fixed: {targets}")
logging.info(f"[ComfyUI-Manager] 'opencv' dependencies were fixed: {targets}")
except Exception as e:
print("[manager-core] Failed to restore opencv")
print(e)
logging.error("[ComfyUI-Manager] Failed to restore opencv")
logging.error(e)
# fix numpy
try:
@@ -321,8 +323,8 @@ class PIPFixer:
if StrictVersion(np) >= StrictVersion('2'):
subprocess.check_output([sys.executable, '-m', 'pip', 'install', "numpy<2"], universal_newlines=True)
except Exception as e:
print("[manager-core] Failed to restore numpy")
print(e)
logging.error("[ComfyUI-Manager] Failed to restore numpy")
logging.error(e)
def sanitize(data):

View File

@@ -397,3 +397,12 @@ export const icons = {
passed: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 426.667 426.667"><path fill="#6AC259" d="M213.333,0C95.518,0,0,95.514,0,213.333s95.518,213.333,213.333,213.333c117.828,0,213.333-95.514,213.333-213.333S331.157,0,213.333,0z M174.199,322.918l-93.935-93.931l31.309-31.309l62.626,62.622l140.894-140.898l31.309,31.309L174.199,322.918z"/></svg>',
download: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" width="100%" height="100%" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg>'
}
export function sanitizeHTML(str) {
return str
.replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;")
.replace(/'/g, "&#039;");
}

View File

@@ -4,7 +4,7 @@ import { api } from "../../scripts/api.js";
import {
manager_instance, rebootAPI, install_via_git_url,
fetchData, md5, icons, show_message, customConfirm, customAlert, customPrompt
fetchData, md5, icons, show_message, customConfirm, customAlert, customPrompt, sanitizeHTML
} from "./common.js";
// https://cenfun.github.io/turbogrid/api.html
@@ -250,6 +250,13 @@ const pageCss = `
color: white;
}
.cn-manager .cn-btn-import-failed {
background-color: #AA1111;
font-size: 10px;
font-weight: bold;
color: white;
}
.cn-manager .cn-btn-install {
background-color: black;
color: white;
@@ -872,6 +879,38 @@ export class CustomNodesManager {
return this.filter === ShowMode.ALTERNATIVES
}
async handleImportFail(rowItem) {
var info;
if(rowItem.version == 'unknown'){
info = {
'url': rowItem.originalData.files[0]
};
}
else{
info = {
'cnr_id': rowItem.originalData.id
};
}
const response = await api.fetchApi(`/customnode/import_fail_info`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(info)
});
let res = await response.json();
let title = `<FONT COLOR=GREEN><B>Error message occurred while importing the '${rowItem.title}' module.</B></FONT><BR><HR><BR>`
if(res.code == 400)
{
show_message(title+'The information is not available.')
}
else {
show_message(title+sanitizeHTML(res['msg']).replace(/ /g, '&nbsp;').replace(/\n/g, '<BR>'));
}
}
renderGrid() {
// update theme
@@ -905,6 +944,7 @@ export class CustomNodesManager {
}
}
let self = this;
const columns = [{
id: 'id',
name: 'ID',
@@ -918,16 +958,29 @@ export class CustomNodesManager {
maxWidth: 500,
classMap: 'cn-node-name',
formatter: (title, rowItem, columnItem) => {
var prefix = '';
if(rowItem.action === 'invalid-installation') {
prefix = '<font color="red"><B>(INVALID)</B></font>';
}
const container = document.createElement('div');
else if(rowItem.action === 'import-fail') {
prefix = '<font color="red"><B>(IMPORT FAILED)</B></font>';
}
if (rowItem.action === 'invalid-installation') {
const invalidTag = document.createElement('span');
invalidTag.style.color = 'red';
invalidTag.innerHTML = '<b>(INVALID)</b>';
container.appendChild(invalidTag);
} else if (rowItem.action === 'import-fail') {
const button = document.createElement('button');
button.className = 'cn-btn-import-failed';
button.innerText = 'IMPORT FAILED ↗';
button.onclick = () => self.handleImportFail(rowItem);
container.appendChild(button);
container.appendChild(document.createElement('br'));
}
return `${prefix}<a href=${rowItem.reference} target="_blank"><b>${title}</b></a>`;
const link = document.createElement('a');
link.href = rowItem.reference;
link.target = '_blank';
link.innerHTML = `<b>${title}</b>`;
container.appendChild(link);
return container;
}
}, {
id: 'version',

View File

@@ -10,6 +10,26 @@
},
{
"author": "ArmandAlbert",
"title": "Kwai_font_comfyui",
"reference": "https://github.com/ArmandAlbert/Kwai_font_comfyui",
"files": [
"https://github.com/ArmandAlbert/Kwai_font_comfyui"
],
"install_type": "git-clone",
"description": "NODES: Kwaifont_Resnet50_Runner, Kwaifont_Resnet50_Loader, Kwaifont_Resnet101_Runner, Kwaifont_Resnet101_Loader, Kwaifont_Image_Cropper"
},
{
"author": "SpatialDeploy",
"title": "ComfyUI-Voxels [WIP]",
"reference": "https://github.com/SpatialDeploy/ComfyUI-Voxels",
"files": [
"https://github.com/SpatialDeploy/ComfyUI-Voxels"
],
"install_type": "git-clone",
"description": "Tools for creating voxel based videos"
},
{
"author": "Njbx",
"title": "ComfyUI-blockswap",
@@ -1428,17 +1448,6 @@
"install_type": "copy",
"description": "This platform extension provides ZhipuAI nodes, enabling you to configure a workflow for online video generation."
},
{
"author": "jetchopper",
"title": "ComfyUI-GeneraNodes",
"id": "genera",
"reference": "https://github.com/evolox/ComfyUI-GeneraNodes",
"files": [
"https://github.com/evolox/ComfyUI-GeneraNodes"
],
"install_type": "git-clone",
"description": "Genera custom nodes and extensions"
},
{
"author": "HavocsCall",
"title": "comfyui_HavocsCall_Custom_Nodes",

View File

@@ -401,6 +401,18 @@
"title_aux": "ComfyUI_deepDeband [WIP]"
}
],
"https://github.com/ArmandAlbert/Kwai_font_comfyui": [
[
"Kwaifont_Image_Cropper",
"Kwaifont_Resnet101_Loader",
"Kwaifont_Resnet101_Runner",
"Kwaifont_Resnet50_Loader",
"Kwaifont_Resnet50_Runner"
],
{
"title_aux": "Kwai_font_comfyui"
}
],
"https://github.com/ArthusLiang/comfyui-face-remap": [
[
"FaceRemap"
@@ -1413,6 +1425,15 @@
"title_aux": "ComfyUI_Remaker_FaceSwap"
}
],
"https://github.com/SpatialDeploy/ComfyUI-Voxels": [
[
"MeshToVoxelGrid",
"VoxelGridsToVoxelVideo"
],
{
"title_aux": "ComfyUI-Voxels [WIP]"
}
],
"https://github.com/StartHua/Comfyui_CSDMT_CXH": [
[
"CSD"
@@ -2090,6 +2111,7 @@
"ControlNetApplySD3",
"ControlNetInpaintingAliMamaApply",
"ControlNetLoader",
"CosmosImageToVideoLatent",
"CropMask",
"DiffControlNetLoader",
"DifferentialDiffusion",
@@ -2241,6 +2263,7 @@
"SaveImageWebsocket",
"SaveLatent",
"SelfAttentionGuidance",
"SetFirstSigma",
"SetLatentNoiseMask",
"SetUnionControlNetType",
"SkipLayerGuidanceDiT",
@@ -2554,21 +2577,6 @@
"title_aux": "ComfyUI-HunyuanVideoWrapper-Extended [WIP]"
}
],
"https://github.com/evolox/ComfyUI-GeneraNodes": [
[
"Genera.BatchPreviewer",
"Genera.BatchTester",
"Genera.GCPStorageNode",
"Genera.MaskDrawer",
"Genera.Utils",
"PDPStage1",
"PainterNode",
"UniversalSwitch"
],
{
"title_aux": "ComfyUI-GeneraNodes"
}
],
"https://github.com/exectails/comfyui-et_scripting": [
[
"ETPythonTextScript3Node"
@@ -4487,6 +4495,7 @@
"Color Similarity Checker",
"Crop Mask Util",
"Displace Filter",
"Image Fix (tensor shape convert)",
"Load Image (By Url)",
"Mask Refine (Aliyun)"
],

View File

File diff suppressed because it is too large Load Diff

View File

@@ -11,6 +11,27 @@
{
"author": "riverolls",
"title": "ComfyUI-FJDH",
"reference": "https://github.com/riverolls/ComfyUI-FJDH [REMOVED]",
"files": [
"https://github.com/riverolls/ComfyUI-FJDH"
],
"install_type": "git-clone",
"description": "bbox tools, image tools, mask generators, point tools"
},
{
"author": "jetchopper",
"title": "ComfyUI-GeneraNodes",
"id": "genera",
"reference": "https://github.com/evolox/ComfyUI-GeneraNodes [REMOVED]",
"files": [
"https://github.com/evolox/ComfyUI-GeneraNodes"
],
"install_type": "git-clone",
"description": "Genera custom nodes and extensions"
},
{
"author": "Pos13",
"title": "Cyclist [DEPRECATED]",

View File

@@ -9,6 +9,67 @@
},
{
"author": "ciga2011",
"title": "ComfyUI Prompt Optimizer",
"id": "promptoptimizer",
"reference": "https://github.com/ciga2011/ComfyUI-PromptOptimizer",
"files": [
"https://github.com/ciga2011/ComfyUI-PromptOptimizer"
],
"install_type": "git-clone",
"description": "Optimize prompts for text-to-image models at no cost."
},
{
"author": "meanin2",
"title": "ComfyUI Watermark Image Node",
"reference": "https://github.com/meanin2/comfyui-watermarking",
"files": [
"https://github.com/meanin2/comfyui-watermarking"
],
"install_type": "git-clone",
"description": "This custom node allows you to overlay a watermark image onto an existing image within ComfyUI."
},
{
"author": "Kurdknight",
"title": "KurdKnight ComfyUI System Check Node",
"reference": "https://github.com/Kurdknight/Kurdknight_comfycheck",
"files": [
"https://github.com/Kurdknight/Kurdknight_comfycheck"
],
"install_type": "git-clone",
"description": "A comprehensive system information node for ComfyUI that provides detailed information about your system, GPU, CUDA, and AI libraries configuration. Works on both Windows and Linux systems."
},
{
"author": "yhayano-ponotech",
"title": "ComfyUI Local Save Node",
"reference": "https://github.com/yhayano-ponotech/comfyui-save-image-local",
"files": [
"https://github.com/yhayano-ponotech/comfyui-save-image-local"
],
"install_type": "git-clone",
"description": "ComfyUI custom node for directly downloading generated images to your local PC with customizable filenames and formats (PNG/JPEG)."
},
{
"author": "ThepExcel",
"title": "Multiline Text Choice Node for ComfyUI",
"reference": "https://github.com/ThepExcel/aiangelgallery-comfyui",
"files": [
"https://github.com/ThepExcel/aiangelgallery-comfyui"
],
"install_type": "git-clone",
"description": "This custom node for ComfyUI allows users to input multiline text and select a specific line by its number. The node processes the input and returns the selected line along with its index."
},
{
"author": "hosterosi",
"title": "ComfyUI OpenAI Node",
"reference": "https://github.com/hosterosi/ComfyUI_OpenAI",
"files": [
"https://github.com/hosterosi/ComfyUI_OpenAI"
],
"install_type": "git-clone",
"description": "This custom node for ComfyUI allows users to input multiline text and select a specific line by its number. The node processes the input and returns the selected line along with its index."
},
{
"author": "IDGallagher",
"title": "IG-Motion-Search",
@@ -113,16 +174,6 @@
"install_type": "git-clone",
"description": "The ComfyUI HuggingFace Downloader is a custom node extension for ComfyUI, designed to streamline the process of downloading models, checkpoints, and other resources from the Hugging Face Hub directly into your models directory. This tool simplifies workflow integration by providing a seamless interface to select and download required resources."
},
{
"author": "riverolls",
"title": "ComfyUI-FJDH",
"reference": "https://github.com/riverolls/ComfyUI-FJDH",
"files": [
"https://github.com/riverolls/ComfyUI-FJDH"
],
"install_type": "git-clone",
"description": "bbox tools, image tools, mask generators, point tools"
},
{
"author": "smthemex",
"title": "ComfyUI_SVFR",
@@ -629,66 +680,6 @@
],
"install_type": "git-clone",
"description": "Neural Network Toolkit (NNT) for ComfyUI is an extensive set of custom ComfyUI nodes for designing, training, and fine-tuning neural networks. This toolkit allows defining models, layers, training workflows, transformers, and tensor operations in a visual manner using nodes."
},
{
"author": "Hullabalo",
"title": "ComfyUI-Loop",
"reference": "https://github.com/Hullabalo/ComfyUI-Loop",
"files": [
"https://github.com/Hullabalo/ComfyUI-Loop"
],
"install_type": "git-clone",
"description": "A pair of nodes (Load Image and Save Image) to create a simple loop in your ComfyUI inpainting workflow, without the need of loading your last saved image"
},
{
"author": "leeguandong",
"title": "ComfyUI_FluxCustomId",
"reference": "https://github.com/leeguandong/ComfyUI_FluxCustomId",
"files": [
"https://github.com/leeguandong/ComfyUI_FluxCustomId"
],
"install_type": "git-clone",
"description": "ComfyUI nodes to use FluxCustomId\nOriginal repo: [a/https://github.com/damo-cv/FLUX-customID](https://github.com/damo-cv/FLUX-customID)"
},
{
"author": "bongsang",
"title": "ComfyUI-Bongsang",
"reference": "https://github.com/bongsang/ComfyUI-Bongsang",
"files": [
"https://github.com/bongsang/ComfyUI-Bongsang"
],
"install_type": "git-clone",
"description": "The 'ComfyUI-Bongsang' is very useful tools for a diffusion model developer."
},
{
"author": "5x00",
"title": "ComfyUI-PiAPI-Faceswap",
"reference": "https://github.com/5x00/ComfyUI-PiAPI-Faceswap",
"files": [
"https://github.com/5x00/ComfyUI-PiAPI-Faceswap"
],
"install_type": "git-clone",
"description": "A simple ComfyUI nodes that integrates [a/PiAPI faceswap](https://piapi.ai/faceswap-api) service into ComfyUI. This can be helpful if you're trying to create a workflow that includes faceswap for commercial usage."
},
{
"author": "muxueChen",
"title": "CosyVoice2 for ComfyUI",
"reference": "https://github.com/muxueChen/ComfyUI_NTCosyVoice",
"files": [
"https://github.com/muxueChen/ComfyUI_NTCosyVoice"
],
"install_type": "git-clone",
"description": "ComfyUI_NTCosyVoice is a plugin of ComfyUI for Cosysvoice2"
},
{
"author": "cenzijing",
"title": "ComfyUI-Markmap",
"reference": "https://github.com/cenzijing/ComfyUI-Markmap",
"files": [
"https://github.com/cenzijing/ComfyUI-Markmap"
],
"install_type": "git-clone",
"description": "A ComfyUI custom node for creating mindmaps from markdown"
}
]
}

View File

@@ -426,6 +426,7 @@
"SaveImageToPath",
"SegmDetectorCombined_batch",
"SelectImagesBatch",
"SelectImagesBatch_v2",
"SplitPath",
"ToImageListData",
"VideoFade",
@@ -2690,6 +2691,7 @@
"DP Clean Prompt Travel",
"DP Combo Controller",
"DP Condition Mixer",
"DP ControlNet Apply Advanced",
"DP Crazy Prompt Mixer",
"DP Create Json File",
"DP Custom Aspect Ratio",
@@ -2700,6 +2702,7 @@
"DP Fast Slow Motion",
"DP Five Lora",
"DP Five Lora Random",
"DP Image And String Pairs Switch",
"DP Image Color Analyzer",
"DP Image Color Analyzer Small",
"DP Image Color Effect",
@@ -2716,14 +2719,19 @@
"DP Int 0-1000 4 Step",
"DP Int 0-1000 8 Step",
"DP Line Cycler",
"DP Load Checkpoint With Info",
"DP Load Controlnet Model With Name",
"DP Load Dual CLIP With Info",
"DP Load Image Effects",
"DP Load Image Effects Small",
"DP Load Image Minimal",
"DP Load UNET With Info",
"DP Logo Animator",
"DP Logo Animator Advanced",
"DP Lora Random Strength Controller",
"DP Lora Strength Controller",
"DP Lora Strength Stepper",
"DP Mask Settings",
"DP Prompt Inverter",
"DP Prompt Manager",
"DP Prompt Manager Small",
@@ -2739,6 +2747,7 @@
"DP Random Psychedelic Punk Generator",
"DP Random Superhero Prompt Generator",
"DP Random Vehicle Generator",
"DP Sampler",
"DP Save Preview Image",
"DP Set New Model Folder Link",
"DP String Text",
@@ -2842,7 +2851,9 @@
[
"FluxPro11_TOGETHER",
"FluxPro_TOGETHER",
"GenerateImage_VENICE"
"GenerateImage_VENICE",
"testaaaaa",
"testaaaaa2"
],
{
"title_aux": "ComfyUI-Venice-API"
@@ -4163,9 +4174,11 @@
],
"https://github.com/IamCreateAI/Ruyi-Models": [
[
"Ruyi_EnhanceAVideo",
"Ruyi_I2VSampler",
"Ruyi_LoadLora",
"Ruyi_LoadModel"
"Ruyi_LoadModel",
"Ruyi_TeaCache"
],
{
"title_aux": "ComfyUI-Ruyi"
@@ -5111,6 +5124,15 @@
"title_aux": "ComfyUI_S3_direct"
}
],
"https://github.com/Kurdknight/Kurdknight_comfycheck": [
[
"SystemCheck",
"SystemViz"
],
{
"title_aux": "KurdKnight ComfyUI System Check Node"
}
],
"https://github.com/KwaiVGI/ComfyUI-KLingAI-API": [
[
"Client",
@@ -6010,6 +6032,7 @@
"BlackBarsV1",
"BlackBarsV2",
"BlackBarsV3",
"ClassicFilmEffect",
"CombineAudio",
"DJZ-LoadLatent",
"DJZ-LoadLatentV2",
@@ -6023,9 +6046,14 @@
"DjzDatamoshV5",
"DjzDatamoshV6",
"DjzDatamoshV7",
"DjzDatamoshV8",
"FilmGrainEffect",
"FilmGrainEffect_v2",
"FishEyeEffect",
"FractalGenerator",
"FractalGeneratorV2",
"FractalGeneratorV3",
"ImageInterleavedUpscaler",
"ImageSizeAdjuster",
"ImageSizeAdjusterV2",
"ImageSizeAdjusterV3",
@@ -6038,6 +6066,7 @@
"ParametricMeshGenV2",
"ProjectFilePathNode",
"PromptCleaner",
"PromptDupeRemover",
"PromptInject",
"PromptSwap",
"RetroVideoText",
@@ -6046,17 +6075,21 @@
"StringWeights",
"Technicolor3Strip_v1",
"Technicolor3Strip_v2",
"ThreeToneStyler",
"TrianglesPlus",
"TrianglesPlusV2",
"VHS_Effect_V3",
"VHS_Effect_v1",
"VHS_Effect_v2",
"VideoBitClamp",
"VideoInterlaceFastV4",
"VideoInterlaceGANV3",
"VideoInterlaced",
"VideoInterlacedV2",
"WaveletDecompose",
"ZenkaiPrompt",
"ZenkaiPromptV2",
"ZenkaiPromptV3",
"ZenkaiWildcard",
"ZenkaiWildcardV2"
],
@@ -6775,8 +6808,10 @@
"https://github.com/RiceRound/ComfyUI_CryptoCat": [
[
"CryptoCatImage",
"DecodeCryptoNode",
"ExcuteCryptoNode",
"RandomSeedNode",
"SaveCryptoBridgeNode",
"SaveCryptoNode"
],
{
@@ -7655,13 +7690,15 @@
],
"https://github.com/SlackinJack/asyncdiff_comfyui": [
[
"ADADSampler",
"ADModelSelector",
"ADPipelineConfig",
"ADSD1Sampler",
"ADSD2Sampler",
"ADSD3Sampler",
"ADSDUpscaleSampler",
"ADSDXLSampler",
"ADSVDSampler",
"ADUpscaleSampler"
"ADSVDSampler"
],
{
"title_aux": "asyncdiff_comfyui"
@@ -8782,6 +8819,14 @@
"title_aux": "Anyline"
}
],
"https://github.com/ThepExcel/aiangelgallery-comfyui": [
[
"ThepExcel_AiAngel_MultilineTextChoiceNode"
],
{
"title_aux": "Multiline Text Choice Node for ComfyUI"
}
],
"https://github.com/ThereforeGames/ComfyUI-Unprompted": [
[
"Unprompted",
@@ -9410,6 +9455,7 @@
"InstaCSeed",
"InstaCText",
"InstaCTextML",
"InstaLoadImageLocal",
"InstaPromptMultipleStyleSelector",
"InstaPromptStyleSelector",
"LoadVideo",
@@ -9635,6 +9681,7 @@
"RemoveBackgroundNode",
"SDXLTextEncoderSimpleNode",
"SaveCaptionsImages",
"SaveImageNode",
"TextFieldNode",
"TileCheckpointPatchNode",
"UpscaleImageWithModel",
@@ -9912,6 +9959,7 @@
],
"https://github.com/Zeks/comfyui-rapidfire": [
[
"CachedCheckpoint",
"CsvWriterNode",
"ImmatureImageCounter",
"ImmatureImageDataLoader"
@@ -11005,6 +11053,7 @@
"SP_KoboldCpp_BannedTokens",
"SP_KoboldCpp_OverrideCfg",
"SP_ListAny",
"SP_Pass",
"SP_Pipe",
"SP_Pipe_ToBasicPipe",
"SP_SD3Loader",
@@ -11261,6 +11310,7 @@
[
"BlehBlockCFG",
"BlehBlockOps",
"BlehCast",
"BlehDeepShrink",
"BlehDisableNoise",
"BlehDiscardPenultimateSigma",
@@ -11268,13 +11318,15 @@
"BlehGlobalSageAttention",
"BlehHyperTile",
"BlehInsaneChainSampler",
"BlehLatentBlend",
"BlehLatentOps",
"BlehLatentScaleBy",
"BlehModelPatchConditional",
"BlehPlug",
"BlehRefinerAfter",
"BlehSageAttentionSampler",
"BlehSetSamplerPreset"
"BlehSetSamplerPreset",
"BlehSetSigmas"
],
{
"title_aux": "ComfyUI-bleh"
@@ -11439,8 +11491,11 @@
"AllegroDecoder",
"AllegroEncoder",
"AllegroSampler",
"AllegroTI2VEncoder",
"AllegroTI2VSampler",
"AllegroTextEncoder",
"LoadAllegroModel"
"LoadAllegroModel",
"LoadAllegroTI2VModel"
],
{
"title_aux": "ComfyUI-Allegro"
@@ -12823,6 +12878,14 @@
"title_aux": "ComfyUI Pollinations"
}
],
"https://github.com/ciga2011/ComfyUI-PromptOptimizer": [
[
"PromptOptimizer"
],
{
"title_aux": "ComfyUI Prompt Optimizer"
}
],
"https://github.com/ciri/comfyui-model-downloader": [
[
"Auto Model Downloader",
@@ -13075,6 +13138,7 @@
"ControlNetApplySD3",
"ControlNetInpaintingAliMamaApply",
"ControlNetLoader",
"CosmosImageToVideoLatent",
"CropMask",
"DiffControlNetLoader",
"DifferentialDiffusion",
@@ -13226,6 +13290,7 @@
"SaveImageWebsocket",
"SaveLatent",
"SelfAttentionGuidance",
"SetFirstSigma",
"SetLatentNoiseMask",
"SetUnionControlNetType",
"SkipLayerGuidanceDiT",
@@ -14711,31 +14776,20 @@
"title_aux": "ComfyMath"
}
],
"https://github.com/evolox/ComfyUI-GeneraNodes": [
[
"Genera.BatchPreviewer",
"Genera.BatchTester",
"Genera.GCPStorageNode",
"Genera.MaskDrawer",
"Genera.Utils",
"PDPStage1",
"PainterNode",
"UniversalSwitch"
],
{
"title_aux": "ComfyUI-GeneraNodes"
}
],
"https://github.com/exdysa/comfyui-selector": [
[
"Fork",
"Fork+-",
"ForkClip",
"Recourse",
"Recourse+/-",
"Recourse+-",
"RecourseCkpt",
"RecourseImage",
"Selector",
"Unite"
"Unite",
"Unite+-",
"UniteClip",
"UniteModel"
],
{
"author": "\"\u02f6\ud835\udfa2\u292c\u2ad2\u2d56s\u143c\u02f6\"",
@@ -15784,6 +15838,7 @@
"Griptape Agent Config: Expand",
"Griptape Agent Config: Google Drivers",
"Griptape Agent Config: Google [DEPRECATED]",
"Griptape Agent Config: Groq Drivers",
"Griptape Agent Config: HuggingFace Drivers",
"Griptape Agent Config: HuggingFace [DEPRECATED]",
"Griptape Agent Config: LM Studio Drivers",
@@ -15794,6 +15849,7 @@
"Griptape Agent Config: OpenAI Compatible [DEPRECATED]",
"Griptape Agent Config: OpenAI Drivers",
"Griptape Agent Config: OpenAI [DEPRECATED]",
"Griptape Audio Transcription Driver: Groq",
"Griptape Audio Transcription Driver: OpenAI",
"Griptape Code: Run Griptape Cloud Structure",
"Griptape Code: Run Python",
@@ -15846,6 +15902,7 @@
"Griptape Prompt Driver: Azure OpenAI",
"Griptape Prompt Driver: Cohere",
"Griptape Prompt Driver: Google",
"Griptape Prompt Driver: Groq",
"Griptape Prompt Driver: HuggingFace",
"Griptape Prompt Driver: LM Studio",
"Griptape Prompt Driver: Ollama",
@@ -16377,7 +16434,8 @@
],
"https://github.com/hodanajan/optimal-crop-resolution": [
[
"AspectRatioCalculator"
"AspectRatioCalculator",
"ResolutionMatcher"
],
{
"title_aux": "optimal-crop-resolution"
@@ -16392,6 +16450,14 @@
"title_aux": "ComfyUI-ModelDownloader"
}
],
"https://github.com/hosterosi/ComfyUI_OpenAI": [
[
"OpenAIResponse"
],
{
"title_aux": "ComfyUI OpenAI Node"
}
],
"https://github.com/hoveychen/ComfyUI-MusePose-Remaster": [
[
"musepose_getposes",
@@ -16436,7 +16502,8 @@
"ImagePreprocessor",
"LdmPipelineLoader",
"LdmVaeLoader",
"LoraModelLoader"
"LoraModelLoader",
"ViewSelector"
],
{
"title_aux": "ComfyUI-MVAdapter"
@@ -16559,6 +16626,7 @@
"https://github.com/hyunamy/comfy-ui-on-complete-email-me": [
[
"OnCompleteEmailMe",
"OnCompletePlaySound",
"OnCompleteWebhook"
],
{
@@ -17369,6 +17437,7 @@
"ComfyOnlineSaveFile",
"ComfyOnlineUploadAnything",
"EmbeddingLoader",
"LoadCheckpointFromCivitAI",
"LoadHunyuanLoraFromCivitAI",
"LoadHunyuanLoraFromComfyOnline",
"LoadHunyuanLoraFromHF",
@@ -18843,8 +18912,11 @@
[
"AspectSelector",
"FolderLoader",
"Json Extractor - klinter",
"LoadImagePlus",
"LoadVideoForExtendingKlinter",
"OutpaintPadding",
"PrepVideoForExtendKlinter",
"SizeSelector",
"SpeedRamp",
"YellowBus",
@@ -20317,6 +20389,7 @@
"LeRes_DepthMap_Preprocessor_Provider_for_SEGS //Inspire",
"LineArt_Preprocessor_Provider_for_SEGS //Inspire",
"ListCounter //Inspire",
"LoadDiffusionModelShared //Inspire",
"LoadImage //Inspire",
"LoadImageListFromDir //Inspire",
"LoadImagesFromDir //Inspire",
@@ -20324,6 +20397,7 @@
"LoadPromptsFromDir //Inspire",
"LoadPromptsFromFile //Inspire",
"LoadSinglePromptFromFile //Inspire",
"LoadTextEncoderShared //Inspire",
"LoraBlockInfo //Inspire",
"LoraLoaderBlockWeight //Inspire",
"MakeBasicPipe //Inspire",
@@ -20722,6 +20796,14 @@
"title_aux": "Dynamic Thresholding"
}
],
"https://github.com/meanin2/comfyui-watermarking": [
[
"WatermarkOverlay"
],
{
"title_aux": "ComfyUI Watermark Image Node"
}
],
"https://github.com/meap158/ComfyUI-Background-Replacement": [
[
"BackgroundReplacement",
@@ -21135,32 +21217,6 @@
"title_aux": "MLTask_ComfyUI"
}
],
"https://github.com/mithamunda/ComfyUI-SD3.5-Latent-Size-Picker": [
[
"SD3_5EmptyLatent"
],
{
"title_aux": "SD3.5 Empty Latent Size Picker"
}
],
"https://github.com/mithamunda/ComfyUI-TogetherVision": [
[
"Together Image \ud83c\udfa8",
"Together Vision \ud83d\udd0d",
"TogetherVisionNode"
],
{
"title_aux": "Together Vision Node"
}
],
"https://github.com/mithamunda/ComfyUI-ollama_killer": [
[
"OllamaKiller"
],
{
"title_aux": "OllamaKiller Node for ComfyUI"
}
],
"https://github.com/mittimi/ComfyUI_mittimiLoadPreset2": [
[
"CombineParamDataMittimi",
@@ -22337,6 +22393,7 @@
"Playbook Outline",
"Playbook Outline Sequence",
"Playbook Render Result",
"Playbook Seed",
"Playbook Text",
"Playbook Video"
],
@@ -22904,49 +22961,6 @@
"title_aux": "comfyUI_FrequencySeparation_RGB-HSV"
}
],
"https://github.com/riverolls/ComfyUI-FJDH": [
[
"AngleCalculator",
"BBoxAreaFilter",
"BBoxToPoint",
"BooleanToCombo",
"BrightnessToMask",
"CenterPointCalculator",
"ChestMaskGenerator",
"CircularMaskGenerator",
"CoordinatesToPoint",
"DistanceCalculator",
"DistanceMaskGenerator",
"ForeheadMaskGenerator",
"GridPointGenerator",
"ImageAligner",
"ImageComparer",
"ImageWarper",
"ItemSelector",
"KeypointSelector",
"LargestMaskSelector",
"LineMaskGenerator",
"MaskChamfer",
"MaskFilter",
"MaskShift",
"MaskThreshold",
"MaskToBBox",
"MaskToPoint",
"MaxInscribedRectangleMaskGenerator",
"PointExtractor",
"PointMerger",
"PointMover",
"PointPreview",
"PointReversor",
"PointThresholdFilter",
"PointToBBox",
"PointToCoordinates",
"PolygonMaskGenerator"
],
{
"title_aux": "ComfyUI-FJDH"
}
],
"https://github.com/robertvoy/ComfyUI-Flux-Continuum": [
[
"BatchSlider",
@@ -23445,6 +23459,7 @@
"LmcqImageSaverWeb",
"LmcqInputValidator",
"LmcqLoadFluxNF4Checkpoint",
"LmcqNumberSliders5",
"LmcqRuntimeLoraDecryption",
"LmcqRuntimeLoraEncryption",
"LmcqRuntimeModelDecryption",
@@ -24985,6 +25000,32 @@
"title_aux": "ComfyUI Stable Video Diffusion"
}
],
"https://github.com/theshubzworld/ComfyUI-SD3.5-Latent-Size-Picker": [
[
"SD3_5EmptyLatent"
],
{
"title_aux": "SD3.5 Empty Latent Size Picker"
}
],
"https://github.com/theshubzworld/ComfyUI-TogetherVision": [
[
"Together Image \ud83c\udfa8",
"Together Vision \ud83d\udd0d",
"TogetherVisionNode"
],
{
"title_aux": "Together Vision Node"
}
],
"https://github.com/theshubzworld/ComfyUI-ollama_killer": [
[
"OllamaKiller"
],
{
"title_aux": "OllamaKiller Node for ComfyUI"
}
],
"https://github.com/thoddnn/ComfyUI-MLX": [
[
"MLXClipTextEncoder",
@@ -25702,6 +25743,7 @@
],
"https://github.com/welltop-cn/ComfyUI-TeaCache": [
[
"CompileModel",
"TeaCacheForImgGen",
"TeaCacheForVidGen"
],
@@ -26294,6 +26336,14 @@
"title_aux": "ComfyUI-Fal-API-Flux"
}
],
"https://github.com/yhayano-ponotech/comfyui-save-image-local": [
[
"Local Save"
],
{
"title_aux": "ComfyUI Local Save Node"
}
],
"https://github.com/yichengup/Comfyui-Ycanvas": [
[
"CanvasNode"

View File

@@ -9,6 +9,7 @@ import platform
import json
import ast
import logging
import traceback
glob_path = os.path.join(os.path.dirname(__file__), "glob")
sys.path.append(glob_path)
@@ -146,6 +147,48 @@ def process_wrap(cmd_str, cwd_path, handler=None, env=None):
return process.wait()
original_stdout = sys.stdout
def try_get_custom_nodes(x):
for custom_nodes_dir in folder_paths.get_folder_paths('custom_nodes'):
if x.startswith(custom_nodes_dir):
relative_path = os.path.relpath(x, custom_nodes_dir)
next_segment = relative_path.split(os.sep)[0]
if next_segment.lower() != 'comfyui-manager':
return next_segment, os.path.join(custom_nodes_dir, next_segment)
return None
def extract_origin_module():
stack = traceback.extract_stack()[:-2]
for frame in reversed(stack):
info = try_get_custom_nodes(frame.filename)
if info is None:
continue
else:
return info
return None
def extract_origin_module_from_strings(file_paths):
for filepath in file_paths:
info = try_get_custom_nodes(filepath)
if info is None:
continue
else:
return info
return None
def finalize_startup():
res = {}
for k, v in cm_global.error_dict.items():
if v['path'] in import_failed_extensions:
res[k] = v
cm_global.error_dict = res
try:
if '--port' in sys.argv:
port_index = sys.argv.index('--port')
@@ -225,8 +268,16 @@ try:
if match:
import_failed_extensions.add(match.group(1).strip())
if 'Starting server' in message:
is_start_mode = False
if not self.is_stdout:
origin_info = extract_origin_module()
if origin_info is not None:
name, origin_path = origin_info
if name != 'comfyui-manager':
if name not in cm_global.error_dict:
cm_global.error_dict[name] = {'name': name, 'path': origin_path, 'msg': ''}
cm_global.error_dict[name]['msg'] += message
if not self.is_stdout:
match = re.search(pat_tqdm, message)
@@ -311,12 +362,34 @@ try:
if match:
import_failed_extensions.add(match.group(1).strip())
if 'Traceback' in message:
file_lists = self._extract_file_paths(message)
origin_info = extract_origin_module_from_strings(file_lists)
if origin_info is not None:
name, origin_path = origin_info
if name != 'comfyui-manager':
if name not in cm_global.error_dict:
cm_global.error_dict[name] = {'name': name, 'path': origin_path, 'msg': ''}
cm_global.error_dict[name]['msg'] += message
if 'Starting server' in message:
is_start_mode = False
finalize_startup()
if stderr_wrapper:
stderr_wrapper.sync_write(message+'\n', file_only=True)
def _extract_file_paths(self, msg):
file_paths = []
for line in msg.split('\n'):
match = re.findall(r'File \"(.*?)\", line \d+', line)
for x in match:
if not x.startswith('<'):
file_paths.extend(match)
return file_paths
logging.getLogger().addHandler(LoggingHandler())

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.7.4"
version = "3.8.1"
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
source venv/bin/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 "#!/bin/bash" > run_gpu.sh
echo "cd ComfyUI" >> run_gpu.sh