Commit Graph

329 Commits (main)

Author SHA1 Message Date
wuqinchuan dd5663dd89 Revert "feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)"
This reverts commit d7e2b2f9fc.
2025-12-28 23:16:31 +08:00
wuqinchuan d7e2b2f9fc feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval) 2025-12-28 23:10:13 +08:00
zanllp 89bd778182 fix 2025-12-19 01:29:32 +08:00
zanllp 858453238e feat: fix 2025-12-19 00:43:15 +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
bupro 198de49e58 feat: Add video tag search and random sort with i18n support
- Added video tag support for enhanced media file handling:
  * Video files can now use tag-based search functionality
  * Added support for reading video generation info from txt files
  * Enhanced EXIF data handling for video media types

- Implemented random sort feature for image grid:
  * Added random sort toggle button with visual indicators (🎲/📅)
  * Supports both random and date-based sorting modes
  * Optimized pagination for random sorting with offset-based cursors

- Complete internationalization support:
  * Added translations for random sort and date sort in all languages
  * Supported languages: zh-hans, en, de, zh-hant
  * Improved UI consistency across language variants

- Backend improvements:
  * Enhanced database queries to support random sorting
  * Added random_sort parameter to API endpoints
  * Improved error handling for video file processing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 00:41:10 +08:00
zanllp d78cc773c9 add log 2025-08-04 22:13:58 +08:00
wuqinchuan 4df86dc1e2 feat: Add media type filter support for search functionality 2025-07-13 20:09:36 +08:00
Hugs288 fa29cd7496
fix the swarm parser 2025-07-04 20:03:33 +03:30
zanllp 87f261ce72 add fallback for uninstalled filetype handlers 2025-06-09 00:49:12 +08:00
wuqinchuan fb68d78f39 feat(file-view): add toggle for TikTok-style file display,enable some experimental features by default 2025-06-02 20:46:22 +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
Ancions-dot 1b28c1aed8 determine image resolution using Pillow 2025-05-07 04:08:18 +02:00
zanllp 82771115d5 fix: fix cors 2025-03-13 21:35:29 +08:00
zanllp b9f993d777 feat: Stealth Infotext 2025-03-12 00:33:44 +08:00
Yoonsoo Kim 488492bf66 configurable db path 2025-02-28 16:45:18 +09:00
zanllp ea10260756 feat: add a new feature try-my-luck 2025-02-23 04:09:01 +08:00
wuqinchuan 7dc9735e6b feat: Implement support for invoke.ai 2025-01-26 18:53:49 +08: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 476f4ff779 Support disabling maximize and enable fuzzy search with path-only option 2024-12-26 01:53:06 +08:00
zanllp 031e377a1a Add support for batch downloading with options for no compression and packaging 2024-11-24 23:05:55 +08:00
zanllp b005d8760d feat: support more shortcut keys 2024-11-16 22:49:49 +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 3c3808d93f refactor: remove useless code 2024-09-28 20:27:35 +08:00
zanllp 9718d545f6 Add support for custom tag colors 2024-09-28 20:23:14 +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 475764070d Handle cache issues for video cover and file responses 2024-08-18 20:40:07 +08:00
zanllp 313afe3149 update i18n 2024-08-18 06:58:59 +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 de48ae1f0d Add WorkspaceSnapshot feature. Add support for customizing the startup page 2024-07-15 05:16:11 +08:00
zanllp d0cd421330 Add display of current working mode at footer 2024-07-14 04:55:23 +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 7c6051a22d Adjust permissions required for API calls 2024-06-24 07:22:24 +08:00
zanllp bf6c72895d Implement automatic synchronization of global settings to the backend 2024-06-24 06:05:46 +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 34c2e45b00 Improve performance, add option for pre-generating video covers, and update README 2024-06-20 09:58:22 +08:00
zanllp d578d5c10a fix 2024-06-15 04:10:08 +08:00
zanllp dfa151e9db add missing import 2024-06-15 03:52:24 +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 f1f59dee74 fixed loc 2024-06-10 11:14:23 +08:00
zanllp 37d89503c7 feat: Expand tag generation support 2024-06-02 03:23:10 +08:00
zanllp 9edd750ec0 feat: Add support for NovelAI 2024-06-01 08:48:43 +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 e7c0cb34d2 pref: Optimize application performance 2024-05-26 14:18:34 +08:00
zanllp a35a1d9ff2 remove useless code 2024-05-26 13:38:35 +08:00
zanllp a07d7e9eee pref: Optimize application performance 2024-05-26 13:33:13 +08:00
zanllp 25a4be4333 add-folder-cover-preview 2024-05-26 13:00:34 +08:00
zanllp 5896970d78 dec 2024-05-26 10:26:34 +08:00
zanllp 9525e89aed Fix duplicate action issue 2024-05-26 03:39:04 +08:00
zanllp 1439052c1b Fix potential sorting anomalies 2024-05-21 07:58:54 +08:00
zanllp 148eeff927 Handling potential errors during renaming 2024-05-21 06:53:39 +08:00
zanllp 64c5db7f2d Implement file renaming functionality 2024-05-20 07:03:42 +08:00
zanllp 8714298ff8 Enhance compatibility for fooocus parser 2024-05-19 18:23:31 +08:00
zanllp c80afce4a9 Improve performance of adding tags 2024-05-17 23:11:27 +08:00
zanllp 0fb43eefec Fix potential recursion error 2024-05-16 02:00:00 +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 3dbfff72ce fix: remove tag 2024-04-15 05:27:36 +08:00
zanllp c95414a9b2 refactor: rename func 2024-04-13 04:22:16 +08:00
zanllp bb4837881b Add support for adding aliases to paths 2024-04-13 03:57:49 +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
zanllp 7a0e512150 feat: Improve parser robustness 2024-04-07 14:42:19 +08:00
zanllp d660a974d9 Reduce API errors. 2024-03-30 10:53:51 +08:00
zanllp 7e37356d2f Add try-catch block for error handling 2024-03-30 10:45:59 +08:00
zanllp 2fb7cf407b Improve API performance 2024-03-30 03:32:42 +08:00
zanllp 5c8ca65904 Align metadata generated by various parsers 2024-03-27 21:03:59 +08:00
zanllp 6646af77ef feat: Added support for Fooocus 2024-03-27 20:40:58 +08:00
zanllp 4595b71fe5 feat: Add more logger 2024-03-27 01:36:47 +08:00
zanllp eb75d4e583 feat: Add exception handling 2024-03-27 01:27:45 +08:00
zanllp 78e80288f6 fix: import error 2024-03-27 00:56:04 +08:00
zanllp d2ee4405a9 fix typo 2024-03-27 00:31:59 +08:00
zanllp 25cafe4323 refactor: rename 2024-03-27 00:21:30 +08:00
zanllp 199c8ba13b Merge branch 'dev-vendor' of https://github.com/zanllp/sd-webui-infinite-image-browsing into dev-vendor 2024-03-26 23:33:35 +08:00
wuqinchuan 6ab8c9630a temp save 2024-03-26 23:20:54 +08:00