A basic PDF viewer built on PDFjs.
This can be embedded as an iframe. Place the URL of the PDF in the query params like so:
iframe.src = `https://morebetterlabs.github.io/pdfviewer?pdf=${encodeURIComponent(pdfURL)}`;
- Lazy loading of pages so large PDFs don't hose everything
- Basic navigation
- The usual Zoom / Scale features
- Full screen mode
Licensed under Apache.