JetReader turns WordPress into a digital library with a fullscreen React document reader. Upload, manage, and display books, articles, magazines, and Q&A documents. It automatically maps documents to SEO-friendly Custom Post Types, making them fully searchable and XML sitemap compatible.
Document Support
- EPUB — Paginated layout, customizable fonts, and outline navigation.
- PDF — High-performance rendering, zoom, and dual/single page view.
- TXT — Auto-styled text with font resizing and auto-scroll.
- DOCX — Client-side parsing and rendering of Word files with formatting.
Features
- Fullscreen View — Clean template without site headers/footers for maximum focus.
- Themes — Toggle between Light, Dark, Sepia, and Auto modes.
- In-doc Search — Find terms directly inside the document with page-jump.
- Resume Reading — Remembers the user’s reading progress.
- Deep Linking — Direct URLs (e.g.,
#page=12) to open at a specific page.
Documentation
For full documentation, shortcode attributes, and REST API endpoints, please visit the official documentation page: https://wplector.com
Source Code & Build Instructions
This plugin contains minified/compiled React assets under the dist/ directory. For build reproducibility and compilation transparency, the distributed package includes the complete, unminified, human-readable source code inside the src/ directory, as well as the build configuration files (package.json, package-lock.json, vite.config.ts, tsconfig.json, postcss.config.js, tailwind.config.ts). The source code is also publicly accessible and maintained in the following repository:
https://github.com/mehdituran/jetreader-lite
Build Tools & Steps
To build the compiled assets from the source code:
1. Ensure Node.js (v18+) is installed.
2. Clone the repository and navigate to the project directory.
3. Install dependencies by running:
npm install
4. Build the production assets using the Vite builder:
npm run build
5. The generated compiled files will be output to the dist/ directory.
Third-Party Libraries
The compiled assets bundle the following third-party libraries: * React & React DOM (MIT License) – https://react.dev/ * TanStack React Query (MIT License) – https://tanstack.com/query/ * Framer Motion (MIT License) – https://www.framer.com/motion/ * Epub.js (BSD 3-Clause License) – https://github.com/futurepress/epub.js/ * Mozilla PDF.js (Apache 2.0 License) – https://mozilla.github.io/pdf.js/ * Mammoth.js (BSD 2-Clause License) – https://github.com/mwilliamson/mammoth.js (including Bluebird and JSZip) * DOMPurify (Apache 2.0 / LGPL 2.1) – https://github.com/cure53/DOMPurify * fflate (MIT License) – https://github.com/101arrowz/fflate * Keen Slider (MIT License) – https://keen-slider.io/
Localization & Translation
JetReader is fully translation-ready: PHP strings use WordPress i18n functions (__(), _e(), etc.) and the React admin/frontend/reader interfaces use @wordpress/i18n, so the plugin follows your site’s active language (including per-page languages set by Polylang/WPML) automatically. The translation template is at languages/jetreader.pot.
