diff --git a/custom-node-list.json b/custom-node-list.json index 32dad0b..358c195 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -842,6 +842,16 @@ "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." }, + { + "author": "wolfden", + "title": "SDXL Prompt Styler (ustomized version by wolfden)", + "reference": "https://github.com/wolfden/ComfyUi_PromptStylers", + "files": [ + "https://github.com/wolfden/ComfyUi_PromptStylers" + ], + "install_type": "git-clone", + "description": "These custom nodes provide a variety of customized prompt stylers based on twri/SDXL Prompt Styler." + }, { "author": "daxthin", "title": "facedetailer", diff --git a/extension-node-map.json b/extension-node-map.json index 515dea1..9411bfc 100644 --- a/extension-node-map.json +++ b/extension-node-map.json @@ -440,9 +440,14 @@ "https://github.com/JPS-GER/ComfyUI_JPS-Nodes": [ [ "Math Largest Int (JPS)", + "Math Multiply Float Float (JPS)", + "Math Multiply Int Float (JPS)", + "Math Multiply Int Int (JPS)", "Math Resolution Multiply (JPS)", + "Menu Sampler Scheduler (JPS)", "SDXL Additional Settings (JPS)", "SDXL Basic Settings (JPS)", + "SDXL Recommended Resolution Calc (JPS)", "SDXL Resolutions (JPS)", "Switch Generation Mode (JPS)", "Switch Generation Mode 4in1 (JPS)", @@ -849,15 +854,29 @@ ], "https://github.com/SeargeDP/SeargeSDXL": [ [ + "SeargeAdvancedParameters", "SeargeCheckpointLoader", + "SeargeConditionMixing", "SeargeConditioningMuxer2", "SeargeConditioningMuxer5", + "SeargeConditioningParameters", + "SeargeControlnetAdapterV2", + "SeargeControlnetModels", + "SeargeCustomAfterUpscaling", + "SeargeCustomAfterVaeDecode", + "SeargeCustomPromptMode", + "SeargeDebugPrinter", "SeargeEnablerInputs", "SeargeFloatConstant", "SeargeFloatMath", "SeargeFloatPair", "SeargeGenerated1", + "SeargeGenerationParameters", + "SeargeHighResolution", + "SeargeImage2ImageAndInpainting", + "SeargeImageAdapterV2", "SeargeImageSave", + "SeargeImageSaving", "SeargeInput1", "SeargeInput2", "SeargeInput3", @@ -871,6 +890,10 @@ "SeargeIntegerScaler", "SeargeLatentMuxer3", "SeargeLoraLoader", + "SeargeLoras", + "SeargeMagicBox", + "SeargeModelSelector", + "SeargeOperatingMode", "SeargeOutput1", "SeargeOutput2", "SeargeOutput3", @@ -879,21 +902,29 @@ "SeargeOutput6", "SeargeOutput7", "SeargeParameterProcessor", + "SeargePipelineStart", + "SeargePipelineTerminator", + "SeargePreviewImage", + "SeargePromptAdapterV2", "SeargePromptCombiner", + "SeargePromptStyles", "SeargePromptText", "SeargeSDXLBasePromptEncoder", "SeargeSDXLImage2ImageSampler", "SeargeSDXLImage2ImageSampler2", - "SeargeSDXLImage2ImageSamplerV3", "SeargeSDXLPromptEncoder", "SeargeSDXLRefinerPromptEncoder", "SeargeSDXLSampler", "SeargeSDXLSampler2", "SeargeSDXLSamplerV3", + "SeargeSamplerAdvanced", "SeargeSamplerInputs", "SeargeSaveFolderInputs", + "SeargeSeparator", "SeargeStylePreprocessor", + "SeargeTextInputV2", "SeargeUpscaleModelLoader", + "SeargeUpscaleModels", "SeargeVAELoader" ], { @@ -2551,6 +2582,28 @@ "title_aux": "wlsh_nodes" } ], + "https://github.com/wolfden/ComfyUi_PromptStylers": [ + [ + "SDXLPromptStylerHorror", + "SDXLPromptStylerMisc", + "SDXLPromptStylerbyArtist", + "SDXLPromptStylerbyCamera", + "SDXLPromptStylerbyComposition", + "SDXLPromptStylerbyDepth", + "SDXLPromptStylerbyEnvironment", + "SDXLPromptStylerbyFilter", + "SDXLPromptStylerbyFocus", + "SDXLPromptStylerbyLighting", + "SDXLPromptStylerbyMood", + "SDXLPromptStylerbyOriginal", + "SDXLPromptStylerbySubject", + "SDXLPromptStylerbyTheme", + "SDXLPromptStylerbyTimeofDay" + ], + { + "title_aux": "SDXL Prompt Styler (ustomized version by wolfden)" + } + ], "https://github.com/wsippel/comfyui_ws/raw/main/sdxl_utility.py": [ [ "SDXLResolutionPresets" diff --git a/node_db/new/custom-node-list.json b/node_db/new/custom-node-list.json index ee426bf..adf2544 100644 --- a/node_db/new/custom-node-list.json +++ b/node_db/new/custom-node-list.json @@ -1,5 +1,15 @@ { "custom_nodes": [ + { + "author": "wolfden", + "title": "SDXL Prompt Styler (customized version by wolfden)", + "reference": "https://github.com/wolfden/ComfyUi_PromptStylers", + "files": [ + "https://github.com/wolfden/ComfyUi_PromptStylers" + ], + "install_type": "git-clone", + "description": "These custom nodes provide a variety of customized prompt stylers based on twri/SDXL Prompt Styler." + }, { "author": "Dream Project", "title": "Dream Project Animation", diff --git a/node_db/new/extension-node-map.json b/node_db/new/extension-node-map.json index 515dea1..9411bfc 100644 --- a/node_db/new/extension-node-map.json +++ b/node_db/new/extension-node-map.json @@ -440,9 +440,14 @@ "https://github.com/JPS-GER/ComfyUI_JPS-Nodes": [ [ "Math Largest Int (JPS)", + "Math Multiply Float Float (JPS)", + "Math Multiply Int Float (JPS)", + "Math Multiply Int Int (JPS)", "Math Resolution Multiply (JPS)", + "Menu Sampler Scheduler (JPS)", "SDXL Additional Settings (JPS)", "SDXL Basic Settings (JPS)", + "SDXL Recommended Resolution Calc (JPS)", "SDXL Resolutions (JPS)", "Switch Generation Mode (JPS)", "Switch Generation Mode 4in1 (JPS)", @@ -849,15 +854,29 @@ ], "https://github.com/SeargeDP/SeargeSDXL": [ [ + "SeargeAdvancedParameters", "SeargeCheckpointLoader", + "SeargeConditionMixing", "SeargeConditioningMuxer2", "SeargeConditioningMuxer5", + "SeargeConditioningParameters", + "SeargeControlnetAdapterV2", + "SeargeControlnetModels", + "SeargeCustomAfterUpscaling", + "SeargeCustomAfterVaeDecode", + "SeargeCustomPromptMode", + "SeargeDebugPrinter", "SeargeEnablerInputs", "SeargeFloatConstant", "SeargeFloatMath", "SeargeFloatPair", "SeargeGenerated1", + "SeargeGenerationParameters", + "SeargeHighResolution", + "SeargeImage2ImageAndInpainting", + "SeargeImageAdapterV2", "SeargeImageSave", + "SeargeImageSaving", "SeargeInput1", "SeargeInput2", "SeargeInput3", @@ -871,6 +890,10 @@ "SeargeIntegerScaler", "SeargeLatentMuxer3", "SeargeLoraLoader", + "SeargeLoras", + "SeargeMagicBox", + "SeargeModelSelector", + "SeargeOperatingMode", "SeargeOutput1", "SeargeOutput2", "SeargeOutput3", @@ -879,21 +902,29 @@ "SeargeOutput6", "SeargeOutput7", "SeargeParameterProcessor", + "SeargePipelineStart", + "SeargePipelineTerminator", + "SeargePreviewImage", + "SeargePromptAdapterV2", "SeargePromptCombiner", + "SeargePromptStyles", "SeargePromptText", "SeargeSDXLBasePromptEncoder", "SeargeSDXLImage2ImageSampler", "SeargeSDXLImage2ImageSampler2", - "SeargeSDXLImage2ImageSamplerV3", "SeargeSDXLPromptEncoder", "SeargeSDXLRefinerPromptEncoder", "SeargeSDXLSampler", "SeargeSDXLSampler2", "SeargeSDXLSamplerV3", + "SeargeSamplerAdvanced", "SeargeSamplerInputs", "SeargeSaveFolderInputs", + "SeargeSeparator", "SeargeStylePreprocessor", + "SeargeTextInputV2", "SeargeUpscaleModelLoader", + "SeargeUpscaleModels", "SeargeVAELoader" ], { @@ -2551,6 +2582,28 @@ "title_aux": "wlsh_nodes" } ], + "https://github.com/wolfden/ComfyUi_PromptStylers": [ + [ + "SDXLPromptStylerHorror", + "SDXLPromptStylerMisc", + "SDXLPromptStylerbyArtist", + "SDXLPromptStylerbyCamera", + "SDXLPromptStylerbyComposition", + "SDXLPromptStylerbyDepth", + "SDXLPromptStylerbyEnvironment", + "SDXLPromptStylerbyFilter", + "SDXLPromptStylerbyFocus", + "SDXLPromptStylerbyLighting", + "SDXLPromptStylerbyMood", + "SDXLPromptStylerbyOriginal", + "SDXLPromptStylerbySubject", + "SDXLPromptStylerbyTheme", + "SDXLPromptStylerbyTimeofDay" + ], + { + "title_aux": "SDXL Prompt Styler (ustomized version by wolfden)" + } + ], "https://github.com/wsippel/comfyui_ws/raw/main/sdxl_utility.py": [ [ "SDXLResolutionPresets" diff --git a/scanner.py b/scanner.py index 67b379d..3e70643 100644 --- a/scanner.py +++ b/scanner.py @@ -13,18 +13,18 @@ def scan_in_file(filename): with open(filename, encoding='cp949') as file: code = file.read() - pattern = r"NODE_CLASS_MAPPINGS\s*=\s*{([^}]*)}" + pattern = r"_CLASS_MAPPINGS\s*=\s*{([^}]*)}" regex = re.compile(pattern, re.MULTILINE | re.DOTALL) nodes = set() class_dict = {} - pattern2 = r'NODE_CLASS_MAPPINGS\["(.*?)"\]' + pattern2 = r'_CLASS_MAPPINGS\["(.*?)"\]' keys = re.findall(pattern2, code) for key in keys: nodes.add(key.strip()) - pattern3 = r'NODE_CLASS_MAPPINGS\[\'(.*?)\'\]' + pattern3 = r'_CLASS_MAPPINGS\[\'(.*?)\'\]' keys = re.findall(pattern3, code) for key in keys: nodes.add(key.strip()) @@ -44,7 +44,7 @@ def scan_in_file(filename): for key, value in class_dict.items(): nodes.add(key.strip()) - update_pattern = r"NODE_CLASS_MAPPINGS.update\s*\({([^}]*)}\)" + update_pattern = r"_CLASS_MAPPINGS.update\s*\({([^}]*)}\)" update_match = re.search(update_pattern, code) if update_match: update_dict_text = update_match.group(1)