ComfyUI Browser

中文说明

This is an image/video/workflow browser and manager for ComfyUI. You can sync your workflows to a remote Git repository and use them everywhere.

Welcome to submit your workflow source by submitting an issue. Let's build the workflows together.

https://github.com/talesofai/comfyui-browser/assets/828837/803ce57a-1cf2-4e1c-be17-0efab401ef54

Features

  • Browse and manage your images/videos/workflows in the output folder.
  • Add your workflows to the 'Saves' so that you can switch and manage them more easily.
  • Sync your 'Saves' anywhere by Git.
  • Subscribe workflow sources by Git and load them more easily.
  • Search your workflow by keywords.

Preview

b359de5f6556649512e7ed8f812ba67d444be9914173e2467018450ce1a3ce1d c91157bf819ef5b9a129976d9e45588106dd6c7ea39ecb0a22519acd72afc7ce 53053f43847da9597efebab207140eed703b8c7bbe8eb1e63ce5630b5d8c9a3f c7b93b2ec0891eb7cac1385505e855fb28934ec958f7b21cac53c9bf18e6136c

Installation

Comfy Manager

Search for comfyui-browser and install it.

Manually

Clone this repo into the custom_nodes folder and restart the ComfyUI.

cd custom_nodes && git clone https://github.com/tzwm/comfyui-browser.git

Notes

  • Your 'Saves' are stored in the ComfyUI/custom_nodes/comfyui-browser/collections.
  • Press 'B' to toggle the Browser dialog in the ComfyUI.

Development

  • Framework

  • Project Structure

├── __init__.py  (Backend Server)
├── web          (Frontend code loaded by ComfyUI)
    ├── build    (Built by Svelte)
    └── index.js (Frontend that interact with ComfyUI)
├── svelte       (Frontend in the Modal as a iframe, written by Svelte)
  • Build and Run

    • Copy or link comfyui-browser to ComfyUI/custom_nodes/
    • Start backend by cd ComfyUI && python main.py --enable-cors-header
    • Start frontend by cd ComfyUI/comfyui-browser/svelte && npm i && npm run dev
    • Open and debug by http://localhost:5173/?comfyUrl=http://localhost:8188
      • It will use localhost:8188 as ComfyUI server
      • localhost:5173 is a Vite dev server
  • Notes

    • Please try to test on Windows, because I only have Linux/macOS

TODO

  • Sync collections to remote git repository
  • Add external git repository to local collections
  • Search workflow by node name and model name

ChangeLog

To see ChangeLog.

Credits

S
Description
No description provided
Readme
1.9 MiB
Languages
JavaScript 96.2%
Svelte 1.7%
Python 1.5%
HTML 0.3%
TypeScript 0.3%