Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Nevysha/Cozy-Nest

Repository files navigation

Nevysha's Cozy Nest

Find your cozy spot on Auto1111's webui

ko-fi

Cozy Nest is a UI extension for Automatic's sd-webui.

Compatibility

  • From Automatic1111's webui 1.6.0 release.

  • Not compatible with SD Next.

  • SD Next compatibily is on standby for latest SD.Next version. But I'm in talk with Vlado for a better and deeper integration in SD.Next

Requirements

Cozy Nest rely on two others popular extensions which HAVE to be installed :

Features:

  • Fully integrated Image Browser. Lots of bugs and missing features. Please be kind with Github issues.
    • Send to txt2img / img2img / …
    • Search
    • Tag your images and filter by tag
    • Edit exif metadata
    • Archive, hide or delete images
    • Optimized web browser memory usage for image not visible (unload them / replace with dummy div)
    • manage new image generated
    • Automatically get image output folder (without grid folder)
    • Drag and drop image
    • Multithread image indexer for fast startup after first load (~20s for 2150 images on a stock i7-9700K)
  • Dedicated Extra Network component more stable and faster.
    • Moved in a dedicated right slidable panel
    • Compatible with Civitai Helper (and hard requirement to generate civitai.info file)
    • Search field
    • NSFW filter
    • Mark as NSFW
    • Folder tree view filter (toggleable)
  • Enhanced prompt editor with color (in txt2img and img2img) - It can be disabled through settings
    • Compatibility with https://github.com/DominikDoom/a1111-sd-webui-tagcomplete (ctrl+space to autocomplete tags in Cozy Prompt)
    • Synthax color in prompt for wildcard (ie: '__devilkkw/body-1/eyes_iris_colors__')
    • Synthax color in prompt for attention value (':1.1', ':2.3', ...)
    • Keybinding to increase or decrease attention value (ctrl+up, ctrl+down)
  • Resizable panels
  • Full Screen Inpainting
  • Enhanced Ui
    • Customizable tab menu position (top, left, centered)
    • Closable side panel with esc key
    • Dark or Light theme through Cozy Nest settings
    • Save resize bar position / panel ratio in local storage
    • Customize font color
    • Customize accent color
    • Add or remove accent to the generate buttons
    • Customize font size
    • Setting to center the top menu tabs
    • Setting to remove the gap between checkpoint and other quicksetting
    • Setting to center quicksetting
    • Loading screen with estimated percentage based on previous loading time
    • Drag and Drop tab button inside or outside a “tab container” to bring them or move them from/out main menu
  • Bypass Cozy Nest by adding CozyNest=No in URL param (ie: http://localhost:7860/?CozyNest=No) - useful for mobile
  • Fetch version from a dedicated json file hosted directly in the repo to an easier view of update of Cozy Nest.

I won't support mobile usage. Although you can use Cozy Nest on your desktop and add CozyNest=No in the URL when using webui from your mobile.

Tested in Chrome, should work in Firefox with minor bug. I plan to fix it later.

Known Issue

  • Metadata display in image browser may display "Error parsing metadata"
  • Partial compatibility with Firefox and Opera GX
  • Most tweak will not support a live window resize (nor F11 to go fullscreen)

It's made by being a bit hacky on the DOM to tweaks Gradio default features and existing css of Auto1111. It will probably break with each update of auto1111, but I'll try to keep it up to date.

Installation

  1. Open your SD-Webui
  2. Goto Extension Tab
  3. add Extenion by pasting this URL https://github.com/Nevysha/Cozy-Nest

Or search for Cozy Nest in the extension tab

Looks

Screenshot 2023-06-24 154827 Cozy-Prompt-Demo

Video

Screenshots

Main look

Resizable Panels (txt2img and img2img)

Full Screen Inpainting

Contribution

Not allowing contribution. Pull Request will be rejected.

Licence

AGPLv3

Need a specific licence for integration in a commercial project ? Contact me on discord.

Credits