kekingcn/kkFileView ? reverse-engineered prompt

Reverse engineered prompt

Build me a web app that lets people upload a file and preview it in the browser without downloading it first.

I want it to handle the common office files like Word, Excel, PowerPoint, PDF, text, images, zipped files, and a few other formats when possible. The main screen should make it easy to pick a file, view it cleanly, and switch between pages or items inside an archive. For images, basic zoom and rotate would be great. For documents, show a readable preview with sensible page navigation. Also include a simple REST API so other apps can send a file and get a preview link back.

Make it feel like a practical self hosted tool, with a clean homepage, clear upload flow, and simple setup instructions. If you need to look up current docs or best practices for any library, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab