Christian Bastian 5517ae68e4 Top sidebar button.
2024-01-04 04:07:01 -05:00
2024-01-04 04:07:01 -05:00
2023-08-31 16:55:21 +08:00
2023-12-30 21:03:49 -05:00
2023-08-31 16:55:21 +08:00
2023-09-06 16:24:42 +08:00
2024-01-04 04:07:01 -05:00

comfyui-model-manager

Browse models in ComfyUI. (Downloading and deleting are WIP.)

Model Manager Demo Screenshot

About this fork

I made this fork because the original repo was inactive and missing many things I needed to make the ComfyUI usable. Also, many other custom nodes bundle unrelated features together or search the internet in the background.

Currently it is still missing some features it should have.

Fork Improvements

  • Search bar in models tab.
  • Advanced keyword search using "multiple words in quotes" or a minus sign to -exclude.
  • Search /subdirectories of model directories based on your file structure (for example, /styles/clothing).
  • Include models listed in ComfyUI's extra_model_paths.yaml.
  • Button to copy a model to the ComfyUI clipboard or embedding to system clipboard. (Embedding copying requires secure http connection.)
  • Button to add model to ComfyUI graph or embedding to selected nodes. (For small screens/low resolution.)
  • Right, left and bottom toggleable sidebar modes.
  • Drag a model onto the graph to add a new node.
  • Drag a model onto an existing node to set the model field.
  • Drag an embedding onto a text area to add it to the end.
  • Increased supported preview image types.
  • Correctly change colors using ComfyUI's theme colors.
  • Simplified UI.

TODO:

Model Copying

  • ☐ Copy image?

Model info window/panel (server load/send on demand)

  • ☐ Info icon button to view.
  • ☐ Optional (re)download 📥︎ model info from the internet and cache the text file locally. (requires checksum?)
    • ☐ Radio buttons to swap between downloaded and server view.
  • ☐ Delete model with warning popup.

Settings

  • ☐ Add settings.yaml and add file to .gitignore. (Generate if not there.)
  • ☐ Exclude hidden folders with a . prefix.
  • ☐ Include a optional string to always add to searches.
  • ☐ Enable optional checksum to detect if a model is already downloaded.
  • ☐ Enable/Disable add and copy buttons.
  • ☐ Allow user to drag width of sidebar or height of bottom bar and remember it.
  • ☐ Hide/Show model extension.
  • ☐ Optionally remove embedding extension.
  • ☐ Strict model drag on node widget textbox.

Search filtering and sort

  • ☐ Add auto-suggest paths in search
  • ☐ Filters dropdown
    • ☐ Stable Diffusion model version/Clip/Upscale/?
    • ☐ Favorites
  • ☐ Sort-by dropdown
    • ☐ Date modified (ascending/decending)
    • ☐ Date created (ascending/decending)
    • ☐ Recently used (ascending/decending)
    • ☐ Frequently used (ascending/decending)
  • or vs and type of keyword search (currently and)

Image preview

  • ☐ Support multiple preview images. (swipe?)
  • ☐ Show preview images for videos.
    • ☐ If ffmpeg or cv2 available, extract the first frame of the video and use as image preview.
    • ☐ Play preview video?

Accessibility

  • ☐ Proper naming and labeling.
  • ☐ Tool tips?

Directory Browser and Downloading tab

(NOTE: It is a impossible to put a model automatically in the correct folder if model type information is not given or ambigious. To fully solve this requires making a file browser where files can be moved around.)

  • ☐ Replace Install tab with Downloading tab (more practical IMO).
  • ☐ Download a model from a url.
  • ☐ Choose save path/directory to download within vaild model directories. (Alert Yes/No if need to create new dirs?)
Description
Manage models: browsing, donwload and delete.
Readme GPL-3.0 13 MiB
Languages
Vue 39.7%
Python 29.7%
TypeScript 28.5%
JavaScript 1.9%
HTML 0.1%