koreader

An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

A new way for AI to search for data
View on GitHub
30,771GitHub stars
12,246commits on master
2,010forks
v2026.07.1latest release, 2026-08-01

Lua 97.1%, Shell 2.4%, Python 0.2%, Makefile 0.2% · created 2013-03-24 · last push 2026-10-31

What XERJ indexed

Snapshot

959 files · 20.3 MB

Only plugins/opds.koplugin, spec/unit at commit caf5e93f5a (2026-09-28). master is 105 commits ahead.

Selected work

“OPDS: cache parent, don't call updateCatalog when going back up”. 3 files, 244 lines in plugins, spec.

Licence

The repository

AGPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-06. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

luajitkobokindleeinkereaderebookpdf-reflowpdf

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported AGPL-3.0 for koreader/koreader on 2026-10-31, and the LICENSE file at commit caf5e93f5a was reviewed as AGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Frans de Jonge (@Frenzie) has 1 selected repository on the hub.

Using XERJ with koreader

The prompt

Paste it into your AI agent. It clones koreader/koreader at the pinned commit and indexes it on your machine.

Search the GitHub repository koreader/koreader with XERJ (https://hub.xerj.org/corpus/koreader--koreader).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/koreader/koreader koreader && git -C koreader checkout caf5e93f5a632e8d8c03af6452fa64a399a936da
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./koreader --url http://127.0.0.1:9200 --prefix koreader --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: AGPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.