103 lines
4.0 KiB
Markdown
103 lines
4.0 KiB
Markdown
# 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.
|
|
- Include models listed in ComfyUI's `extra_model_paths.yaml` or added in `ComfyUI/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?
|
|
|
|
### 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
|
|
|
|
- ☐ Directory dropdown
|
|
- ☐ Use always filter to filter directory content auto-suggest dropdown
|
|
- ☐ 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
|
|
- ☐ 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?
|
|
|
|
### 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?)
|