Gostrdr1337/AirFirmwareDL — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python command line tool for downloading earphone firmware files. I want to run one script, type in a firmware version number like 153, and have it download the right firmware into its own folder.
Please make it friendly for normal users in the terminal, with clear colored messages, a progress bar while downloading, and helpful errors if the internet fails or the version is missing. After each download, it should calculate the SHA 256 checksum and compare it against a saved list of known good checksums so the user knows if the file is safe and complete.
Also include a backup folder with already downloaded firmware bin files and checksum text files, plus a JSON file that stores expected checksums by version. Add a requirements file and a README that explains installation, how to run it, and how to manually verify a checksum if someone wants to double check. Use Python 3 and keep it simple enough for beginners to understand.
Want more depth? Deep Reverse