Extensions/ImissNuke
ComfyUI Extension

ImissNuke

Nuke-style node graph for ComfyUI: Nuke hotkeys (Tab, F, D, Shift+Q, Ctrl+Shift+X…), straight Nuke pipes, groups as backdrops, remappable keys and presets. No Python nodes, zero dependencies.

By jorge-miranda-cherem·Created 22 days ago·Updated 3 days ago· 1
jorge-miranda-cherem/comfyui-imissnuke
Nodes—
On cloudLocal install
Stars1
Updated3 days ago
Readme
<p align="center"><img src="assets/imissnuke-icon.png" alt="ImissNuke" width="96"></p> <h3 align="center">Miss Nuke's node graph? Bring it to ComfyUI.</h3> <p align="center">Nuke hotkeys, pipes and backdrops for ComfyUI · free and open source · no dependencies</p>

Installation

Search ImissNuke in ComfyUI Manager, or:

cd ComfyUI/custom_nodes
git clone https://github.com/jorge-miranda-cherem/comfyui-imissnuke.git

Restart ComfyUI. The yellow N in the top bar opens the settings. Right-click it to turn ImissNuke on or off.

<p align="center"><img src="docs/media/panel.png" alt="The ImissNuke panel: six settings, the 19 shortcuts with their keys, presets and where they are saved" width="420"></p>

Shortcuts

| Key | Action | | | :-- | :-- | :-- | | <kbd>Tab</kbd> | Node Search | ComfyUI's search at the cursor, with ★ favorites, or Nuke's Tab menu (Tab Search) | | <kbd>Tab</kbd> <kbd>Tab</kbd> | Make It Again | The last node you made from the Tab menu, again, as in Nuke | | <kbd>/</kbd> | Find Node | Jump to a node by number or name | | <kbd>F</kbd> | Frame | Fit the selection, or the whole graph | | <kbd>L</kbd> | Layout | Line up the selection along its wires | | <kbd>D</kbd> | Bypass / Mute | The D Key setting picks which one | | <kbd>Shift</kbd> <kbd>↑</kbd> | Select Upstream | Add what feeds the selection; again for one more level | | <kbd>Alt</kbd> <kbd>H</kbd> | Hide Links | Hide input wires, or Set & Get links | | <kbd>Ctrl</kbd> <kbd>D</kbd> | Duplicate | A copy without wires | | <kbd>Ctrl</kbd> <kbd>E</kbd> | Clone + Inputs | A copy that keeps its input wires | | <kbd>Shift</kbd> <kbd>Q</kbd> | Connect | Wire the selection into the node on the right | | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>C</kbd> | Color | Color palette for nodes and groups | | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>X</kbd> | Extract | Pull a node out and bridge its wires | | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>S</kbd> | Swap Nodes | Two selected nodes trade places and wires | | <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>I</kbd> | Splice | Put a node into a wire | | <kbd>Shift</kbd> <kbd>R</kbd> | Queue Outputs | Run only the selected outputs | | <kbd>Shift</kbd> + drop | Drop on Wire | Drop a dragged node on a wire to splice it in | | <kbd>Ctrl</kbd> <kbd>Shift</kbd> + drop | Drop to Swap | Drop a dragged node on another to swap them | | MMB + LMB drag | Smooth Zoom | Wacom: pen tip + side button |

Remap any key from the panel: click its key, press the new one. A key already in use trades places.

Tab learns when Tab Search is set to ImissNuke (out of the box, Tab opens ComfyUI's search). Type a few letters (vd is VAE Decode, clte CLIP Text Encode) and what you create most rises to the top. <kbd>Ctrl</kbd> <kbd>Enter</kbd> or the ☆ stars a node, and starred nodes come first. Over a node, or with one selected, the field starts with what usually comes after it: what you have wired after it before, and what the open graph wires after it. A name with no match opens ComfyUI's own search with what you typed. All of this is kept in your browser, so on a shared ComfyUI everyone has their own.

Nodes or Subgraphs. Two buttons above the field switch between nodes and subgraphs: ComfyUI's ready-made ones and those that node packs bring. A subgraph is placed and wired like a node. Over a node, with nothing typed, Suggested for LATENT (or whatever that node gives) lists what takes it, and a chip on a row names the outputs it takes. A typo still finds a node (previw, ksamplr), and short forms work (load img, ckpt, i2v). This is the same search as the Hotbox's, and the two share the stars.

Tab Tab makes it again. Press Tab twice quickly, as in Nuke, and the last node you made from the Tab menu (or the last subgraph) is made again, at the cursor and wired from the node you are on, just as Enter would. The bottom of the menu names it. A slower second Tab only closes the menu.

The stars work in ComfyUI's own search too (Tab, out of the box, or a double-click on the canvas): a ☆ at the end of each row, <kbd>Ctrl</kbd> <kbd>Enter</kbd> stars the lit one (it never queues a run there), and starred nodes that match what you typed come first; with nothing typed, all of them do. They are the same stars as the Tab menu's.

Every key, moving

Hover a key in the panel to watch its GIF, or click ▶ beside 19 keys for all of them in one window. The picture button next to ▶ turns the GIF on hover off (the tip stays, as text).

<table> <tr> <td width="50%" valign="top"><img src="js/gifs/box-select.gif" width="100%" alt="Box Select: Drag on empty canvas to select"><br><kbd>LMB</kbd> drag <b>Box Select</b> · Drag on empty canvas to select</td> <td width="50%" valign="top"><img src="js/gifs/smooth-zoom.gif" width="100%" alt="Smooth Zoom: Drag to zoom (Wacom: pen tip + side button)"><br>MMB + LMB drag <b>Smooth Zoom</b> · Drag to zoom (Wacom: pen tip + side button)</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/node-search.gif" width="100%" alt="Node Search: Over a node it starts with what comes after it; Ctrl Enter stars"><br><kbd>Tab</kbd> <b>Node Search</b> · Over a node it starts with what comes after it; <kbd>Ctrl</kbd> <kbd>Enter</kbd> stars</td> <td width="50%" valign="top"><img src="js/gifs/find-node.gif" width="100%" alt="Find Node: Jump to a node by number or name"><br><kbd>/</kbd> <b>Find Node</b> · Jump to a node by number or name</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/frame.gif" width="100%" alt="Frame: The whole graph, then the selection"><br><kbd>F</kbd> <b>Frame</b> · The whole graph, then the selection</td> <td width="50%" valign="top"><img src="js/gifs/layout.gif" width="100%" alt="Layout: Line up the selection along its wires"><br><kbd>L</kbd> <b>Layout</b> · Line up the selection along its wires</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/bypass.gif" width="100%" alt="Bypass / Mute: Again to turn it back on"><br><kbd>D</kbd> <b>Bypass / Mute</b> · Again to turn it back on</td> <td width="50%" valign="top"><img src="js/gifs/select-upstream.gif" width="100%" alt="Select Upstream: One more level each time"><br><kbd>Shift</kbd> <kbd>↑</kbd> <b>Select Upstream</b> · One more level each time</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/hide-links.gif" width="100%" alt="Hide Links: Its input wires hide, and come back"><br><kbd>Alt</kbd> <kbd>H</kbd> <b>Hide Links</b> · Its input wires hide, and come back</td> <td width="50%" valign="top"><img src="js/gifs/duplicate.gif" width="100%" alt="Duplicate: A copy without wires"><br><kbd>Ctrl</kbd> <kbd>D</kbd> <b>Duplicate</b> · A copy without wires</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/clone.gif" width="100%" alt="Clone + Inputs: A copy that keeps its input wires"><br><kbd>Ctrl</kbd> <kbd>E</kbd> <b>Clone + Inputs</b> · A copy that keeps its input wires</td> <td width="50%" valign="top"><img src="js/gifs/connect.gif" width="100%" alt="Connect: Wire the selection into the node on the right"><br><kbd>Shift</kbd> <kbd>Q</kbd> <b>Connect</b> · Wire the selection into the node on the right</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/color.gif" width="100%" alt="Color: The palette, live on the node"><br><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>C</kbd> <b>Color</b> · The palette, live on the node</td> <td width="50%" valign="top"><img src="js/gifs/extract.gif" width="100%" alt="Extract: Pulled out, its wires bridged"><br><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>X</kbd> <b>Extract</b> · Pulled out, its wires bridged</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/swap.gif" width="100%" alt="Swap Nodes: Two nodes trade places and wires"><br><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>S</kbd> <b>Swap Nodes</b> · Two nodes trade places and wires</td> <td width="50%" valign="top"><img src="js/gifs/splice.gif" width="100%" alt="Splice: Into the wire it sits on"><br><kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>I</kbd> <b>Splice</b> · Into the wire it sits on</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/queue-outputs.gif" width="100%" alt="Queue Outputs: Only the selected output runs"><br><kbd>Shift</kbd> <kbd>R</kbd> <b>Queue Outputs</b> · Only the selected output runs</td> <td width="50%" valign="top"><img src="js/gifs/drop-on-wire.gif" width="100%" alt="Drop on Wire: Drop a dragged node on a wire"><br><kbd>Shift</kbd> + drop <b>Drop on Wire</b> · Drop a dragged node on a wire</td> </tr> <tr> <td width="50%" valign="top"><img src="js/gifs/drop-to-swap.gif" width="100%" alt="Drop to Swap: Drop a dragged node on another"><br><kbd>Ctrl</kbd> <kbd>Shift</kbd> + drop <b>Drop to Swap</b> · Drop a dragged node on another</td> <td width="50%"></td> </tr> </table>

The GIFs are in js/gifs, recorded from ComfyUI by tools/gifs (run it again when a key changes). For a machine where ImissNuke is baked into a page and its folder cannot be copied over, extras/imissnuke_clips_to_folder.py carries the same clips as text: paste it into Nuke's Script Editor, or run it with python, and it writes them into a folder as animated WebP (the same frames, a third of the size), with a clips.json listing them. The page then hands them to ImissNuke as window.__imissNukeGifs = { <key>: address }. python tools/gifs_base64.py makes it from js/gifs.

Settings

D Key Bypass or Mute · Nuke Pipes straight wires with 45° bends · Wire Color type colors or all black · Node Color a colored header over a dark body, or the whole node (switching moves the colored nodes of the open graph too) · Titles node names in Bold, Big, or on an amber Plate above the node with its file name under it (the filename_prefix of a Save, the image of a Load Image, OCIO Read's source), or File: the file name alone, in place of the node name. The file shows only its last name (HODT_, not HODT/070/HODT_) unless the whole-path icon is on (then OCIO Write's output_folder comes first, and a long path keeps its last 60 characters). For every node or only the Load / Save ones (Load Image, Save Video, OCIO Read / Write, VHS Load Video / Video Combine…; add more with window.__imissNukeTitleIO = ['MyNode']) · Canvas the graph background in Graphite, Slate or Plum, with a slider for how light (Off keeps the ComfyUI theme), and a button that turns the grid off for a plain canvas · Backdrops groups drawn as Nuke backdrops · Tab Search what Tab opens: ComfyUI's search (the default) or ImissNuke's menu, both with the stars; the icon beside it stops a double-click on empty canvas from opening the search · Output Drop what a wire dropped on empty canvas does.

Hover any row in the panel for a one-line tip.

Presets

Save Preset… keeps your settings and keys under a name. They are saved to ComfyUI/user/default/imissnuke/presets.json, and the Saved In row shows the full path. Download a Copy and Load from File take them to another computer or a teammate.

One ComfyUI for many people. A page that carries ImissNuke can keep the file for each person instead, the way it keeps the Hotbox's: set window.__imissNukeFiles = { folder(), read(name), write(name, obj) } before ImissNuke loads. folder() answers { folder, ready, why }, read('presets.json') gives the saved object (or null when there is none yet) and write('presets.json', obj) saves it. Until ready, the presets stay in the browser and are written when the folder can be reached; call window.__imissNukePresets.filesChanged() when that changes.

More

MIT License · Nuke is a trademark of The Foundry Visionmongers Ltd. ImissNuke is not affiliated with Foundry.