16 Commits

Author SHA1 Message Date
Mikhail Yevchenko a468a7a268 Add docker support 2026-04-01 20:41:52 +00:00
Mikhail Yevchenko 27e97adbc8 Update README.md to enhance documentation on HLS proxy usage and supported sites 2026-04-01 18:29:59 +00:00
Mikhail Yevchenko 3ec080dbd3 Enhance video metadata extraction and update player template to display additional information 2026-04-01 18:25:35 +00:00
Mikhail Yevchenko 9bbbbc5a65 Fix HLS proxy and player functionality (first working version) 2026-04-01 18:21:11 +00:00
Mikhail Yevchenko 198f85b67d Update testing guidelines in AGENTS.md to include comprehensive proxy tests for HLS playlists and error handling 2026-04-01 17:53:44 +00:00
Mikhail Yevchenko 15b9702956 Add common pitfalls section to AGENTS.md for testing guidelines 2026-04-01 17:34:50 +00:00
Mikhail Yevchenko 34e49c0d9f Enhance testing strategy by implementing TDD for video URL downloads and critical functions 2026-04-01 14:13:26 +00:00
Mikhail Yevchenko 01a376ae21 Enhance HLS proxy functionality and improve caching mechanism
- Updated AGENTS.md to clarify dlp.py module usage and segment handling.
- Modified README.md to include ALLOW_LOCAL configuration for testing.
- Refactored app.py to streamline HLS proxy logic and improve error handling.
- Enhanced dlp.py to optimize caching and segment retrieval processes.
- Updated player.html to ensure proper JSON formatting for proxy URLs.
- Improved test_integration.py to validate HLS segment proxying and added test for Pornhub HLS extraction.
- Adjusted test_proxy.py to reflect changes in caching functions and data structure.
2026-04-01 12:47:21 +00:00
Mikhail Yevchenko 154f600fd2 Update implementation details for yt-dlp proxy server in AGENTS.md 2026-04-01 12:10:14 +00:00
Mikhail Yevchenko 9f107e388c Add forwardPorts configuration to devcontainer.json 2026-04-01 11:22:09 +00:00
Mikhail Yevchenko 4548f455a3 Remove .vscode directory from .gitignore and add launch configuration for Flask and Pytest 2026-04-01 11:13:58 +00:00
Mikhail Yevchenko 30ecd60601 Add VS Code Python extension to devcontainer configuration 2026-04-01 11:13:44 +00:00
Mikhail Yevchenko 244a624bb9 Refine .gitignore 2026-04-01 11:11:49 +00:00
Mikhail Yevchenko ff6e727ae7 Initial implementation of yt-dlp HLS proxy server
- Flask app with HLS proxy routes (/hls, /player, /)
- yt-dlp integration with 365-day in-memory cache
- URL validation with allowed domains (youtube, pornhub, etc)
- HTML5 HLS player with hls.js
- Unit tests: URL validation, cache, error handling
- Integration tests: ffmpeg-generated test video, full proxy chain
- Environment-based configuration (PORT, CACHE_TTL, LOG_LEVEL)
- MIT license
2026-04-01 11:10:05 +00:00
Mikhail Yevchenko 3d434dff6c Update AGENTS.md with project structure and implementation details for yt-dlp proxy server 2026-04-01 10:52:24 +00:00
Mikhail Yevchenko 8797b2989a Add devcontainer configuration and initial documentation for yt-dlp proxy server 2026-04-01 10:21:50 +00:00