Commit Graph

64 Commits (4287c2c8492f3e9d0998446da7b6c5db80d16959)

Author SHA1 Message Date
wuqinchuan efcb500c53 feat: cache embedding failures and persist cluster results 2026-01-03 23:47:16 +08:00
wuqinchuan 101a30afb4 Revert "Revert "feat: experimental natural-language categorization & search (persistent scope, clustering, retrieval)""
This reverts commit dd5663dd89.
2026-01-03 23:47:16 +08:00
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 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
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
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
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
Ancions-dot 1b28c1aed8 determine image resolution using Pillow 2025-05-07 04:08:18 +02: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
zanllp 476f4ff779 Support disabling maximize and enable fuzzy search with path-only option 2024-12-26 01:53:06 +08:00
zanllp b005d8760d feat: support more shortcut keys 2024-11-16 22:49:49 +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 de48ae1f0d Add WorkspaceSnapshot feature. Add support for customizing the startup page 2024-07-15 05:16:11 +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 bf6c72895d Implement automatic synchronization of global settings to the backend 2024-06-24 06:05:46 +08:00
zanllp db775d0666 Add support for StableSwarmUI 2024-06-13 18:41:05 +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 5896970d78 dec 2024-05-26 10:26:34 +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 bb4837881b Add support for adding aliases to paths 2024-04-13 03:57:49 +08:00
zanllp 2d096ba2ff Add support for multiple view types for the same path 2024-04-11 00:51:22 +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 78e80288f6 fix: import error 2024-03-27 00:56:04 +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
zanllp 9088388530 feat: Implement automatic database file backup mechanism 2024-03-22 23:13:26 +08:00
zanllp 0f739ae155 Add support for video streaming, video thumbnail generation, video search functionality, and video tagging 2024-03-22 06:29:48 +08:00
wuqinchuan e15f930015 temp save 2024-02-17 23:22:33 +08:00
zanllp c537ebfd09 Implemented enhancements for robustness 2024-01-03 02:05:41 +08:00
zanllp b9332d3525 Add support for fuzzy search within specified scope 2023-11-26 02:58:05 +08:00
zanllp 43ac6466a7 Added support for searching within a specified folder.
Removed the requirement for exact matching during searches.
2023-11-15 01:08:28 +08:00
zanllp 2d789a6e91 feat: Ignore existing image tag when saving 2023-11-12 03:02:04 +08:00
zanllp 9634d9f20d Implemented support for batch tag addition and removal 2023-10-29 18:06:52 +08:00
zanllp 3e38642781 Support removing unused tags by rebuilding image index 2023-10-01 19:20:49 +08:00
zanllp 8b5225dd22 fix remove extra path error 2023-09-29 00:17:18 +08:00
zanllp b7c87624b6 Expand regular expression matching to support a wider range 2023-09-24 07:55:07 +08:00
zanllp 5495f791be Add support for using regular expressions in fuzzy search 2023-09-23 10:50:34 +08:00