Commit Graph

275 Commits (3fbded3a635fcace5f17a18e44d5e9e1754900a8)

Author SHA1 Message Date
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