Skip to content

ComfyUI-JH/ComfyUI-JH-Misc-Nodes

Repository files navigation

JH Misc. Nodes

Miscellaneous custom nodes for ComfyUI that I made for my own use. Figured I might as well share.

Getting Started

Installing from GitHub

  1. Install ComfyUI

  2. Clone this repository into the custom_nodes folder:

    cd ComfyUI/custom_nodes
    git clone https://github.com/ComfyUI-JH/ComfyUI-JH-Misc-Nodes.git
    
  3. Install the required Python packages. If you're using venv and pip that looks like this:

    cd ComfyUI-JH-Misc-Nodes
    pip install -r requirements.txt
    

    If you're using Poetry, then it's just

    cd ComfyUI-JH-Misc-Nodes
    poetry install
    

Nodes

Daisy-Chainable String Constant

image

A node with a text input and a text widget. Any text typed into the widget will be stripped of excess whitespace and concatenated onto the end of the input text. Useful for breaking a prompt into pieces which can be edited independently.

Preview Image

image

Takes an image or batch of images as an input, displays a preview of them, then passes them along to the output.