Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2026, 06:13 AM   #1
treetrum
Junior Member
treetrum began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2026
Device: Kindle Paperwhite
[Plugin] Stable Page Count – choose a target page count in KOReader

I’ve made a small KOReader plugin that changes the UX of the native “Stable page numbers” feature.

Instead of choosing an abstract “characters per page” value, you enter the stable page count you want. The plugin searches for the appropriate characters-per-page value and
then uses KOReader’s existing synthetic page-map system.

Features:
• Enter a desired stable page count
• Uses KOReader’s native page labels, navigation, bookmarks, and status information
• Shows the page count produced by KOReader’s default of 1500 characters per page
• Reports the closest available count when an exact result isn’t possible
• Preserves publisher-provided page number support

I’ve tested it on a Kindle with reflowable EPUB books. Testing on Kobo, Android, and other KOReader platforms would be very welcome.

Screenshot, source, and installation instructions:
https://github.com/treetrum/koreader-stable-page-count

Latest release:
https://github.com/treetrum/koreader...eleases/latest

Installation is just a matter of extracting pagecount.koplugin into KOReader’s plugins directory and restarting KOReader.

Feedback and bug reports are welcome.
treetrum is offline   Reply With Quote
Old 08-18-2026, 10:43 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,559
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can you make it so KOReader uses the same page count as ADE/RMSDK?
JSWolf is online now   Reply With Quote
Advert
Old 08-18-2026, 06:49 PM   #3
treetrum
Junior Member
treetrum began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2026
Device: Kindle Paperwhite
Quote:
Originally Posted by JSWolf View Post
Can you make it so KOReader uses the same page count as ADE/RMSDK?
I think matching the total page count should be doable, but matching the exact page locations is a different story.

ADE counts pages from the compressed EPUB files, while KOReader counts characters, so even if both say 400 pages, page 100 might not be at the same spot.

There’s already an open KOReader issue about supporting the ADE algorithm properly: https://github.com/koreader/koreader/issues/14547

I could look into automatically calculating the ADE total and using that as the target.
treetrum is offline   Reply With Quote
Old 08-18-2026, 08:28 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,559
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Could this plugin replace the page count code in KOReader?
JSWolf is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add page count, word count and reading time ZodWallop Kobo Reader 4 08-12-2024 05:56 AM
Epub page count in koreader ? StephenQueen KOReader 4 01-21-2022 08:18 AM
Word Count and Page Count? CrossReach Library Management 2 07-19-2018 05:44 PM
Page Count jimbo54 Plugins 1 08-20-2013 04:21 PM
Anyone familiar with Kindle plugin page count? bfollowell Plugins 4 08-04-2011 02:17 PM


All times are GMT -4. The time now is 11:23 AM.


MobileRead.com is a privately owned, operated and funded community.