MyGit

zanllp/sd-webui-infinite-image-browsing

Fork: 126 Star: 1029 (更新于 2024-12-05 18:10:40)

license: MIT

Language: TypeScript .

A fast and powerful image/video browser for Stable Diffusion webui / ComfyUI / Fooocus / NovelAI / StableSwarmUI, featuring infinite scrolling and advanced search capabilities using image parameters. It also supports standalone operation.

最后发布版本: v1.2.0 ( 2024-10-03 06:10:49)

GitHub网址

🌍 i18n Advisory: Some translations may be incomplete or inaccurate. Pull requests are welcome for improvements!

🌐 Try our application online at: http://39.105.110.128:0721. This is my idle 2c2g3m cloud server without CDN.

中文文档 Change log Installation / Running

Stable Diffusion webui Infinite Image Browsing

Software Support and Development Progress Overview

Software Support Provided by
Stable Diffusion web UI Supported Built-in
ComfyUI Partially supported Built-in
Fooocus Supported Built-in
NovelAI Supported Built-in
StableSwarmUI Supported Built-in
Pixiv Supported pixiv_iib_plugin

If you would like to support more software, please refer to: parsers or pixiv_iib_plugin

Key Features

🔥 Excellent Performance

  • Once caching is generated, images can be displayed in just a few milliseconds.
  • Images are displayed with thumbnails by default, with a default size of 512 pixels. You can adjust the thumbnail resolution on the global settings page.
  • You can also control the width of the grid images, allowing them to be displayed in widths ranging from 64px to 1024px.
  • Supports pre-generating thumbnails and video covers to improve performance using --generate_video_cover and --generate_image_cache.
  • Supports specifying the cache directory through the IIB_CACHE_DIR environment variable.

🔍 Image Search & Favorite

  • The prompt, model, Lora, and other information will be converted into tags and sorted by frequency of use for precise searching.
  • Supports tag autocomplete, auto-translation, and customization.
  • Image favorite can be achieved by toggling custom tags for images in the right-click menu.
  • Support for advanced search similar to Google
  • Also supports fuzzy search, you can search by a part of the filename or generated information.
  • Support adding custom search paths for easy management of folders created by the user.

🖼️ View Images/Videos & Send To

  • Supports viewing image generation information. Also supported in full-screen preview mode.
  • Supports sending images to other tabs and third-party extensions such as ControlNet , openOutpaint.
  • Support full-screen preview and enable custom shortcut key operations while in full-screen preview mode.
  • Support navigating to the previous or next image in full-screen preview mode by pressing arrow keys or clicking buttons.
  • Support playing video files from a remote server.

💻 Multiple Usage Methods

  • You can install it as an extension on SD-webui.
  • You can run it independently using Python.
  • The desktop app version is also available.
  • Supports multiple popular AI software.

🚶‍♀️ Walk Mode

  • Automatically load the next folder (similar to os.walk), allowing you to browse all images without paging.
  • Tested to work properly with over 27,000 files.
  • When there are folders, you can switch to walk mode from other modes by clicking the walk button in the upper right corner. It will flatten all the folders, avoiding the tedious operation of going in and out of folders.

🌳 Preview based on File Tree Structure & File operations

  • Supports file tree-based preview.
  • Supports automatic refreshing.
  • Supports basic file operations, such as multiple selection for deleting/moving/copying, and creating new folders.
  • Hold down the Ctrl, Shift, or Cmd key to select multiple items.
    • Supported multi-select operations include: delete, move, copy, pack download, add tags, remove tags, move to another folder, copy to another folder, drag and drop.
    • You can keep the multi-select state by clicking the "Keep Multi-Select" button in the lower right corner, allowing you to perform multiple operations on the selected file collection conveniently.

🆚 image comparison (similar to Imgsli)

  • Provides a side-by-side comparison of two images.
  • Provides a comparison of image generation information at the same time.

🌐 Multilingual Support

  • Currently supports Simplified Chinese/Traditional Chinese/English/German.
  • If you would like to add a new language, please refer to i18n.ts and submit the relevant code.

🔐 Privacy and Security

  • Supports custom secret key for authentication.
  • Supports configuring access control for the file system, which will be enabled by default when the service allows public access (Only when used as an extension of sd-webui).
  • Supports customizing the allowed paths for access control.
  • Supports controlling access permissions. You can run IIB in read-only mode.
  • Click here to see details

📦 Packaging/Batch Download

  • Allows you to download multiple images at once.
  • The data source can be search results, a regular image grid view page, walk mode, etc. Images can be added to the processing list through drag-and-drop or "Send To".

⌨️ Keyboard Shortcuts

  • Allows for deleting and adding/removing tags, with customizable trigger buttons in the global settings page.

If you like this project and find it helpful, please consider giving it a ⭐️. This would be very important for me to continue developing and maintaining this project. If you have any suggestions or ideas, please feel free to raise them in the issue section, and I will respond as soon as possible. Thank you again for your support!

Buy Me a Coffee at ko-fi.com

Sponsor me on WeChat

Installation / Running

As an extension for SD-webui:

  1. Open the Extensions tab in SD-webui.
  2. Select the Install from URL option.
  3. Enter https://github.com/zanllp/sd-webui-infinite-image-browsing.
  4. Click on the Install button.
  5. Wait for the installation to complete and click on Apply and restart UI.

As a standalone program that runs using Python. (without SD-webui):

Refer to Can the extension function without the web UI?

If you need to view images generated by ComfyUI/Fooocus/NovelAI, please refer to https://github.com/zanllp/sd-webui-infinite-image-browsing/issues/202.

If you need a Dockerfile, you can refer to this link. https://github.com/zanllp/sd-webui-infinite-image-browsing/discussions/366

As a desktop application (without SD-webui and Python):

The executable version also supports ComfyUI/Fooocus/NovelAI.

Download and install the program from the releases section on the right-hand side of the repository page. If the antivirus detects a virus, it can be ignored as a false positive. There are two versions of the compiled version for Windows, with the pyinstaller version having a lower false positive rate.

If you need to compile it yourself, please refer to https://github.com/zanllp/sd-webui-infinite-image-browsing/blob/main/.github/workflows/tauri_app_build.yml.

As a Library Usage:

Use iframe to access IIB and use it as a file browser for your application. Refer to https://github.com/zanllp/sd-webui-infinite-image-browsing/blob/main/vue/usage.md

Preview

image

Image Search

During the first use, you need to click and wait for the index generation. For my case with 20,000 images, it took about 45 seconds (with an AMD 5600X CPU and PCIe SSD). For subsequent uses, it will check whether there are changes in the folder, and if so, it needs to regenerate the index. Usually, this process is very fast.

Image search supports translation, see https://github.com/zanllp/sd-webui-infinite-image-browsing/issues/39 for more detail. Feel free to share files for other languages to facilitate everyone's use. image image

Full Screen Preview (Side-by-Side Layout)

11

Full Screen Preview

image

In full-screen preview mode, you can also view image information and perform operations on the context menu. It supports dragging, resizing and expanding/collapsing .

https://user-images.githubusercontent.com/25872019/235327735-bfb50ea7-7682-4e50-b303-38159456e527.mp4

If you, like me, don't need to view the generation information, you can choose to simply minimize this panel, and all contextual operations will still be available.

image

Image comparison

ezgif com-video-to-gif

Transfer files between different tab panes.

https://github.com/zanllp/sd-webui-infinite-image-browsing/assets/25872019/e631e3c3-1cbf-49bc-8577-f2963a6c9e4d

Right-click menu

image

You can also trigger it by hovering your mouse over the icon in the top right corner.

image

Walk mode

https://user-images.githubusercontent.com/25872019/230768207-daab786b-d4ab-489f-ba6a-e9656bd530b8.mp4

Dark mode

image

最近版本更新:(数据更新于 2024-12-21 14:11:10)

2024-10-03 06:10:49 v1.2.0

2024-08-24 06:20:42 v1.1.0

2024-08-03 13:44:45 v1.0.0

2024-07-11 02:52:42 v0.17.1

2024-07-10 22:51:48 v0.17.0

2024-06-27 18:58:38 v0.16.0

2024-06-11 22:44:08 v0.15.0

2024-06-01 10:39:52 v0.14.0

2024-05-26 15:36:37 v0.13.0

2024-04-20 23:16:54 v0.12.0

主题(topics):

comfyui, extension, file-explorer, file-server, fooocus, gallery, image-previewer, novelai, previewer, remote-explorer, stable-diffusion-webui, stable-diffusion-webui-plugin, stable-swarm-ui, stableswarmui, video, video-player

zanllp/sd-webui-infinite-image-browsing同语言 TypeScript最近更新仓库

2024-12-21 21:40:12 lobehub/lobe-chat

2024-12-21 12:01:51 siyuan-note/siyuan

2024-12-21 10:57:01 ai16z/eliza

2024-12-21 09:15:35 MetaCubeX/metacubexd

2024-12-21 04:50:26 mediar-ai/screenpipe

2024-12-20 19:36:48 vitejs/vite