zupolgec/gdown-php ? reverse-engineered prompt
Reverse engineered prompt
Build me a PHP tool that can download public files from Google Drive, both as a command line app and as something I can use in my own PHP projects.
I want it to handle a normal file link or just a file id, figure out messy Drive links automatically, and show the file name and size before it downloads anything. It should also support downloading whole folders when possible, resuming broken downloads, limiting download speed, using a proxy, and reading browser cookies for files that need sign in. If the file is a Google Doc, Sheet, or Slide, let me choose an export format like PDF, DOCX, XLSX, or PPTX.
Please include a clean progress display, a few helpful commands and options, and a small test suite so I can trust it works. If you need to check current Google Drive or Composer details while building, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit