View Single Post
Old 10-31-2025, 03:13 PM   #1
serrnovik
Junior Member
serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!serrnovik will blow your mind, man!
 
Posts: 4
Karma: 57290
Join Date: Oct 2025
Device: ipad
[GUI Plugin] n-pages-previews

First of all I would like to thank you the author of the calibre and all the people who are involved in app and plugin development.


Here is my plugin for calibre:

Short description:
Plugin let you generate previews for first N pages of the book that allows quickly preview them.

My use case is sorting books children books to quickly judge if it is worth to read it or not. without the need to open the book which is not instantaneous.


Description

Preview Panel:
- Two-column thumbnail grid displays the first N pages of the selected book.
- One-click on the toolbar icon shows or hides the docked preview panel;


Generate Preview:
- Either from menu or from floating toolbar you generate previews for one or multiple books.

Storage:
Preview images live beside the source PDF in a .previews/ folder, keyed by file path, mtime, page count, width, and quality.
Ghostscript-backed conversion creates JPEGs; if Ghostscript is missing, the generator falls back to placeholder images so the UI remains usable.
No Calibre database tables are altered; settings stay in plugins/n_pages_previews.json.
Configuration Options (Preferences → Plugins → Customize)


Installation:
In Calibre: Preferences → Plugins → Load plugin from file, pick n-pages-previews.zip, then restart Calibre and add the button to your toolbar or menu.
Getting Help
Attached Thumbnails
Click image for larger version

Name:	plugin.png
Views:	138
Size:	867.1 KB
ID:	218953  
Attached Files
File Type: zip n-pages-previews.zip (26.4 KB, 50 views)

Last edited by theducks; 11-18-2025 at 12:55 PM. Reason: Update version of PI
serrnovik is offline   Reply With Quote