Ethical-Tech-CoLab/read-as-book ? reverse-engineered prompt
Reverse engineered prompt
Build me a drop in “read as book” viewer for PDFs that makes a document feel like a real book you can flip through in the browser. I want it to work on any website, open fast, support full screen, keyboard arrows, and a mobile friendly single page mode when the screen is narrow.
Please include a simple way to turn a PDF into page images first, so the viewer only loads plain images and can work on static hosting like GitHub Pages or Netlify. I’d like both a framework free way to open the reader and a React component I can drop into an app. Make it easy to style with one CSS file and custom properties, and let me pass in the title, PDF link, and page list. If it helps, look up any current docs online for the page turning library or image rendering tools you need.