Worldgate / sd-civitai-browser-plus

Extension to access CivitAI via WebUI: download, delete, scan for updates, list installed models, assign tags, and boost downloads with multi-threading.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CivitAI Browser-05+


Features πŸš€

Browse all models from CivitAI 🧩

  • Explore a wide range of models at your fingertips.

Check for updates and installed models πŸ”„

  • Easily spot new updates and identify already installed models while browsing.
  • Ability to scan all installed models for available updates.

Download any Model, any version, and any file πŸ“₯

  • Get the specific model version and file you need hassle-free.

Automatically assign tags to installed models 🏷️

  • Assign tags by scanning all installed models for automatic use in image generation.

High-speed downloads with Aria2 πŸš„

  • Maximize your bandwidth for lightning-fast downloads.

Sleek and Intuitive User Interface πŸ–ŒοΈ

  • Enjoy a clutter-free, user-friendly interface, designed to enhance your experience.

Actively maintained with feature requests welcome πŸ› οΈ

  • Feel free to send me your feature requests, and I'll do my best to implement them!

Known Issues πŸ›

Unable to download / Frozen download

If you're experiencing issues with broken or frozen downloads, there are two possible solutions you can try:

  1. Revert to the old download method: A solution could be to disable the "Download models using Aria2" feature.
    This will switch back to the old download method, which may resolve the issue.

    Revert to old download method

  2. Disable Async DNS for Aria2: If you're using any DNS manager program like PortMaster, try turning on the "Disable Async DNS for Aria2" option.

    Disable Async DNS for Aria2

These settings can be found under the "Settings" tab in Web-UI and then under the "Civit AI" tile.

How to install πŸ“˜

Automatic Installation:

HowTo

Manual Installation:

  1. Download the latest version from this site and unpack the .zip
    2023-09-25 13_06_31

  2. Navigate to your extensions folder (Your SD folder/webui/extensions)

  3. Place the unpacked folder inside the extensions folder

  4. Restart SD-WebUI

Preview πŸ‘€

CivitAI_Browser.mp4

(Theme used: Lobe)

Changelog πŸ“‹

v1.14.6

  • Bug fix: Removed pre-load of default page, caused issues for some users.
  • Bug fix: Fixed internal model naming, caused issues when model names included '
  • Bug fix: Different host for .svg icons, caused issues with MalwareBytes.
  • Bug fix: Preview saving was broken due to passing the wrong file path.

v1.14.5

  • Feature: Base Model filter now impacts search results.
  • Feature: Ability to input model URL into search bar to find corresponding model.
  • Bug fix: Adetailer models now get placed in the correct folder

v1.14.4

  • Bug fix: Page slider broke the Next Page button when loaded from "Update Models".
  • Bug fix: "Save settings as default" button inserted broken .json data.
  • Bug fix: Triggering "Scan for available updates" twice resulted in an error.

v1.14.3

  • Bug fix: LORA content type was broken when "Treat LoCon as LORA" was turned on.

v1.14.2

  • Feature: Custom page handling when scanning models.
  • Bug fix: Model scan feature now works for large model count (+900)
  • Bug fix: Better broken .json error handling

v1.14.1

  • Bug fix: Gifs did not display properly.
  • Bug fix: Video's no longer save as preview since they cannot be used.
  • Bug fix: Filter window was not hidden by default.

v1.14

  • Feature: Redesign of UI.
  • Feature: New dropdown with filter settings.
  • Feature: Button to save current filter settings as default. (requires restart)
  • Feature: Tag box can now be typed in to save custom tags.
  • Feature: Delete function removes any unpacked files.

v1.13

  • Feature: Updated available content types:
    • Upscaler
    • MotionModule
    • Wildcards
    • Workflows
    • Other
  • Feature: Videos can now also be displayed on preview cards and in the model info.
  • Feature: Automatically scans upscaler type by looking through model's description.
  • Feature: Automatically identify correct folder for wildcards based on extension.
  • Bug fix: Version ID got saved instead of correct Model ID after download.

v1.12.5

  • Bug fix: [Installed] tag was only assigned to latest installed version.
  • Bug fix: Folder location didn't update when selecting different version/file.
  • Bug fix: Version scanning didn't properly scan sha256 in uppercase.

v1.12.4

  • Feature: You can now refresh by pressing Ctrl+Enter and Alt+Enter.
  • Bug fix: Auto unpack feature was unpacking unintended archives, now only unpacks .zip.

v1.12.3

  • New setting: Option to toggle automatically unpacking .zip models.
  • Bug fix: Error wasn't catched when file path was incorrect.

v1.12.2

  • Feature: Able to download multiple files from each version.
  • Bug fix: Models did not get deleted properly when in nested folders.
  • Bug fix: Wrong sha256 was being saved after downloading.
  • Bug fix: Wrong default folder was used when installed model got selected.

v1.12.1

  • Feature: File deletion now uses both SHA256 and file name to detect correct file.
  • New setting: Option to toggle automatically inserting 2 default sub folders.
  • New setting: Option to toggle installing LoCON's in LORA folder.
  • Bug fix: Default file was incorrect when selecting a model.
  • Bug fix: Next Page caused an error when changing content type.

v1.12

  • Feature: Ability to load all selected installed models into browser in Update Models tab.
  • Feature: Installed/outdated models check is now done using SHA256 + file name.
  • Feature: Ability to select multiple content Types when searching and scanning.
  • Feature: Greatly improved speed of model scanning if model ID is saved in .json

v1.11.2

  • Feature: Redesign of model page by ManOrMonster

  • Model page changes (BlafKing#33)
    • Redesigned the look of the model page.
    • Added link to model page on CivitAI. Click on model name to open.
    • Added link to uploader/creator page on CivitAI. Click creator name to open.
    • Added CivitAI avatar display.
    • Separate description section.
    • First sample image is marked with data attribute and downloaded as preview image instead of grabbing first in model HTML. This guarantees that the first sample image (not avatar or image in description) is used when downloading the model.
    • Sample images are marked with data attribute so that only they are downloaded when using "Save Images" (no description images or avatar).
    • Removed trained tags from info since they are displayed above.
    • Each sample image has its own section.
    • Sample images zoom in when clicked, zoom out when clicking anywhere.
    • Forced width is removed from sample image URLs so that nice big images can be viewed.
    • Metadata is arranged so that the most commonly used data is at the top, no more searching for prompts.
    • Extra metadata is in accordion labeled "More details...". This is especially useful to hide insanely large ComfyUI JSON.

v1.11.1

  • Feature: Error detection during Aria2 downloads.
  • Bug fix: Avoid starting Aria2 RPC multiple times with better port check.
  • Bug fix: Fixed dynamic tile status updates after deleting/downloading.

v1.11

  • Feature: Ability to scan all installed models for available updates.
  • Feature: Model ID and sha256 get saved to .json after scanning or downloading a model.
  • Bug fix: Fixed crash when base model is not found.
  • Bug fix: No longer overwrite sha256 and model ID in existing .json.

v1.10.1

  • Bug fix: Fixed pathing for Unix systems
  • Bug fix: Extra checks to prevent deleting unintentional files.
  • Feature: Models get moved to trash instead of fully deleted.

v1.10

  • Feature: Update tags for all installed models!
  • Feature: Tabs for Browsing and updating Tags.
  • Feature: Buttons to select which folders to update tags in.

v1.9.4

  • Feature: Added Civit AI settings tab
    • New setting: Disable downloading with Aria2. (will use old download method instead)
    • New setting: Disable using Async DNS. (can fix issues for some users who use DNS managing programs)
    • New setting: Show Aria2 logs in the CMD.
    • New setting: Set the amount of connections when downloading a model with Aria2.
      (The optimal connection count is different per user, try to find the lowest option which still gives you full bandwidth speed)

v1.9.3

  • Feature: Included Motrix Aria2 version.
  • Feature: Max connections per server set to 64 and split file set 64.
  • Feature: Aria2 is now shipped with this extension for Linux as well.

v1.9.2

  • Cleanup: Split up script into multiple files for improved oversight/readability.
  • Cleanup: Centered model icons

v1.9.1

  • Bug fix: Added back old download function if aria2 fails.

v1.9

  • Feature: Faster downloads by using Aria2.
  • Feature: More info about current download: Speed, ETA, File Size and % completion.

v1.8.1

  • Feature: Sub Folder list now contains 2 default options: /{Model name} & /{Model name}/{Version name}

v1.8

  • Feature: Ability to download different file types per version.
  • Feature: NSFW Toggle is now dynamic.
  • Feature: Version list now dynamically updates after download.
  • Cleanup: Rearranged/Resized UI elements.
  • Bug fix: Downloading models now uses file ID instead of names.
  • Bug fix: NSFW Toggle no longer hides images tagged as "Soft".
  • Bug fix: Fixed each model load running twice.

v1.7.2

  • Bug fix: Download button did not get re-enabled properly.
  • Bug fix: Tile status did not get updated properly when download failed.

v1.7.1

  • Feature: Base Model filtering dims tiles instead of hiding.
  • Bug fix: NSFW Blur increases with tile size.
  • Bug fix: Dynamic tile status after installation & deletion now correctly detects other versions.

v1.7

  • Feature: Introduced seperate download progress bar, browse while downloading.
  • Feature: no more force refresh after installing, cancelling and deleting.
  • Feature: Added toggle to sort Tiles by date.
  • Feature: Dynamic changing of tile borders after installation & deletion.
  • Removal: 'Auto delete old version' removed since it relied on a reload.

v1.6

  • Bug fix: Page count is now always correclty read when refreshing.
    (You can fill in the page number you'd like to visit and press refresh to go to that page)
  • Feature: 'Filter Base Model' to dynamically hide any unselected Base models.
    (Please note: This does not impact search results, since the CivitAI API does not yet support this)

v1.5

  • Feature: Slider to change tile size.
  • Feature: Download Folder textbox which can be used to define a custom download path.
  • Feature: Sub Folder Dropdown to select any available subfolder(s) as download location.
  • Feature: Display a timed out message instead of an error icon.
  • Bug fix: Nested files can now be detected as installed or outdated.
  • Bug fix: Auto selects corresponding folder of any installed models.
  • Bug fix: Better cancellation logic to prevent downloads from continuing.

v1.4

  • Feature: Download progress bar is now on web page instead of CMD.
  • Feature: Added Cancel and Delete buttons.
  • Feature: Download button will now change according to circumstances:
    • Cancel button if there's a current download.
    • Delete button if the selected version is installed.
  • Cleanup: Better margin fixes with theme detection.
  • Bug fix: Delete option now also removes .json files.
  • Bug fix: Buttons are now disabled during download. (except cancel button)

v1.3.1

  • Bug fix: Fixed tag saving bugs/oversights.
  • Bug fix: Trained tags display now do not include the model itself.

v1.3

  • Feature: 'Save Tags' button saves tags to a .json file which gets used in image creaton.
    (If a LORA with saved tags is used it will automatically input all tags into the txt box in image creation)
  • Feature: 'Save tags after download' toggle to automatically save .json tags.
  • Cleanup: Removed "Get model info" button.
  • Cleanup: Removed download link box.
  • Cleanup: Removed "No" from search options.
  • Cleanup: Added border radius to cards.
  • Cleanup: Improved padding based on if Lobe theme is being used.

v1.2

  • Feature: Automatically saves preview image when downloading a model.
  • Feature: Added [installed] text suffix for any versions that are installed in the 'Version' tab.
  • Cleanup: Changed 'Model Filename' from a dropbox to a textbox.
  • Cleanup: Made bottom textboxes non typeable.
  • Cleanup: Disabled bottom buttons when no model is selected.
  • Bug fix: Margin error on the latest tile.
  • Bug fix: Version checking is now case sensitive.
  • Bug fix: Default verison in version tab shows installed version.

v1.1

  • Feature: Dropdown box which can filter by time period.
  • Cleanup: 'Content type' changed from buttons to a dropdown box.
  • Bug fix: Fixed tiles not reloading when already pressed.

v1.0

  • Feature: 'Refresh' now reloads the current page unless any options have been changed.
  • Feature: Made the page refresh after a download and made it load during one.
  • Feature: Orange glow for any outdated installed packages.
  • Feature: 'Delete old version after download' option.
  • Feature: Ability to manually fill in a page number to load the corresponding page.
  • Cleanup: Removed new folder option.
  • Cleanup: Made the glow around frames always visible without hovering.
  • Pulled fork from: SignalFlagZ's Fork v1.1.0

About

Extension to access CivitAI via WebUI: download, delete, scan for updates, list installed models, assign tags, and boost downloads with multi-threading.

License:GNU Affero General Public License v3.0


Languages

Language:Python 85.9%Language:JavaScript 7.8%Language:CSS 6.3%