bookokrat

A terminal EPUB / PDF Book Reader (+djvu)

A new way for AI to search for data
View on GitHub
1,264GitHub stars
706commits on main
76forks
v0.3.14latest release, 2026-10-17

Rust 93.6%, Shell 2.9%, Python 2.1%, Tape 1.3% · created 2025-10-28 · last push 2026-10-21

What XERJ indexed

Snapshot

357 files · 43.8 MB

Only src, tests at commit 4f8efc1a4f (2026-10-09). main is 21 commits ahead.

Selected work

BioWare
@BioWare

“Add optional inline annotation visibility and peek”. 12 files, 1,204 lines in src/widget, tests, src.

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-13. 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

epub-readerrusttuitui-rsdjvuepubpdf

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

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

Contributors

BioWare (@BioWare) has 1 selected repository on the hub.

Using XERJ with bookokrat

The prompt

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

Search the GitHub repository bugzmanov/bookokrat with XERJ (https://hub.xerj.org/corpus/bugzmanov--bookokrat).
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/bugzmanov/bookokrat bookokrat && git -C bookokrat checkout 4f8efc1a4f91e647546ea5b547464a3fb3b273b1
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./bookokrat --url http://127.0.0.1:9200 --prefix bookokrat --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.