air-gap
Send UDP messages over a one-way diode with detection of lost packages, encryption, and a way to resend lost messages. air-gap is written in go and can be freely used. For commercial use, I would appreciate a donation so I can spend more time making the software better
What XERJ indexed
Snapshot
The whole repository at commit 84cee3c20b (2026-10-14). main is 34 commits ahead.
Selected work

“Upstream Large-Message Memory Safety”. 33 files, 4,892 lines in src/upstream, tests, config.
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-15. 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 air-gap handle “Upstream Large-Message Memory Safety”?
- What does src/upstream do in air-gap?
Inside the indexed corpus
- 622 files, 3.6 MB in total, about 5.9 KB per file.
- The selected commit changed 33 of those files (5.3%).
- Languages by size: Go 82%, Java 13.7%, Shell 2.5%, Makefile 0.9%, Python 0.8%.
- On GitHub since 2024-05-02, last push 2026-10-30, 210 commits on main.
- The pin is 34 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported LGPL-2.1 for anders-wartoft/air-gap on 2026-10-31, and the LICENSE file at commit 84cee3c20b was reviewed as LGPL-2.1. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Anders Wartoft (@anders-wartoft) has 1 selected repository on the hub.
Using XERJ with air-gap
- Ask questions about a GitHub repo without cloning it
- 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 anders-wartoft/air-gap at the pinned commit and indexes it on your machine.
Search the GitHub repository anders-wartoft/air-gap with XERJ (https://hub.xerj.org/corpus/anders-wartoft--air-gap). 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/anders-wartoft/air-gap air-gap && git -C air-gap checkout 84cee3c20b62e77bd985705acab443706fc48b4d 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./air-gap --url http://127.0.0.1:9200 --prefix air-gap --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-2.1. Read it for the approach only, do not copy code.
Related
Anders WartoftCryptography, TLS and secrets corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.