Giter VIP home page Giter VIP logo

sd-civitai-browser-plus's Introduction

CivitAI Browser-05+


Extension for Automatic1111's Stable Difussion Web UI

This extension allows you to download models from CivitAi without leaving WebUI!

This modified extension is based on v1.1.0 from SignalFlagZ's Fork

NOTE: Search results are currently not impacted by the selected Base Model since the CivitAI API does not yet support this feature. If you'd like to have this feature, please upvote my feature request here and here

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.

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. 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

  2. Revert to the old download method: Another 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

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.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.

sd-civitai-browser-plus's People

Contributors

blafking avatar vetchems avatar thetrebor avatar james-willer avatar umag avatar manormonster avatar somnectar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.