What XERJ indexed
Snapshot
The whole repository at commit a614178d70 (2026-10-11). main is 6 commits ahead.
Selected work

“Magic: API CHANGE - Return FlagsMaskT from GetFlags().”. 6 files, 344 lines in tests, sources, include.
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-20. 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
cpluspluslibmagicmagiccross-platformlibmagicxx
Example questions
- How does libmagicxx implement cplusplus?
- Where does libmagicxx handle “Magic: API CHANGE - Return FlagsMaskT from GetFlags().”?
- What does sources do in libmagicxx?
Inside the indexed corpus
- Languages by size: C++ 84.4%, CMake 9.3%, Shell 3.3%, Python 2.3%, Dockerfile 0.7%.
- On GitHub since 2024-01-03, last push 2026-10-25, 646 commits on main.
- The pin is 6 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported LGPL-3.0 for oguztoraman/libmagicxx on 2026-10-31, and the LICENSE file at commit a614178d70 was reviewed as LGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Oğuz Toraman (@oguztoraman) has 1 selected repository on the hub.
Using XERJ with libmagicxx
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones oguztoraman/libmagicxx at the pinned commit and indexes it on your machine.
Search the GitHub repository oguztoraman/libmagicxx with XERJ (https://hub.xerj.org/corpus/oguztoraman--libmagicxx). 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/oguztoraman/libmagicxx libmagicxx && git -C libmagicxx checkout a614178d70396e3fd7a76c723bd15a601675a914 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./libmagicxx --url http://127.0.0.1:9200 --prefix libmagicxx --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: LGPL-3.0. Read it for the approach only, do not copy code.
Related
Oğuz ToramanAPI design and specification corporathriftflatbufferscozoCubicLM/CubicLMkmansoft/srtcpolarours/Cppuccino
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.