mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
improve scanner.py
update DB
This commit is contained in:
parent
aa2ad3b0e4
commit
3377cd4a35
@ -838,6 +838,26 @@
|
|||||||
"install_type": "git-clone",
|
"install_type": "git-clone",
|
||||||
"description": "Nodes: Remove Image Background (abg). A Anime Background Remover node for comfyui, based on this hf space, works same as AGB extention in automatic1111."
|
"description": "Nodes: Remove Image Background (abg). A Anime Background Remover node for comfyui, based on this hf space, works same as AGB extention in automatic1111."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"author": "twri",
|
||||||
|
"title": "SDXL Prompt Styler",
|
||||||
|
"reference": "https://github.com/twri/sdxl_prompt_styler",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/twri/sdxl_prompt_styler"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "SDXL Prompt Styler is a node that enables you to style prompts based on predefined templates stored in a JSON file. The node specifically replaces a {prompt} placeholder in the 'prompt' field of each template with provided positive text."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "bash-j",
|
||||||
|
"title": "Mikey Nodes",
|
||||||
|
"reference": "https://github.com/bash-j/mikey_nodes",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/bash-j/mikey_nodes"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Nodes: Prompt With Style, Prompt With SDXL, Resize Image for SDXL, Save Image With Prompt Data, HaldCLUT, Empty Latent Ratio Select/Custom SDXL"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"author": "taabata",
|
"author": "taabata",
|
||||||
"title": "Syrian Falcon Nodes",
|
"title": "Syrian Falcon Nodes",
|
||||||
@ -1007,8 +1027,8 @@
|
|||||||
"description": "Nodes: Prompt parser. ComfyUI extra nodes. Mostly prompt parsing."
|
"description": "Nodes: Prompt parser. ComfyUI extra nodes. Mostly prompt parsing."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"author": "tudal",
|
"author": "SadaleNet",
|
||||||
"title": "SadaleNet",
|
"title": "ComfyUI A1111-like Prompt Custom Node Solution",
|
||||||
"reference": "https://github.com/SadaleNet/CLIPTextEncodeA1111-ComfyUI",
|
"reference": "https://github.com/SadaleNet/CLIPTextEncodeA1111-ComfyUI",
|
||||||
"files": [
|
"files": [
|
||||||
"https://github.com/SadaleNet/CLIPTextEncodeA1111-ComfyUI/raw/master/custom_nodes/clip_text_encoder_a1111.py"
|
"https://github.com/SadaleNet/CLIPTextEncodeA1111-ComfyUI/raw/master/custom_nodes/clip_text_encoder_a1111.py"
|
||||||
|
|||||||
@ -34,6 +34,15 @@
|
|||||||
"BSZAspectHires",
|
"BSZAspectHires",
|
||||||
"BSZCombinedHires"
|
"BSZCombinedHires"
|
||||||
],
|
],
|
||||||
|
"https://github.com/Bikecicle/ComfyUI-Waveform-Extensions/raw/main/EXT_AudioManipulation.py": [
|
||||||
|
"BatchJoinAudio",
|
||||||
|
"CutAudio",
|
||||||
|
"DuplicateAudio",
|
||||||
|
"JoinAudio",
|
||||||
|
"ResampleAudio",
|
||||||
|
"ReverseAudio",
|
||||||
|
"StretchAudio"
|
||||||
|
],
|
||||||
"https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb": [
|
"https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb": [
|
||||||
"BNK_AddCLIPSDXLParams",
|
"BNK_AddCLIPSDXLParams",
|
||||||
"BNK_AddCLIPSDXLRParams",
|
"BNK_AddCLIPSDXLRParams",
|
||||||
@ -649,6 +658,7 @@
|
|||||||
"Text Random Line",
|
"Text Random Line",
|
||||||
"Text Random Prompt",
|
"Text Random Prompt",
|
||||||
"Text String",
|
"Text String",
|
||||||
|
"Text String Truncate",
|
||||||
"Text to Conditioning",
|
"Text to Conditioning",
|
||||||
"Text to Console",
|
"Text to Console",
|
||||||
"Text to Number",
|
"Text to Number",
|
||||||
@ -687,6 +697,20 @@
|
|||||||
"EditableCLIPEncode",
|
"EditableCLIPEncode",
|
||||||
"LoRAScheduler"
|
"LoRAScheduler"
|
||||||
],
|
],
|
||||||
|
"https://github.com/bash-j/mikey_nodes": [
|
||||||
|
"Batch Resize Image for SDXL",
|
||||||
|
"Empty Latent Ratio Custom SDXL",
|
||||||
|
"Empty Latent Ratio Select SDXL",
|
||||||
|
"HaldCLUT",
|
||||||
|
"Prompt With SDXL",
|
||||||
|
"Prompt With Style",
|
||||||
|
"Prompt With Style V2",
|
||||||
|
"Prompt With Style V3",
|
||||||
|
"Resize Image for SDXL",
|
||||||
|
"Save Image With Prompt Data",
|
||||||
|
"Upscale Tile Calculator",
|
||||||
|
"VAE Decode 6GB SDXL (deprecated)"
|
||||||
|
],
|
||||||
"https://github.com/biegert/ComfyUI-CLIPSeg/raw/main/custom_nodes/clipseg.py": [
|
"https://github.com/biegert/ComfyUI-CLIPSeg/raw/main/custom_nodes/clipseg.py": [
|
||||||
"CLIPSeg",
|
"CLIPSeg",
|
||||||
"CombineSegMasks"
|
"CombineSegMasks"
|
||||||
@ -857,6 +881,28 @@
|
|||||||
"YKImagePadForOutpaint",
|
"YKImagePadForOutpaint",
|
||||||
"YKMaskToImage"
|
"YKMaskToImage"
|
||||||
],
|
],
|
||||||
|
"https://github.com/hnmr293/ComfyUI-nodes-hnmr": [
|
||||||
|
"CLIPIter",
|
||||||
|
"Dict2Model",
|
||||||
|
"GridImage",
|
||||||
|
"ImageBlend2",
|
||||||
|
"KSamplerOverrided",
|
||||||
|
"KSamplerSetting",
|
||||||
|
"KSamplerXYZ",
|
||||||
|
"LatentToHist",
|
||||||
|
"LatentToImage",
|
||||||
|
"ModelIter",
|
||||||
|
"RandomLatentImage",
|
||||||
|
"SaveStateDict",
|
||||||
|
"SaveText",
|
||||||
|
"StateDictLoader",
|
||||||
|
"StateDictMerger",
|
||||||
|
"StateDictMergerBlockWeighted",
|
||||||
|
"StateDictMergerBlockWeightedMulti",
|
||||||
|
"VAEDecodeBatched",
|
||||||
|
"VAEEncodeBatched",
|
||||||
|
"VAEIter"
|
||||||
|
],
|
||||||
"https://github.com/kwaroran/abg-comfyui": [
|
"https://github.com/kwaroran/abg-comfyui": [
|
||||||
"Remove Image Background (abg)"
|
"Remove Image Background (abg)"
|
||||||
],
|
],
|
||||||
@ -1170,7 +1216,6 @@
|
|||||||
"trRouterLonger"
|
"trRouterLonger"
|
||||||
],
|
],
|
||||||
"https://github.com/tudal/Hakkun-ComfyUI-nodes/raw/main/hakkun_nodes.py": [
|
"https://github.com/tudal/Hakkun-ComfyUI-nodes/raw/main/hakkun_nodes.py": [
|
||||||
"Any Converter",
|
|
||||||
"Calculate Upscale",
|
"Calculate Upscale",
|
||||||
"Image size to string",
|
"Image size to string",
|
||||||
"Multi Text Merge",
|
"Multi Text Merge",
|
||||||
|
|||||||
@ -24,6 +24,11 @@ def scan_in_file(filename):
|
|||||||
for key in keys:
|
for key in keys:
|
||||||
nodes.add(key)
|
nodes.add(key)
|
||||||
|
|
||||||
|
pattern3 = r'NODE_CLASS_MAPPINGS\[\'(.*?)\'\]'
|
||||||
|
keys = re.findall(pattern3, code)
|
||||||
|
for key in keys:
|
||||||
|
nodes.add(key)
|
||||||
|
|
||||||
matches = regex.findall(code)
|
matches = regex.findall(code)
|
||||||
for match in matches:
|
for match in matches:
|
||||||
dict_text = match
|
dict_text = match
|
||||||
@ -32,6 +37,10 @@ def scan_in_file(filename):
|
|||||||
for key, value in key_value_pairs:
|
for key, value in key_value_pairs:
|
||||||
class_dict[key] = value.strip()
|
class_dict[key] = value.strip()
|
||||||
|
|
||||||
|
key_value_pairs = re.findall(r"'([^']*)'\s*:\s*([^,\n]*)", dict_text)
|
||||||
|
for key, value in key_value_pairs:
|
||||||
|
class_dict[key] = value.strip()
|
||||||
|
|
||||||
for key, value in class_dict.items():
|
for key, value in class_dict.items():
|
||||||
nodes.add(key)
|
nodes.add(key)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user