What XERJ indexed
Snapshot
The whole repository at commit b7da19ec2e (2026-10-05). dev is 5 commits ahead.
Selected work

“Implement synchronized Docker publishing to Hub and GHCR”. 3 files, 196 lines in the project root.
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-06. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
randomgeneratornumberpasswordpassword-generatorphpprime-numbersqrcode-generator
Example questions
- How does php-rand implement random?
- Where does php-rand handle “Implement synchronized Docker publishing to Hub and GHCR”?
- Show the generator code in php-rand.
Inside the indexed corpus
- 295 files, 55.4 MB in total, about 192.2 KB per file.
- The selected commit changed 3 of those files (1.0%).
- Languages by size: PHP 71.3%, JavaScript 19.5%, Shell 3%, Hack 2.5%, CSS 2.5%.
- On GitHub since 2018-08-16, last push 2026-10-27, 549 commits on dev.
- The pin is 5 commits behind dev; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for Darknetzz/php-rand on 2026-10-31, and the LICENSE file at commit b7da19ec2e was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Kristian Røste (@Darknetzz) has 1 selected repository on the hub.
Using XERJ with php-rand
- Audit a PHP codebase with an index, not grep PHP is 71.3% of the code by size.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- 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 Darknetzz/php-rand at the pinned commit and indexes it on your machine.
Search the GitHub repository Darknetzz/php-rand with XERJ (https://hub.xerj.org/corpus/darknetzz--php-rand). 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/Darknetzz/php-rand php-rand && git -C php-rand checkout b7da19ec2ec8cacd5cb18674f8b4671f01d78463 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./php-rand --url http://127.0.0.1:9200 --prefix php-rand --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: MIT. Keep the copyright notice and credit the authors.
Related
Kristian RøsteAPI design and specification corporaavrocss-treexobotyi--cc-foundry-phpdevrabiul/laravel-cookie-consenthatemsweileh/planviodtr-kalfer/burauenbiblio
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.