Extensions/ComfyUI-Expen
ComfyUI Extension

ComfyUI-Expen

Quality-of-life workflow tools for ComfyUI: a Run Button that executes a group or branch in one click, an Open Folder button that reveals the last saved image, clear-previews and revert-to-saved, plus tile helpers for tiled upscaling

By expen7766-art·Created about 20 hours ago·Updated about 19 hours ago· 0
expen7766-art/ComfyUI-Expen
Nodes—
On cloudLocal install
Stars0
Updatedabout 19 hours ago
Readme

ComfyUI-Expen

Custom nodes for ComfyUI that help run and review large multi-stage workflows (upscalers, tiling, comparison).

Nodes

| Node | What it does | |---|---| | Run Button | Runs the output nodes of a group, or the outputs downstream of the button, from one click. target takes a group title or a node id/title. | | Open Folder | Shows the last file saved by a target Save Image node. Enabled only after that node has finished. The button shows waiting…, wait… while the target is running, and the file name when ready. Click opens Explorer / Finder with the file selected. | | Workflow Tools | Clear Previews removes image previews from all nodes (files on disk are not touched). Revert to Saved reloads the last saved version of the current workflow into the same tab, after confirmation. | | Tile Size Optimization | Finds a tile size, grid and final resolution for tiled upscaling. Tile math adapted from ComfyUI_Steudio (GPL-3.0), see Credits. | | Tile Numbers | Draws tile numbers on a batch of tiles. | | Tile Brightness Match | Matches per-tile brightness to a reference image. | | Tile Info | Shows the tile-size report next to the upscaler. | | Selected Tile | Follows the image selected in a Preview Image node and outputs its tile number. |

Installation

Copy the folder into ComfyUI/custom_nodes/ or install through ComfyUI Manager.

Python dependencies (numpy, Pillow>=10.1) are listed in requirements.txt. torch is provided by ComfyUI.

Compatibility

Tested on Windows 10/11.

The frontend parts use a few ComfyUI internals. They are isolated in web/compat.js. If a ComfyUI update breaks a feature, that file is the only one that needs to change. Features that depend on an unavailable internal report a message instead of failing silently.

Platform notes

  • Open Folder selects the file on Windows and macOS. On Linux it opens the folder only, because xdg-open cannot select a file.
  • The endpoint /expen/open_folder only accepts file names and folders inside ComfyUI's output, input and temp folders. If ComfyUI runs with --listen, anyone on the network can call it, so this is limited to trusted networks.

Credits

License

GNU General Public License v3.0. See LICENSE.