Extensions/JH Misc. Nodes
ComfyUI Extension

JH Misc. Nodes

NODES: Daisy-Chainable String Constant, Two-Way Switch, Three-Way Switch, Preview Imag Miscellaneous custom nodes for ComfyUI

By ComfyUI-JH·Created 2 years ago·Updated 2 years ago· 1
ComfyUI-JH/ComfyUI-JH-Misc-Nodes
Nodes
On cloudLocal install
Stars1
Updated2 years ago
Readme
<div align="center"> <img src="https://github.com/user-attachments/assets/90e7c8f5-ef7c-41ab-a676-85f0b77d9b55" /> </div> <div align="center"> <img src="https://img.shields.io/github/license/ComfyUI-JH/ComfyUI-JH-Misc-Nodes"> &emsp; <img src="https://img.shields.io/github/actions/workflow/status/ComfyUI-JH/ComfyUI-JH-Misc-Nodes/ci.yml?label=ci"> &emsp; <img src="https://img.shields.io/github/last-commit/ComfyUI-JH/ComfyUI-JH-Misc-Nodes/main"> &emsp; <img src="https://img.shields.io/github/issues/ComfyUI-JH/ComfyUI-JH-Misc-Nodes"> &emsp; <img src="https://img.shields.io/github/issues-pr/ComfyUI-JH/ComfyUI-JH-Misc-Nodes"> </div> <div align="center">

Getting Started | Nodes | Credits

</div>

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

<div align="center"> <img width="1391" alt="image" src="https://github.com/user-attachments/assets/77b0b3db-63da-4687-9029-59554a0fb0ac" /> </div>

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

<div align="center"> <img width="450" alt="image" src="https://github.com/user-attachments/assets/a1a5cdc8-20ee-4f0f-9e00-b97e5ce7cad0" /> </div>

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