Bookends for KOReader adds reading overlays and presets
KOReader plugin for configurable text overlays — tokens, icons, per-line styling, presets
At a glance
- What is it?
- Bookends lets KOReader readers position page counts, chapter details and other reading information, then choose a layout by file type.
- Who is it for?
- Bookends suits KOReader readers who want to place progress or chapter details outside the standard footer. The built-in status bar is sufficient for readers who prefer one compact footer.
- Can I use it commercially?
- Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
- Is it still maintained?
- Yes. The repository last received commits 42 days ago.
- What is it written in?
- Mainly Lua, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on October 20, 2026, and from our analysis. They are not legal advice.
Editorial analysis
Choosing what to show on the reading screen
Bookends is a Lua plugin for KOReader that puts configurable text over the reading screen. A reader might want the chapter title at the top and a page count at the bottom, with the rest of the screen available for the book. The plugin gives each of six positions its own set of lines. That makes placement and content separate decisions. You can keep the page count where you expect it while revising a second line to show chapter progress during a longer reading session.
KOReader's built-in status bar is an alternative if the information you want fits in the footer. The Bookends README maps stock footer items to equivalent tokens. The useful distinction is where the information appears and how it is assembled. The standard footer groups features in one place. Bookends lets a reader move individual pieces out to the corners or put them on separate lines.
Installing the plugin and saving a first line
Open the [release page](https://github.com/AndyHazz/bookends.koplugin/releases) and download the release ZIP. Extract the `bookends.koplugin/` folder into the KOReader plugins directory, then restart KOReader. For a Kobo, the resulting folder should be `/mnt/onboard/.adds/koreader/plugins/bookends.koplugin/`. The installation section of the README lists different locations for Kindle and Android, so use the path for the device that actually runs KOReader.
Open a book and find Bookends in the typeset or document menu, under the style icon. In Bookends settings, enable Bookends. Select Bottom-center, then Add line. Use the Tokens picker to insert the current page number and the total page count with a short separator between them. The editor provides a live preview of the line before saving. After selecting Save, the overlay should appear on the reading screen. Open a second book to see how the same line looks with a different page count. The extra digits in a long book matter when the line shares an edge with other information.
How Bookends assembles each line
The format string for a line can combine literal text with named tokens for values such as a document title, chapter information, or progress. The editor expands these placeholders in its preview, which is useful when choosing how to join values on a narrow screen. For a small display, a compact progress line leaves more room for the book. A chapter heading may benefit from a separate line because its length changes with the table of contents.
The README also describes conditional display. Its chapter time recipe renders an hours field only while the hours value is positive. That lets a long reading estimate and a short one use the same template without reserving a permanent hours label. The token reference distinguishes the deepest chapter title from a title at a chosen table of contents depth. If the same line will be used across several books, check titles from books with different contents structures in the preview.
Previewing and editing a Bookends preset
The preset library has separate views for local presets and the upstream community gallery. In the local view, selecting a row previews its overlay. Apply keeps it, and Close restores what was visible before the preview. A star adds the preset to the gesture cycle. There is also a virtual No overlay entry, so the cycle can include a step with a clear screen.
The README says subsequent overlay edits save back to the active preset file. That is convenient for small changes you want to keep, such as moving a line away from a dense corner. To try a replacement layout while keeping the existing one handy, duplicate the preset from its row menu before editing it. Gallery presets have a separate Install action that saves the selected preset locally. The local list is where you can then maintain your own layouts.
Switching layouts between books and comics
A file type rule can select a preset or hide Bookends when a matching file opens. For example, keep a text overlay on EPUB books and set CBZ to Hidden so the corners of comic panels stay clear. The rule matches the extension, so two CBZ files share that choice even when their page layouts differ. A reader who wants different overlays for two files with the same extension can choose a layout manually.
Bookends remembers the manually selected preset separately from the preset chosen by a rule. When you open a file type without a rule, the manual selection returns. This matters if an illustrated book uses a compact layout while a novel uses a chapter line. The compact setting need only apply to the extension you assigned it to.
Bookends updates and device compatibility
The upstream release reviewed here is [v5.31.0](https://github.com/AndyHazz/bookends.koplugin/releases/tag/v5.31.0). The plugin documents an in-app Check for updates option. Its preset folder shortcut requires a KOReader build with folder shortcuts. On older builds, the shortcut entry is absent, so its absence alone does not indicate a failed Bookends installation.
The README says older one-letter tokens can still be read. Opening a preset with these tokens in the editor converts them to the descriptive names, which helps explain why the displayed template may differ from an old copy. The repository ships the [GNU Affero General Public License version 3](https://github.com/AndyHazz/bookends.koplugin/blob/v5.31.0/LICENSE). Read the license if you plan to distribute a modified build.
Editorial conclusion
Bookends suits KOReader readers who want to place progress or chapter details outside the standard footer. The built-in status bar is sufficient for readers who prefer one compact footer. Start by saving a single Bottom-center page count and checking how it fits on both a text-heavy page and an illustrated page.
Frequently asked questions
Can Bookends hide its overlay for CBZ files?
Yes. Add a rule for CBZ and select Hidden in the Bookends file type settings.
How do I undo a Bookends preset preview?
Select Close in the preset library to restore the previous overlay.
Should I restart KOReader after installing Bookends?
Yes. The installation instructions specify restarting KOReader after extracting the plugin.