Sraq-Zit/gfile — reverse-engineered prompt
Reverse engineered prompt
Build me a small Python package and command line tool for Gigafile that can upload a local file and download a Gigafile link.
I want to be able to run simple commands like uploading a file path and getting back the download page URL, or downloading a Gigafile URL and saving it with the original filename unless I choose a different output name. It should also be usable from Python code with a simple class, something like creating an object with a file path or URL, then calling upload or download.
Please include sensible command line options for progress display, output filename, upload thread count, chunk size, timeout, password or key, verification on or off, and an optional way to hand downloads off to aria2. Uploads should support multi thread chunked uploading without corrupting the final file, and downloads should handle filenames correctly.
Package it so it can be installed with pip, expose the CLI as gfile, and include a clear README with install and usage examples.
Want more depth? Deep Reverse