- New prompt_search.py (no ComfyUI imports): reads only the PNG 'prompt' chunk (tEXt/zTXt/iTXt), skips the large 'workflow' chunk, and extracts only text that feeds text-encoder nodes (following links to string/primitive/concat nodes). Model names, sampler names, filenames and other widgets are no longer matched, and filenames are no longer searched. - Per-file results are cached by (mtime, size); repeat searches only touch new/changed files. - gallery/list runs in a worker thread so large searches don't block ComfyUI's server; the scan stops when the client disconnects. - Frontend aborts superseded search requests and ignores stale results. - UI strings/locales and README updated; unit tests in tests/.
ComfyUI-ComfySidebar
A compact and powerful layout overhaul for ComfyUI that makes generation results easier to browse, preview, compare, and manage.
✨ Features
-
Compact, information-dense layout with visual previews that let you see what is happening at a glance. Optional UI elements and sidebar tabs can be hidden when you don't need them.
-
Left or right side: Choose which side the sidebar appears on in ComfyUI settings.
-
Simplified mouse-friendly workflow with drag-and-drop support and convenient actions for moving results back into the workflow, opening files, and managing outputs. Hold
Ctrlfor extra actions such as opening an image's location or deleting it directly from your device.
-
Built-in comparison tool for quickly comparing two generated results side by side.
-
[NEW] Output Gallery sidebar: Browse files and subfolders directly from your ComfyUI
outputdirectory without leaving the interface. Features dedicated cards for images, videos, audio, and 3D assets (.glb/.gltf), breadcrumb navigation, prompt text search across subfolders (matches the positive/negative prompts stored in PNG outputs, not filenames), and persistent sorting. -
Hotkeys on any keyboard layout: Shortcuts such as
Q,Ctrl+QandAlt+Rkeep working while a non-Latin layout (for example Russian) is active. Non-Latin keys are treated as the Latin key in the same physical position, and typing in text fields is not affected. Can be turned off with Fix non-ASCII keybinds in the settings. -
Runtime preview mode combined with workflow overview makes ComfyUI practical for running and monitoring workflows in a more streamlined, queue-oriented way.
🛠️ Installation
ComfyUI Registry
Install directly from the ComfyUI Manager or run:
comfy node install comfy-sidebar
ComfySidebar is available on the ComfyUI Registry.
Manual installation
Clone the repository into your ComfyUI custom nodes directory:
cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/m0rtus59/ComfyUI-ComfySidebar.git
Restart ComfyUI and refresh the browser.
⚙️ Settings
Open Settings → Comfy Sidebar to configure:
- Queue layout and column width
- Queue display mode
- Working node display
- Automatic cleanup of cancelled or failed jobs
- Sidebar tabs to hide
- Stock Job History replacement
- Graph button visibility
- Unified top bar layout
- Permanent deletion behavior
- Output Gallery sidebar toggle
- Fix non-ASCII keybinds (hotkeys on any keyboard layout)
⌨️ Controls
| Shortcut | Action |
|---|---|
Q |
Toggle ComfySidebar |
Ctrl+Q |
Exclude the selected node from sidebar results |
Alt+R |
Renumber nodes in execution order |
Click |
Open result preview |
Shift+Click |
Compare another result |
Ctrl+Click |
Open the file location / alternative action |
Q is a regular ComfyUI keybinding, so you can see and change it in Settings → Keybinding.
You can also use the available actions from result cards, the sidebar header, and the node/canvas context menus.
📝 Notes
ComfySidebar integrates with the ComfyUI frontend and depends on parts of its UI structure. Frontend changes in ComfyUI may require updates to this extension.
Keyboard layouts: the Fix non-ASCII keybinds option only re-maps keys that produce a non-ASCII character, so QWERTY, AZERTY and Dvorak users are not affected. It cannot help with layouts that type a different ASCII symbol on a key (for example, + where a US layout has =). ComfyUI's "edit keybinding" dialog still records the typed character, so switch to an English layout while rebinding a key.
License
See LICENSE.