74d96f86105561dd24d62c4b9be5c13621fd65d0
comfyui-model-manager
Browse models in ComfyUI. (Downloading and deleting are WIP.)
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,/0/1.5/styles/clothing).- Add
/at the start of the search bar to see auto-complete suggestions.
- Add
- Include models listed in ComfyUI's
extra_model_paths.yamlor added inComfyUI/models. - 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, top 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.
- Settings tab and config file.
- Hide/Show 'add' and 'copy-to-clipboard' buttons.
- Text to always search.
- Show/Hide add embedding extension.
TODO:
Code
- ☐ Javascript cleanup.
- ☐ Seperate into classes per tab?
- ☐ HTML generation all inside main class?
- ☐ More server driven, HTMX-like HTML generation? (Avoid x2 states)
Model Copying
- ☐ Copy image?
- ☐ Copy model path?
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
- ☐ Exclude hidden folders with a
.prefix. - ☐ Enable optional checksum to detect if a model is already downloaded.
- ☐ Sidebar width.
Search filtering and sort
- ☐ Real-time search
- ☐ Check search code is optimized to avoid recalculation on every minor input change
- ☐ Directory dropdown
- ☐ Use always filter to filter directory content auto-suggest dropdown
- ☐ Generalize model list filtering code to reuse approach
- ☐ Highlight selection
- ☐ Key shortcuts
- ☐ Down & Up arrows to select dropdown option
- ☐ Right arrow or enter to add selection
- ☐ Escape to loose focus on dropdown
- ☐ Generalize search dropdown for download location selection
- ☐ Key shortcuts
- ☐ Use always filter to filter directory content auto-suggest dropdown
- ☐ 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)
- ☐
orvsandtype of keyword search (currentlyand)
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?
Sidebar
- ☐ Drag sidebar width/height dynamically.
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?)
Languages
Vue
39.7%
Python
29.7%
TypeScript
28.5%
JavaScript
1.9%
HTML
0.1%
