Skip to content

Repository files navigation

ComfyUI-gonztok_nodes

🎨 ComfyUI Visual Picker Suite

A set of custom nodes for ComfyUI designed to replace clunky text inputs with a high-performance, visual interface for selecting directories, images, and LoRAs. I made these with the objective of enhancing App Mode experience.

What's new:
v1.2.0.

  • Added modal popups for image and lora picker.
    The modal button:
    image
    The modal popup:
    image

🛠️ The Node Trio

📂 Visual Folder Picker

The navigation hub of your workflow.

  • Core Logic: visual_folder_picker_node.py
  • Interface: visual_folder_picker.js
  • Fluid Navigation: Deep-dive into subdirectories with a double-click and jump back to parent folders instantly.
  • Dual Outputs: Provides both the absolute full_path and the specific folder_name.
Workflow mode App mode
image image

🖼️ Visual Image Picker

A premium gallery for asset selection. Multiselection is enabled using a small toggle, or you can hold CTRL while clicking on the images.

  • Core Logic: visual_image_picker_node.py
  • Interface: visual_image_picker.js
  • Interactive Grid: Features a high-speed image grid with custom sorting (Newest, Oldest, Name, etc.).
  • Adaptive Preview: Includes a collapsible, high-resolution preview window that auto-scales to your selection.
Workflow mode App mode
image image

🧬 Visual LoRA Picker

Visual cataloging for your model library.

  • Core Logic: visual_lora_picker_node.py
  • Interface: visual_lora_picker.js
  • Preview Detection: Automatically pairs .safetensors with .webp previews to give you a visual catalog of your styles.
  • Clean UI: Replaces massive dropdown lists with a searchable, visual grid.
Workflow mode App mode
image image

🔗 Dynamic Synergy (Master & Slave Logic)

The true power of this suite lies in how the nodes communicate.

  • Folder-to-Picker Linking: Connect the full_path from the Visual Folder Picker to the opt_folder_path of the Image or LoRA pickers to create a unified browser.
  • Real-time Watcher: The Javascript backend uses an active watcher to poll for path changes every 250ms, ensuring that as you browse folders, your gallery updates in real-time.
  • Sophisticated Toggling: All UI elements are collapsible, allowing you to maintain a minimal workspace without sacrificing utility.
Workflow mode App mode
image image

🚀 Installation

1. Manual Clone

Navigate to your ComfyUI custom nodes directory and clone the repository:

cd ComfyUI/custom_nodes/
git clone https://github.com/gonztok/ComfyUI-gonztok_nodes.git

About

ComfyUI custom nodes to enhance user experience

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages