PDFlipbook
github.com
- Free plan
- Web
- Self-hosted
7.1 Club score Visit github.com
What the maker publishes
- Audience
- The project describes itself as a script for adding an interactive PDF book to a webpage; the README includes a sample demo and file upload example. source
- Embedding
- A webpage can embed the book with a script and a div that points to a PDF; no build step is required. source
- Events
- The component dispatches ready, page-change, mode-change, zoom-change, and error events on its container element. source
- Events and theming
- The component emits events including page-change and zoom-change, and its appearance can be customized with CSS variables. source
- Headquarters
- New Zealand source
- Integration
- The script loads Mozilla pdf.js from a CDN by default and allows users to provide self-hosted pdf.js and worker files. source
- JavaScript API
- The API includes page navigation, zoom, display-mode controls, fullscreen toggling, and destruction of a book instance. source
- License
- The project is released under the MIT License. source
- Limitations
- The page must be served over HTTP or HTTPS for PDF fetching, and cross-origin PDF URLs need CORS headers. source
- Page turns
- Readers can drag or tap near page edges, with corner drags folding the page along a crease. source
- PDF.js
- PDF.js version 4 is loaded automatically from a CDN when a book is first created. source
- Purpose
- PDFlipbook turns PDFs into interactive page-flip books using a JavaScript script. source
- Responsive layout
- The book reflows when its container resizes or the device rotates, and the demo offers desktop, tablet, and mobile views. source
- Responsive layout
- The viewer responds to container resizing and device rotation, and can switch to single-page view on portrait screens. source
- Security
- The README recommends keeping PDF.js current, disabling eval support, and self-hosting PDF.js for untrusted PDFs or to avoid relying on a third-party CDN. source
- Security guidance
- The README recommends keeping pdf.js current, disables eval support, and advises self-hosting pdf.js with a Content-Security-Policy when rendering untrusted PDFs. source
- Viewing controls
- It includes zoom, fullscreen, page navigation, and single- or double-page display modes. source
- Viewing modes
- It supports automatic, single-page, and double-page display modes. source
- Who it is for
- The maker describes it as a zero-install JavaScript component for adding an interactive PDF flipbook to a webpage. source
- Zoom and fullscreen
- It provides zoom controls, pinch zoom, drag-to-pan while zoomed, and fullscreen. source
Checked against the maker's pages on 8 Oct 2026.