Skip to content

Commit

Permalink
update DB
Browse files Browse the repository at this point in the history
update scanner.py
  • Loading branch information
ltdrdata committed Jun 16, 2024
1 parent 4811f42 commit c60492d
Show file tree
Hide file tree
Showing 7 changed files with 132 additions and 22 deletions.
22 changes: 22 additions & 0 deletions custom-node-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -3242,6 +3242,17 @@
"install_type": "git-clone",
"description": "Nodes:Music Gen, Audio Play, Stable Audio"
},
{
"author": "shadowcz007",
"title": "comfyui-edit-mask",
"id": "edit-mask",
"reference": "https://github.com/shadowcz007/comfyui-edit-mask",
"files": [
"https://github.com/shadowcz007/comfyui-edit-mask"
],
"install_type": "git-clone",
"description": "Nodes:Edit Mask"
},
{
"author": "ostris",
"title": "Ostris Nodes ComfyUI",
Expand Down Expand Up @@ -8062,6 +8073,17 @@
"install_type": "git-clone",
"description": "Nodes that support Stable Diffusion 3 Medium better."
},
{
"author": "kijai",
"title": "ComfyUI-B-LoRA",
"id": "b-lora",
"reference": "https://github.com/liusida/ComfyUI-B-LoRA",
"files": [
"https://github.com/liusida/ComfyUI-B-LoRA"
],
"install_type": "git-clone",
"description": "Load and apply B-LoRA models, currently B-LoRA models only works with SDXL (sdxl_base_1.0)."
},
{
"author": "jtydhr88",
"title": "ComfyUI-Workflow-Encrypt",
Expand Down
38 changes: 29 additions & 9 deletions extension-node-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -1772,6 +1772,8 @@
[
"G370SD3PowerLab_AttentionToImage",
"G370SD3PowerLab_ImageIntoAttention",
"G370SD3PowerLab_ImageIntoLayer",
"G370SD3PowerLab_LayerToImage",
"G370SD3PowerLab_RenderAttention"
],
{
Expand Down Expand Up @@ -4638,15 +4640,6 @@
"title_aux": "SD3-Scaling"
}
],
"https://github.com/zhulu111/ComfyUI_Bxb": [
[
"sdBxb",
"sdBxb_textInput"
],
{
"title_aux": "ComfyUI_Bxb"
}
],
"https://github.com/Umikaze-job/select_folder_path_easy": [
[
"SelectFolderPathEasy"
Expand Down Expand Up @@ -9445,6 +9438,7 @@
"feishu_tool",
"file_combine",
"file_combine_plus",
"get_string",
"github_tool",
"google_tool",
"interpreter_tool",
Expand All @@ -9458,6 +9452,7 @@
"load_wikipedia",
"new_interpreter_tool",
"omost_decode",
"omost_setting",
"openai_tts",
"play_audio",
"show_text_party",
Expand Down Expand Up @@ -10850,6 +10845,14 @@
"title_aux": "ComfyUI-AutoCropFaces"
}
],
"https://github.com/liusida/ComfyUI-B-LoRA": [
[
"LoadBLoRA"
],
{
"title_aux": "ComfyUI-B-LoRA"
}
],
"https://github.com/liusida/ComfyUI-Debug": [
[
"DebugInspectorNode",
Expand Down Expand Up @@ -12786,6 +12789,14 @@
"title_aux": "Consistency Decoder"
}
],
"https://github.com/shadowcz007/comfyui-edit-mask": [
[
"EditMask"
],
{
"title_aux": "comfyui-edit-mask"
}
],
"https://github.com/shadowcz007/comfyui-mixlab-nodes": [
[
"3DImage",
Expand Down Expand Up @@ -14753,6 +14764,15 @@
"title_aux": "EasyCaptureNode for ComfyUI"
}
],
"https://github.com/zhulu111/ComfyUI_Bxb": [
[
"sdBxb",
"sdBxb_textInput"
],
{
"title_aux": "ComfyUI_Bxb"
}
],
"https://github.com/zohac/ComfyUI_ZC_DrawShape": [
[
"ZcDrawShape"
Expand Down
15 changes: 15 additions & 0 deletions github-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -3394,6 +3394,11 @@
"last_update": "2024-06-14 10:24:37",
"author_account_age_days": 3199
},
"https://github.com/liusida/ComfyUI-B-LoRA": {
"stars": 3,
"last_update": "2024-06-16 01:41:49",
"author_account_age_days": 3199
},
"https://github.com/liusida/ComfyUI-Debug": {
"stars": 6,
"last_update": "2024-06-14 10:25:26",
Expand Down Expand Up @@ -4049,6 +4054,11 @@
"last_update": "2024-06-14 10:23:35",
"author_account_age_days": 3306
},
"https://github.com/shadowcz007/comfyui-edit-mask": {
"stars": 0,
"last_update": "2024-06-16 03:52:24",
"author_account_age_days": 3306
},
"https://github.com/shadowcz007/comfyui-mixlab-nodes": {
"stars": 858,
"last_update": "2024-06-14 03:50:18",
Expand Down Expand Up @@ -4739,6 +4749,11 @@
"last_update": "2024-06-14 07:10:18",
"author_account_age_days": 4226
},
"https://github.com/zhulu111/ComfyUI_Bxb": {
"stars": 2,
"last_update": "2024-06-16 03:47:36",
"author_account_age_days": 30
},
"https://github.com/zohac/ComfyUI_ZC_DrawShape": {
"stars": 1,
"last_update": "2024-06-14 07:10:25",
Expand Down
12 changes: 1 addition & 11 deletions node_db/dev/custom-node-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,7 @@
},


{
"author": "kijai",
"title": "ComfyUI-B-LoRA [WIP]",
"id": "b-lora",
"reference": "https://github.com/liusida/ComfyUI-B-LoRA",
"files": [
"https://github.com/liusida/ComfyUI-B-LoRA"
],
"install_type": "git-clone",
"description": "Load and apply B-LoRA models, currently B-LoRA models only works with SDXL (sdxl_base_1.0)."
},

{
"author": "kijai",
"title": "ComfyUI-DiffusersSD3Wrapper",
Expand Down
12 changes: 11 additions & 1 deletion node_db/new/custom-node-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@




{
"author": "kijai",
"title": "ComfyUI-B-LoRA",
"id": "b-lora",
"reference": "https://github.com/liusida/ComfyUI-B-LoRA",
"files": [
"https://github.com/liusida/ComfyUI-B-LoRA"
],
"install_type": "git-clone",
"description": "Load and apply B-LoRA models, currently B-LoRA models only works with SDXL (sdxl_base_1.0)."
},
{
"author": "baicai99",
"title": "ComfyUI-FrameSkipping",
Expand Down
29 changes: 29 additions & 0 deletions node_db/new/extension-node-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -1772,6 +1772,8 @@
[
"G370SD3PowerLab_AttentionToImage",
"G370SD3PowerLab_ImageIntoAttention",
"G370SD3PowerLab_ImageIntoLayer",
"G370SD3PowerLab_LayerToImage",
"G370SD3PowerLab_RenderAttention"
],
{
Expand Down Expand Up @@ -9436,6 +9438,7 @@
"feishu_tool",
"file_combine",
"file_combine_plus",
"get_string",
"github_tool",
"google_tool",
"interpreter_tool",
Expand All @@ -9449,6 +9452,7 @@
"load_wikipedia",
"new_interpreter_tool",
"omost_decode",
"omost_setting",
"openai_tts",
"play_audio",
"show_text_party",
Expand Down Expand Up @@ -10841,6 +10845,14 @@
"title_aux": "ComfyUI-AutoCropFaces"
}
],
"https://github.com/liusida/ComfyUI-B-LoRA": [
[
"LoadBLoRA"
],
{
"title_aux": "ComfyUI-B-LoRA"
}
],
"https://github.com/liusida/ComfyUI-Debug": [
[
"DebugInspectorNode",
Expand Down Expand Up @@ -12777,6 +12789,14 @@
"title_aux": "Consistency Decoder"
}
],
"https://github.com/shadowcz007/comfyui-edit-mask": [
[
"EditMask"
],
{
"title_aux": "comfyui-edit-mask"
}
],
"https://github.com/shadowcz007/comfyui-mixlab-nodes": [
[
"3DImage",
Expand Down Expand Up @@ -14744,6 +14764,15 @@
"title_aux": "EasyCaptureNode for ComfyUI"
}
],
"https://github.com/zhulu111/ComfyUI_Bxb": [
[
"sdBxb",
"sdBxb_textInput"
],
{
"title_aux": "ComfyUI_Bxb"
}
],
"https://github.com/zohac/ComfyUI_ZC_DrawShape": [
[
"ZcDrawShape"
Expand Down
26 changes: 25 additions & 1 deletion scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
import os
import json
from git import Repo
from torchvision.datasets.utils import download_url
import concurrent
import datetime
import concurrent.futures
import requests

builtin_nodes = set()

Expand All @@ -15,6 +16,29 @@
from github import Github


def download_url(url, dest_folder, filename=None):
# Ensure the destination folder exists
if not os.path.exists(dest_folder):
os.makedirs(dest_folder)

# Extract filename from URL if not provided
if filename is None:
filename = os.path.basename(url)

# Full path to save the file
dest_path = os.path.join(dest_folder, filename)

# Download the file
response = requests.get(url, stream=True)
if response.status_code == 200:
with open(dest_path, 'wb') as file:
for chunk in response.iter_content(chunk_size=1024):
if chunk:
file.write(chunk)
else:
raise Exception(f"Failed to download file from {url}")


# prepare temp dir
if len(sys.argv) > 1:
temp_dir = sys.argv[1]
Expand Down

0 comments on commit c60492d

Please sign in to comment.