payload_extract

sekaiacg/payload_extract (C++)

A new way for AI to search for data
View on GitHub
47GitHub stars
90commits on main
10forks
v1.3.2-260817latest release, 2026-08-17

C++ 77.3%, CMake 14%, C 4.9%, Shell 3.9% · created 2025-05-13 · last push 2026-10-31

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit e47b940572 (2026-10-26).

Selected work

SK
@sekaiacg

“Replace mmap with pread/pwrite to reduce memory usage”. 27 files, 724 lines in src/lib, src/payload_extract.

Licence

The repository

GPL-2.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-28. 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

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported GPL-2.0 for sekaiacg/payload_extract on 2026-10-31, and the LICENSE file at commit e47b940572 was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

SK (@sekaiacg) has 1 selected repository on the hub.

Using XERJ with payload_extract

The prompt

Paste it into your AI agent. It clones sekaiacg/payload_extract at the pinned commit and indexes it on your machine.

Search the GitHub repository sekaiacg/payload_extract with XERJ (https://hub.xerj.org/corpus/sekaiacg--payload-extract).
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/sekaiacg/payload_extract payload_extract && git -C payload_extract checkout e47b94057222c949ed7ab8e245ca6016711f953f
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./payload_extract --url http://127.0.0.1:9200 --prefix payload-extract --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

Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.