r/koreader • • 3d ago

Plugins Character Tracker plugin: a fork with notes-vault sync, alias linking, whole-word matching and a lighter underline

I've been using Shac0x's Character Tracker plugin to keep track of who's who in long novels, and ended up adding the things I missed. The original repo hasn't been active since April, so the changes are open as pull requests there and also released in my fork:

https://github.com/phobo3s/charactertracker.koplugin/releases/latest

What's new compared to the original

  • Character button in the dictionary popup. Long-press a single name and tap Character. A known name opens its card; an unknown one offers "New character" or "Add as alias of…", so nicknames take two taps.
  • Whole-word matching. "Tom" no longer underlines "Tomorrow". Possessive suffixes still match ("Holmes's").
  • Overlapping names. "Yang" no longer steals taps on "Yang Dong"; the longer name wins, and if two characters share a name, a tap asks which one you mean.
  • Lighter underline. Thin gray, or only under the first mention of each character on the page (screenshot). Every mention can still be tapped.
  • Cached name index. Books with many characters open without re-indexing; only new names are searched.
  • Export / import. Characters are written to a JSON file next to KOReader's own annotation export, so you can sync them with git or Syncthing and edit them on a PC. Edits are merged back; the newer version of each character wins.
  • Sidecar storage. Characters live in the book's .sdr folder and move with the book.
  • Translations. Follows KOReader's UI language. Turkish is included, and a new language is a single PO file, no code needed.

Screenshots: underline · character card

Install: download the zip from the release, unzip it into koreader/plugins/ (replace the old charactertracker.koplugin folder if you have one) and restart. Characters saved by the original plugin are kept.

Tested on an Onyx device with KOReader 2026.07. I'd love to hear how it works on Kobo and Kindle. All credit for the plugin itself goes to Shac0x. Feedback and bug reports welcome here or as GitHub issues.

I built these changes with the help of Claude Code.

18 Upvotes

2 comments sorted by

2

u/riciogarcia 2d ago

Just this week I had to go back to search a character whom I thought was a secondary one now coming to be a primary one and I forgot some things... This plugin sound incredible, thanks a lot mate, will give it a try

1

u/phobo3s 4h ago

Thanks a lot! That exact situation is what made me want this: a "minor" character comes back 300 pages later and you can't remember who they were. A tip for that case: tap the character, then Role, and move them from Secondary to Main. A one-line note each time they show up helps a lot later.
Since the post I also added a family tree (v1.2), which helps with books where half the cast is related somehow. If you run into anything odd, let me know here or open an issue on GitHub. Happy reading!