Commit Graph

83 Commits (e74293806b15bd19505bf69aa6d93de47c138ae8)

Author SHA1 Message Date
osirigunso e74293806b Fixed wrong negative prompt acquisition. 2026-03-23 21:59:04 +09:00
osirigunso 97f760aa54 Fix ComfyUI prompt extraction for ImpactWildcardProcessor 2026-03-14 23:30:35 +09:00
zanllp 7d603c1e94 feat(metadata): parse and mixin extraJsonMetaInfo field
Add support for parsing the extraJsonMetaInfo field from image metadata.
The field values are merged into the meta dictionary with all values
ensured to be strings for safety.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-22 23:25:47 +08:00
zanllp 0aa0321ee2 chore(db): optimize database backup to once per day and reduce max backups to 4
- Change default IIB_DB_FILE_BACKUP_MAX from 8 to 4
- Add daily backup check to prevent multiple backups per day
- Skip backup if one already exists for the current date
2026-02-22 13:44:30 +08:00
zanllp fcc3b66767 feat: add smart organize feature with AI-powered file organization
- Add smart organize feature that groups similar images based on prompt semantics
- AI generates meaningful folder names in user's preferred language
- Preview before action: review proposed organization, skip or adjust as needed
- Background processing for large folders
- Support move or copy, configurable min cluster size, include subfolders option

Backend changes:
- Add organize_files.py with job management and file operations
- Add recursive parameter to embedding and clustering APIs
- Default recursive=true for Topic Search (backward compatible)
- Default recursive=false for Smart Organize (first-level only)
- Update database on file move to preserve tags

Frontend changes:
- Add SmartOrganizeConfigModal for configuration
- Add OrganizeJobsPanel for progress tracking
- Add OrganizePreview for reviewing and confirming
- Add smart organize button to address bar
- Add i18n translations for zh-hans, zh-hant, en, de

Documentation:
- Update README.md and README-zh.md with feature description
- Update change.log.md with screenshots and video demo

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-17 17:14:02 +08:00
zanllp 4f4d766b73 fix: include hyphen in LoRA tag model name matching 2026-01-21 23:28:20 +08:00
zanllp a952a9f9d7 feat: add option to extract all ComfyUI prompts at once
- Add IIB_COMFYUI_EXTRACT_ALL_PROMPTS environment variable
- When enabled, extract all CLIPTextEncode prompts instead of following KSampler chain
- Note: All prompts will be merged into positive prompt field
2026-01-18 16:37:10 +08:00
zanllp 7b2af32b10 feat: enhance topic search with keyword limit, irregular layout, and cache banner
- Add keyword count limit (default 600) for Tag layer to improve performance
- Implement irregular node layout with random perturbations
- Add layer spacing based on adjacent layer widths for consistent gaps
- Add cache result banner with collapse/expand functionality
- Add streaming response utility for LLM API calls
- Update i18n translations for new cache banner texts
- Optimize tag graph: increase max tags to 500, add level-2 tiered requirements
- Fix keyword deduplication and null handling in tag graph
2026-01-18 01:29:25 +08:00
wuqinchuan 59bef3915e feat: 优化query搜索并加入tag图(去掉max抽象层与d3依赖) 2026-01-11 00:56:58 +08:00
zanllp da0082516c feat: add audio file playback support and improve TikTok view
- Add audio file recognition in backend (tool.py) and frontend (file.ts)
- Support audio formats: mp3, wav, ogg, flac, m4a, aac, wma
- Add audio player in TikTok view with starfield background animation
- Add audio modal similar to video modal
- Update file type filter to multi-select checkboxes (image/video/audio)
- Add filename display in TikTok view with Douyin-style bottom gradient
- Add long press to hide/show controls in TikTok view
- Fix audio resource cleanup when closing TikTok view
- Add Audio media type tag in database indexing
- Add i18n translations for audio related strings
2025-12-15 00:22:23 +08:00
zanllp e5413e41f1 feat: optimize random images, improve ComfyUI detection and prompt display
Backend optimizations:
- Refactor get_random_images() using SQLite ORDER BY RANDOM()
- Simplify from 60+ lines to ~20 lines with better performance
- Remove complex multi-cycle index calculations
- Maintain file existence check and auto-cleanup

ComfyUI support:
- Add fallback to 'parameters' field in PNG metadata
- Improve detection for ComfyUI-generated images

Frontend improvements:
- Smart prompt display: auto-detect tag vs natural language format
- Add getTextLength() with Chinese character weight (1 char = 3 letters)
- Refactor isTagStylePrompt() with clear rules:
  * Any tag length > 50  natural language format
  * Average tag length > 30  natural language format
- Natural language prompts shown as paragraphs
- Tag-style prompts shown as badges
- Better support for Chinese/English mixed content

Build:
- Update frontend asset references
2025-11-30 20:50:13 +08:00
zanllp d8ed522996 feat: implement auto-tagging feature with custom tag rules
- Add AutoTagMatcher singleton class for automatic tag application
- Support filtering by multiple fields (prompt, model, sampler, etc.)
- Add frontend UI for managing auto-tag rules in global settings
- Support AND logic for multiple conditions within a rule
- Integrate with image indexing process
- Add natural language vs tag-style prompt detection and rendering
- Include rule descriptions and usage guidance in UI
- Auto-reload rules when updated via API
2025-11-30 19:00:24 +08:00
zanllp 0184e7b1a6 support webm 2025-11-10 22:08:24 +08:00
zanllp 87f261ce72 add fallback for uninstalled filetype handlers 2025-06-09 00:49:12 +08:00
younyokel dde189f99c fix invalid escape sequence warnings in regex expressions 2025-05-28 16:40:56 +05:00
zanllp 387ef7875b
Merge pull request #804 from zanllp/fix/insufficient-random-media-count
fix(media): ensure minimum quantity in random image/video API
2025-05-25 20:35:55 +08:00
zanllp 6fc5dcf35e fix(media): ensure minimum quantity in random image/video API 2025-05-25 20:34:04 +08:00
zanllp 16a44aed6e fix(parser): resolve lora data parsing issues 2025-05-16 01:45:51 +08:00
Ancions-dot a8cff90617 decode webp metadata for images generated with comfyui 2025-05-07 23:42:04 +02:00
zanllp 844debc55e Merge branch 'comfyUI_improvements' of https://github.com/ermanitu/sd-webui-infinite-image-browsing into pr/ermanitu/772 2025-01-15 02:35:30 +08:00
zanllp d037420f91 Improve compatibility 2025-01-15 02:34:44 +08:00
Francisco Serradilla 82e0a0a4ff improved searching for KSampler node 2025-01-14 19:31:49 +01:00
Francisco Serradilla 2a2c5d0296 addedcompatibility with several comfyUI workflows 2025-01-14 17:59:57 +01:00
zanllp 031e377a1a Add support for batch downloading with options for no compression and packaging 2024-11-24 23:05:55 +08:00
zanllp cd1d02a533 Enhance prompt parsing compatibility with ComfyUI Flux 2024-11-10 18:27:39 +08:00
zanllp 02f9e9277f support jpe 2024-10-21 22:22:08 +08:00
zanllp e04d04d1c7 Enhance parser compatibility 2024-09-01 01:24:56 +08:00
zanllp 3ed98ea156 releases/iib_app_cli 2024-08-24 04:53:58 +08:00
zanllp c38484d317 Add support for setting the current frame as the video cover 2024-08-18 06:54:29 +08:00
zanllp 1e2925df01 Optimize styles, fix BREAK issue, and add option to control auto-refresh 2024-07-27 11:59:01 +08:00
zanllp fdf35eb308 Implement automatic refresh in walk mode 2024-07-17 07:58:32 +08:00
zanllp d91c046dc8 Adjust exception handling mechanisms 2024-07-11 02:07:51 +08:00
zanllp 50700974eb Release version 0.17.0, adding a pyinstaller-compiled sidecar to reduce the likelihood of false positives from antivirus software. 2024-07-10 21:36:10 +08:00
zanllp 17f048ad0c Add support for pre-generating cache via startup parameters and specifying cache directory through environment variables 2024-07-08 00:07:12 +08:00
zanllp 83b4c65757 Implement a basic plugin mechanism 2024-07-03 11:13:34 +08:00
zanllp 94b27b5a74 Add 'Move To', 'Copy To', 'Copy File Path', and 'Open File Location in New Tab' to context menu 2024-07-01 07:05:09 +08:00
zanllp e807a2077e Enhance compatibility 2024-06-23 03:44:46 +08:00
zanllp a6507d5624
Merge pull request #638 from zanllp/enhance-compatibility
Enhance compatibility across various environments
2024-06-22 23:12:50 +08:00
zanllp b40b838f9c Add support for pinnable search history records 2024-06-22 07:19:38 +08:00
zanllp 81e2802c71 add support for .avif 2024-06-15 02:58:03 +08:00
zanllp db775d0666 Add support for StableSwarmUI 2024-06-13 18:41:05 +08:00
zanllp 07a5cfad09 fix several bug 2024-06-11 19:52:48 +08:00
zanllp bb4f1e711b Display current version information.Automatically check for updates on app startup and prompt the user to upgrade if a newer version is available 2024-06-11 12:26:10 +08:00
zanllp edf9444ae3 Enhance LORA parser compatibility, improve page interactions and performance 2024-05-30 11:41:07 +08:00
zanllp 5d43a34e52 Enhance compatibility across various environments 2024-05-29 14:13:55 +08:00
zanllp 24a022a925 Adjust the sorting order when fetching cover images 2024-05-26 14:59:16 +08:00
zanllp 6ef19df11f Adjust default backup quantity for iib.db file 2024-05-16 00:03:41 +08:00
zanllp 89991e0853 Resolve parsing issue causing errors 2024-04-20 01:20:26 +08:00
zanllp 8399dc8cbf fix 2024-04-11 01:14:54 +08:00
zanllp 2d096ba2ff Add support for multiple view types for the same path 2024-04-11 00:51:22 +08:00