ojodaniel20101-prog/hls-proxy ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python app that acts like an HLS proxy for video streams.
I want to give it an HLS playlist URL and have it fetch and serve the playlist and segment files through my own server, so the stream can be accessed through the proxy instead of directly. It should handle the usual HLS playlist and segment requests cleanly, keep links working, and be easy to run locally or deploy with a simple process file.
Please make it lightweight, reliable, and easy to configure from the command line or a few settings. If you need to check current library docs or best practices, go ahead and look them up online. I mainly want something that works out of the box, is simple to understand, and can be started without a lot of setup.
Are you gonna build this?
make sure you review the code using coderabbit