openlibrary

One webpage for every book ever published!

A new way for AI to search for data
View on GitHub
6,983GitHub stars

JavaScript, Python

What XERJ indexed

Snapshot

Whole repository

Only openlibrary/i18n, openlibrary/plugins/openlibrary/js, openlibrary/plugins/upstream, openlibrary/templates, static/css, static/icons, tests/unit/js at commit da0265837c (2026-10-09).

Selected work

“split import/export UI and routes (#13774)”. 12 files, 493 lines in openlibrary, static.

Also selected on this repository: @iamshravanijadhav (88b03b5bfce0).

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

internet-archiveopen-sourcebookslibrary-cataloguehacktoberfest

Example questions

The prompt

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

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

Selected work and consent: the XERJ registry.