Skip to content

Commit

Permalink
update DB
Browse files Browse the repository at this point in the history
scanner fix
  • Loading branch information
ltdrdata committed Dec 11, 2023
1 parent a0993fe commit bd6bdd1
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 4 deletions.
20 changes: 20 additions & 0 deletions custom-node-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -3058,6 +3058,16 @@
"install_type": "git-clone",
"description": "This is the ComfyUI port of the joint research between me and TimothyAlexisVass. For more information, check out the original [a/Extension](https://github.com/Haoming02/sd-webui-diffusion-cg) for Automatic1111."
},
{
"author": "Haoming02",
"title": "comfyui-prompt-format",
"reference": "https://github.com/Haoming02/comfyui-prompt-format",
"files": [
"https://github.com/Haoming02/comfyui-prompt-format"
],
"install_type": "git-clone",
"description": "This is an Extension for ComfyUI, which helps formatting texts."
},
{
"author": "bedovyy",
"title": "ComfyUI_NAIDGenerator",
Expand Down Expand Up @@ -3290,6 +3300,16 @@
"install_type": "git-clone",
"description": "Implementation of the [StyleAligned](https://style-aligned-gen.github.io/) paper for ComfyUI. This node allows you to apply a consistent style to all images in a batch; by default it will use the first image in the batch as the style reference, forcing all other images to be consistent with it."
},
{
"author": "deroberon",
"title": "demofusion-comfyui",
"reference": "https://github.com/deroberon/demofusion-comfyui",
"files": [
"https://github.com/deroberon/demofusion-comfyui"
],
"install_type": "git-clone",
"description": "This extension implements [DemoFusion](https://ruoyidu.github.io/demofusion/demofusion.html)."
},
{
"author": "Ser-Hilary",
"title": "SDXL_sizing",
Expand Down
9 changes: 8 additions & 1 deletion extension-node-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -3179,6 +3179,14 @@
"title_aux": "DZ-FaceDetailer"
}
],
"https://github.com/deroberon/demofusion-comfyui": [
[
"Demofusion"
],
{
"title_aux": "demofusion-comfyui"
}
],
"https://github.com/dimtoneff/ComfyUI-PixelArt-Detector": [
[
"PixelArtAddDitherPattern",
Expand Down Expand Up @@ -5144,7 +5152,6 @@
"Random Line 4"
],
{
"nodename_pattern": "\\(mtb\\)$",
"title_aux": "Hakkun-ComfyUI-nodes"
}
],
Expand Down
20 changes: 20 additions & 0 deletions node_db/new/custom-node-list.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{
"custom_nodes": [
{
"author": "deroberon",
"title": "demofusion-comfyui",
"reference": "https://github.com/deroberon/demofusion-comfyui",
"files": [
"https://github.com/deroberon/demofusion-comfyui"
],
"install_type": "git-clone",
"description": "This extension implements [DemoFusion](https://ruoyidu.github.io/demofusion/demofusion.html)."
},
{
"author": "Haoming02",
"title": "comfyui-prompt-format",
"reference": "https://github.com/Haoming02/comfyui-prompt-format",
"files": [
"https://github.com/Haoming02/comfyui-prompt-format"
],
"install_type": "git-clone",
"description": "This is an Extension for ComfyUI, which helps formatting texts."
},
{
"author": "brianfitzgerald",
"title": "StyleAligned for ComfyUI",
Expand Down
9 changes: 8 additions & 1 deletion node_db/new/extension-node-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -3179,6 +3179,14 @@
"title_aux": "DZ-FaceDetailer"
}
],
"https://github.com/deroberon/demofusion-comfyui": [
[
"Demofusion"
],
{
"title_aux": "demofusion-comfyui"
}
],
"https://github.com/dimtoneff/ComfyUI-PixelArt-Detector": [
[
"PixelArtAddDitherPattern",
Expand Down Expand Up @@ -5144,7 +5152,6 @@
"Random Line 4"
],
{
"nodename_pattern": "\\(mtb\\)$",
"title_aux": "Hakkun-ComfyUI-nodes"
}
],
Expand Down
4 changes: 2 additions & 2 deletions scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def gen_json(node_info):
metadata['nodename_pattern'] = node_pattern
data[url] = (nodes, metadata)
else:
print(f"Missing info: {url}")
print(f"Missing info: {file}")

# scan from node_list.json file
extensions = [name for name in os.listdir(temp_dir) if os.path.isdir(os.path.join(temp_dir, name))]
Expand All @@ -291,7 +291,7 @@ def gen_json(node_info):

metadata_in_url['title_aux'] = title
if node_pattern is not None:
metadata['nodename_pattern'] = node_pattern
metadata_in_url['nodename_pattern'] = node_pattern
nodes = list(nodes)
nodes.sort()
data[git_url] = (nodes, metadata_in_url)
Expand Down

0 comments on commit bd6bdd1

Please sign in to comment.