Fix: Version 1.2.1 – The "Stable Index" Patch
This update addresses the "Widget Shuffling" bug discovered in earlier versions.
Special thanks to wrOngplanet for reporting this issue.
🛠 The Fix: Stable Widget Indexing
In previous versions, refreshing the browser or reloading a workflow could cause ComfyUI to "shuffle" settings (e.g., your filename becoming true or checkboxes turning into text).
⚠️ Known Issues
UI Focus Requirement: The "Prompt Display" inside the node only updates in real-time if the ComfyUI browser tab is currently in focus.
Why? ComfyUI (and most browsers) limit JavaScript execution for background tabs to save system resources.
🚀 Update: Version 1.2 - Native UI Display & Internal Cleanup
The Wildcard Saver just got a major upgrade to make your prompt engineering workflow even faster. he node now features a built-in display.
The saved text is "hammered" directly into the node's UI, allowing you to see your LLM-generated prompts in real-time without needing extra nodes.
How to Install v1.2:
Locate your ComfyUI directory: Go to the folder where you installed ComfyUI.
Open the Custom Nodes folder: Navigate to
ComfyUI/custom_nodes/.Drop the folder: Drag the entire
WildCardSaverfolder (containing the.pyfiles, the__init__.py, and thejssubfolder) into that directory.Restart ComfyUI: Once you restart, the system will automatically read the
__init__.pyand load the new JavaScript UI features.
Why this works seamlessly:
Automatic UI Loading: The
__init__.pyfile contains aWEB_DIRECTORY = "./js"instruction. This tells ComfyUI to automatically load thewildcard_saver.jsscript into your browser for the new "Show Text" feature.Self-Contained: Everything needed for the new native text display and the string output slot is contained within that one folder.
Fully Offline: No external downloads or internet connections are required; the node runs entirely on your local hardware.
Wildcard Saver: Quick Start
The Wildcard Saver node is a utility for ComfyUI designed to capture and store text strings—such as prompts, subjects, or styles—directly into .txt files. This is perfect for building your own custom wildcard libraries on the fly without leaving the ComfyUI interface.
1. Key Features
Dynamic Saving: Convert any text input (or generated prompt) into a reusable wildcard file.
Three Save Modes: Choose between saving to your standard
wildcardsfolder, theoutputdirectory, or atempfolder.Smart Overwrite Protection: If "append" is turned off, the node automatically renames files (e.g.,
colors_1.txt) to prevent accidental data loss.Live Console Debugging: Provides a clear visual log in your terminal showing how many lines were added and the exact file path used.
3. Settings Explained
text: The string you want to save. Each new line in the text will be treated as a separate entry in the wildcard file.
filename: The name of your file (do not include
.txt).append: *
True: Adds the new text to the end of the existing file.False: Creates a new file. If the name exists, it adds a numbered suffix.
save_mode:
wildcards: Saves toComfyUI/wildcards/(Created automatically if missing).output: Saves to your standard ComfyUI output folder.temp: Saves to the temporary folder.
debug: Set to
Trueto see color-coded success and error messages in your terminal.
4. Reading the Debug Logs (Console)
When debug is enabled, you will see a blue (magenta-ish) log entry in your terminal:
Before: How many valid lines were in the file before saving.
After: The total count of lines now in the file.
Path: The exact disk location where the file was saved.
Why use this?
Prompt Harvesting: If you generate a great prompt using LLMs or randomizers, you can save it instantly to your permanent library.
Automation: Create "dataset" files for training or long-term projects by appending successful prompt combinations to a list while you work.
Note: 'VibeCoded'
Description
Fix: Version 1.2.1 – The "Stable Index" Patch
This update addresses the "Widget Shuffling" bug discovered in earlier versions. Special thanks to wrOngplanet for reporting this issue.
🛠 The Fix: Stable Widget Indexing
In previous versions, refreshing the browser or reloading a workflow could cause ComfyUI to "shuffle" settings (e.g., your filename becoming true or checkboxes turning into text).
⚠️ Known Issues
UI Focus Requirement: The "Prompt Display" inside the node only updates in real-time if the ComfyUI browser tab is currently in focus.
Why? ComfyUI (and most browsers) limit JavaScript execution for background tabs to save system resources.
What’s New in v1.2:
Native "Show Text" Integration: The node now features a built-in display. The saved text is "hammered" directly into the node's UI, allowing you to see your LLM-generated prompts in real-time without needing extra nodes.
String Output Slot: The node now features a text output. This allows you to pass the generated string directly into a CLIP Text Encode or other downstream nodes while simultaneously saving it to your library.
