Commit Graph
40 Commits
Author SHA1 Message Date
kuekhaoyang 20999e1159 refactor: remove verbose logging, refine search animation, and update icon import. 2025-12-01 09:46:35 +08:00
kuekhaoyang 40520533b7 feat: improve fetch request headers with video domain referer and browser-like fields to avoid blocking 2025-11-29 17:11:52 +08:00
kuekhaoyang 39523e373a feat: return non-OK responses from fetchWithRetry and pass upstream errors through the proxy API. 2025-11-29 16:55:30 +08:00
kuekhaoyang 484dad5cdc refactor: optimize header forwarding in proxy by removing unnecessary headers and prioritize anti-blocking headers in fetch-with-retry. 2025-11-29 16:49:44 +08:00
kuekhaoyang d7b2d373ea feat: Enhance proxy to forward client headers and control caching, and simplify video player's source handling by removing internal proxy URL construction. 2025-11-29 16:19:48 +08:00
kuekhaoyang a5c76b6f32 feat: Proxy video sources to resolve CORS/IP issues and adjust fetch retry/timeout for Vercel. 2025-11-29 16:10:01 +08:00
kuekhaoyang f9cf4fdfb2 feat: Add fetchWithRetry utility, improve proxy M3U8 handling, and warn about HEVC codecs in HLS player. 2025-11-29 15:55:24 +08:00
kuekhaoyang bdae587bd5 feat: proxy HLS manifest encryption key URIs and refine segment URL proxying 2025-11-29 14:50:48 +08:00
kuekhaoyang 76ca595a98 refactor: remove unused variables and imports, and internalize module-specific functions and interfaces. 2025-11-29 12:55:46 +08:00
kuekhaoyang 220d1b0faf feat: Implement HLS download and enhance copy link functionality to support original and proxied URLs. 2025-11-29 11:05:04 +08:00
kuekhaoyang 3843ecdd84 feat: Implement intelligent HLS preloading that respects player loading state and browser buffer health. 2025-11-24 22:15:57 +08:00
kuekhaoyang c85e4b5f8d feat: remove image optimization utility using weserv.nl 2025-11-24 18:30:03 +08:00
kuekhaoyang 71bf1ba06d feat: Improve service worker network error handling by returning 503 responses instead of throwing and refine client-side error logging for network unavailability. 2025-11-24 17:52:23 +08:00
kuekhaoyang 1384de946c feat: implement image optimization and extract mobile play/pause logic into a new hook. 2025-11-24 16:59:13 +08:00
kuekhaoyang c187fa6615 refactor: Simplify proxy API headers and error handling, unify HLS segment URL resolution, update Service Worker cache, and remove clear-sw utility. 2025-11-23 18:26:16 +08:00
kuekhaoyang 3d73668b39 feat: Update service worker cache, add a utility page to clear service workers and caches, enhance proxy request headers and error handling, and improve HLS manifest parsing for absolute URLs. 2025-11-23 18:15:15 +08:00
kuekhaoyang 6dc6757ad1 perf: Reduce segment download concurrency, replace Next.js Image with native img for poster images, and clean episode URLs by removing redundant slashes. 2025-11-23 17:13:23 +08:00
kuekhaoyang e2b31aa37d fix: Use URL API to robustly resolve HLS segment URLs against the manifest base.fix: Use URL API to robustly resolve HLS segment URLs against the manifest base. 2025-11-23 16:39:26 +08:00
kuekhaoyang 09d8a124a5 feat: Implement HLS cache management with service worker updates, metadata tracking, and a settings UI. 2025-11-23 14:22:51 +08:00
kuekhaoyang 1e31a842e9 feat: Implement HLS video segment preloading and caching using a service worker. 2025-11-23 13:01:08 +08:00
kuekhaoyang 5c67f69b5e refactor: Remove player-specific dependencies, setup script, keyboard shortcuts, and project documentation. 2025-11-22 10:56:11 +08:00
kuekhaoyang 968ec2f421 feat: Implement search stream auto-completion timeout, filter irrelevant video results, and enhance search history dropdown animation with new image domains. 2025-11-21 19:18:13 +08:00
kuekhaoyang 58a8d4910e feat: Implement comprehensive search functionality, enhance video player controls for desktop and mobile, and refactor settings and history UI. 2025-11-21 19:00:23 +08:00
kuekhaoyang a408f2270f feat: Add video card component, desktop player controls, and introduce API utilities for search and data parsing. 2025-11-21 12:58:19 +08:00
kuekhaoyang 7b9b359d23 refactor: remove debug console logs and the unused latency emoji utility 2025-11-19 15:16:42 +08:00
kuekhaoyang fad6041df0 feat: Implement source management modals and settings store
- Added AddSourceModal for adding new video sources with validation.
- Introduced ExportModal for exporting settings and history options.
- Created ImportModal for importing settings from JSON files.
- Developed SourceManager for managing video sources, including enabling/disabling, deleting, and reordering.
- Established settings store to manage application settings, including default sources and sorting options.
- Implemented sorting utility functions for video search results based on various criteria.
2025-11-19 11:53:37 +08:00
kuekhaoyang 057df7434c feat: update video source configurations with new sources and localized names 2025-11-19 11:09:01 +08:00
kuekhaoyang fd1aa37767 feat: add latency tracking and display in video search results; optimize scrolling performance 2025-11-19 10:55:39 +08:00
kuekhaoyang 88f14290b5 refactor: remove unused accessibility utilities and hooks
- Deleted accessibility index file and related exports.
- Removed `useClickOutside` and `useClickOutsideMultiple` hooks for handling outside clicks.
- Eliminated `useSearchStream` hook and its associated logic for managing search state.
- Cleaned up `useMediaQuery` by removing predefined breakpoints and related utility hooks.
- Removed `source-checker` utility for checking video source availability.
- Refactored `client.ts` to simplify error handling and remove unused functions.
- Streamlined `video-sources.ts` by removing custom source management functions.
- Deleted `search-history-store.ts` and related search history management logic.
- Removed unused types and interfaces from `types/index.ts`.
- Cleaned up search utilities, focusing on relevance scoring and optimization.
2025-11-18 16:52:41 +08:00
kuekhaoyang d80e4420b6 refactor: remove unused utility files for error handling, M3U8 filtering, progress tracking, source switching, URL validation, and contrast testing
- Deleted error-handler.ts, m3u8-filter.ts, progress-tracker.ts, source-switcher.ts, url-validator.ts, and test-contrast.ts as they are no longer needed in the project.
2025-11-18 16:14:32 +08:00
kuekhaoyang ba9853566f feat: Enhance relevance scoring in search functionality; add scoring for actor, director, and content matches; improve query handling and penalties for long titles 2025-11-17 16:41:32 +08:00
kuekhaoyang 2802c694d0 feat: Implement parallel search functionality and update source name mappings 2025-11-17 14:29:31 +08:00
kuekhaoyang ad9e75bc8c feat: Implement video player components and search functionality
- Added EpisodeList component for displaying a list of episodes with selection functionality.
- Created PlayerError component to handle and display video playback errors.
- Developed VideoMetadata component to show detailed information about the video.
- Implemented VideoPlayer component for video playback with error handling and loading states.
- Introduced EmptyState and NoResults components for search results handling.
- Created ResultsHeader component to display search results summary.
- Developed SearchForm component for user input and search initiation.
- Implemented SourceBadges component to show available video sources.
- Created VideoGrid component to display search results in a grid format.
- Added useSearchCache and useSearchStream hooks for managing search state and caching results.
- Implemented useVideoPlayer hook for fetching and managing video details.
- Added utility function to map source IDs to their respective names.
2025-11-17 13:51:03 +08:00
kuekhaoyang 907af13ce7 Refactor video validation process by removing client-side playback testing; streamline episode filtering and enhance loading animation with accurate progress tracking 2025-11-16 22:56:39 +08:00
kuekhaoyang 5b4caf11c0 Enhance video validation process with client-side playback testing; filter out non-playable episodes and improve loading animation stages 2025-11-16 22:28:51 +08:00
kuekhaoyang c73cca570e Enhance video availability checks with improved accuracy and reduced concurrency; update source availability validation for better reliability 2025-11-16 21:53:18 +08:00
kuekhaoyang df8843aefb Enhance video URL accessibility checks to validate content type and ensure it contains video data 2025-11-16 21:29:31 +08:00
kuekhaoyang d0790d1307 Implement streaming search API and enhance video availability checks with loading animation 2025-11-16 19:03:19 +08:00
kuekhaoyang 610cc522c7 Enhance video source validation and availability checks across API routes and UI components 2025-11-16 11:26:28 +08:00
kuekhaoyang 11a5055b76 init 2025-11-16 10:49:55 +08:00