CppGameLib
C++ game library for creating simple real-time 2D games
What XERJ indexed
Snapshot
The whole repository at commit cdbe96907a (2026-10-18). main is 10 commits ahead.
Selected work

“add tests for cooperative multitasking and buffering functionality”. 8 files, 336 lines in Tests, multitasking, buffering.
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
Example questions
- Where does CppGameLib handle “add tests for cooperative multitasking and buffering functionality”?
- What does multitasking do in CppGameLib?
Inside the indexed corpus
- 377 files, 906.4 KB in total, about 2.4 KB per file.
- The selected commit changed 8 of those files (2.1%).
- Languages by size: C++ 97%, CMake 2.4%, C 0.6%.
- On GitHub since 2020-12-20, last push 2026-10-31, 532 commits on main.
- The pin is 10 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-2.0 for stumathews/CppGameLib on 2026-10-31, and the LICENSE file at commit cdbe96907a was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Stuart Mathews (@stumathews) has 1 selected repository on the hub.
Using XERJ with CppGameLib
- 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)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones stumathews/CppGameLib at the pinned commit and indexes it on your machine.
Search the GitHub repository stumathews/CppGameLib with XERJ (https://hub.xerj.org/corpus/stumathews--cppgamelib). 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/stumathews/CppGameLib CppGameLib && git -C CppGameLib checkout cdbe96907a47c476a59c26b0bae1201b80e529dd 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./CppGameLib --url http://127.0.0.1:9200 --prefix cppgamelib --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-2.0. Read it for the approach only, do not copy code.
Related
Stuart MathewsAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.