Will Miao 7fb7e2aa2e Add initialization handling for LoRA page with loading state
- Implement dynamic initialization detection in lora_routes
- Add initialization notice template with loading spinner
- Create CSS styles for initialization notice
- Add client-side script to auto-refresh page when initialization completes
2025-02-04 19:44:23 +08:00
2025-01-25 19:22:02 +08:00
2025-01-29 06:06:48 +08:00

ComfyUI LoRA Manager

A web-based management interface designed to help you organize and manage your local LoRA models in ComfyUI. Access the interface at: http://localhost:8188/loras

Interface Preview


[Update 0.5.6] New Features and Optimizations

  • 🛠️ Code Refactor: The codebase has been restructured to improve readability and maintainability, making it easier to manage and extend in future updates.

  • 🚀 Frontend Enhancements: Significant performance improvements and refined user experience, including a more intuitive process for selecting and copying trigger words.

  • 🔘 New Menu Button: A button has been added to the ComfyUI menu. Clicking it will open the LoRA Manager interface in a new window for quicker access.


[Update 0.5.4] Support for Extra LoRA Paths via extra_model_paths.yaml

  • 🛠️ Extra LoRA Paths: Additional flexibility has been introduced by supporting extra LoRA paths through the extra_model_paths.yaml file, allowing you to manage LoRAs from directories outside the default folder.

[Update 0.5.3] Improved Preview Handling & Trigger Words Support

  • Smarter Preview Image Handling: The manager now automatically scans for and uses existing local preview images. If a local preview is found, it will not re-download one from CivitAI when fetching model details, saving both time and bandwidth.

  • 📝 Trigger Words in LoRA Details: Trigger words are now directly visible in the LoRA details window, making it easier to copy and integrate them into your workflows.

  • ⚠️ Note: For automatic detection, ensure your local preview images are named using one of the following formats:

    • <lora-file-name>.[png|jpg|jpeg|mp4]
    • <lora-file-name>.preview.[png|jpg|jpeg|mp4]

Key Features

  • 🔍 Automatic scanning & listing of local LoRA models
  • 📂 Folder-based categorization with support for nested directories
  • 🌐 Metadata retrieval from CivitAI, including preview images
  • 🖼️ Manual preview replacement with support for JPG, PNG, MP4, and WEBM formats
  • 📋 One-click filename copying for easy workflow integration
  • ↕️ Sorting by name or modification date
  • 🌓 Light/dark theme toggle for user preference

Installation

  1. Open ComfyUI.
  2. Go to Manager > Custom Node Manager.
  3. Search for lora-manager.
  4. Click Install.

Option 2: Manual Installation

  1. Clone the repository:
git clone https://github.com/willmiao/ComfyUI-Lora-Manager.git
  1. Follow the setup instructions in the repository for manual installation.

Usage

  1. Once installed, access the LoRA manager at http://localhost:8188/loras.
  2. From the interface, you can:
    • Browse and organize your LoRA models.
    • Automatically fetch or manually set preview images.
    • View and copy trigger words associated with each LoRA.
    • Toggle between light and dark themes.

Contributing

If you have suggestions, bug reports, or improvements, feel free to open an issue or contribute directly to the codebase. Pull requests are always welcome!

Description
LoRA Manager for ComfyUI - A powerful extension for organizing, previewing, and integrating LoRA models with metadata and workflow support.
Readme GPL-3.0 52 MiB
Languages
Python 47.6%
JavaScript 39.3%
CSS 5.4%
HTML 3.1%
Vue 2.7%
Other 1.9%