yausername/youtubedl-android — reverse-engineered prompt
Reverse engineered prompt
Build me an Android app and reusable library that lets people download videos or audio from a link using yt dlp on the device. I want a simple sample screen where I can paste a video URL, choose a save location in Downloads, start the download, see live progress with ETA, and cancel it if needed. It should also be able to fetch video info first, like the title and available stream details, and get a direct playable link for basic streaming.
Please include support for ffmpeg features so audio extraction works, and optional aria2c support for faster downloads. Make sure the app initializes everything on startup, handles updating the bundled yt dlp binary from inside the app, and works with Android storage restrictions, especially around the Downloads folder on newer Android versions. A config file option would be nice too, using a config.txt file in the app folder.
Keep it close to the sample app style in this repo, production ready enough to run and test. You can check current Android docs online if needed.
Want more depth? Deep Reverse