What XERJ indexed
Snapshot
Only debian/man, src/zimcheck, test at commit 6a7a8c7f50 (2026-10-17). main is 2 commits ahead.
Selected work

“Check MIME types against filename extensions”. 5 files, 209 lines in test, src/zimcheck, debian.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-19. 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
zimcommand-line-tool
Example questions
- How does zim-tools implement zim?
- Where does zim-tools handle “Check MIME types against filename extensions”?
- What does src/zimcheck do in zim-tools?
Inside the indexed corpus
- 89 files, 688.6 KB in total, about 7.7 KB per file.
- The selected commit changed 5 of those files (5.6%).
- Languages by size: C++ 95.1%, Meson 1.7%, Python 1.1%, Shell 1%, HTML 0.6%.
- On GitHub since 2017-04-08, last push 2026-10-19, 1,157 commits on main.
- The pin is 2 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for openzim/zim-tools on 2026-10-31, and the LICENSE file at commit 6a7a8c7f50 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Nidhi Gahlawat (@Nidhi-Gahlawat) has 1 selected repository on the hub.
Using XERJ with zim-tools
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones openzim/zim-tools at the pinned commit and indexes it on your machine.
Search the GitHub repository openzim/zim-tools with XERJ (https://hub.xerj.org/corpus/openzim--zim-tools). 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/openzim/zim-tools zim-tools && git -C zim-tools checkout 6a7a8c7f50980d983dc65091bedcee00b9f9a7bb 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./zim-tools --url http://127.0.0.1:9200 --prefix zim-tools --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: GPL-3.0. Read it for the approach only, do not copy code.
Related
Nidhi GahlawatAPI design and specification corporajestenough/pcdfaratech/trashdamrhasanain/duckpilot
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.