zim-tools

Various ZIM command line tools

A new way for AI to search for data
View on GitHub
223GitHub stars
1,157commits on main
61forks
3.8.0latest release, 2026-08-13

C++ 95.1%, Meson 1.7%, Python 1.1%, Shell 1% · created 2017-04-08 · last push 2026-10-19

What XERJ indexed

Snapshot

89 files · 688.6 KB

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

Selected work

Nidhi Gahlawat
@Nidhi-Gahlawat

“Check MIME types against filename extensions”. 5 files, 209 lines in test, src/zimcheck, debian.

Licence

The repository

GPL-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-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

Inside the indexed corpus

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

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

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