silvos590/magicpdf — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python desktop app called Magic PDF that helps regular people work with PDF files without using online tools. I want a clean small window where I can choose a PDF, pick what I want to do, and save the result somewhere.
It should let me compress a PDF with a quality setting from 1 to 100, merge several PDFs into one file, rotate a PDF by 90, 180, or 270 degrees, split a PDF into separate files using page ranges like 1 to 2, 3 to 4, or just page 8, and run OCR on scanned PDFs so the text becomes searchable.
Please also include a basic command line version for the same actions if that fits the project. Make the app show clear messages when something works or fails, and write simple setup and run instructions. Use normal Python tools for PDF handling, images, the desktop window, and OCR. Look up current docs online if you need to.
Want more depth? Deep Reverse