mole
SSH port forwarder for dev workflows: single connection, auto-discover, auto-reconnect
What XERJ indexed
Snapshot
The whole repository at commit 51bea09c03 (2026-10-23). main is 92 commits ahead.
Selected work

“mole doctor diagnoses config, SSH, push and split DNS”. 5 files, 1,047 lines in cmd/mole, landing.
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-23. 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
Example questions
- Where does mole handle “mole doctor diagnoses config, SSH, push and split DNS”?
- What does cmd/mole do in mole?
Inside the indexed corpus
- 117 files, 2.4 MB in total, about 20.9 KB per file.
- The selected commit changed 5 of those files (4.3%).
- Languages by size: Go 65.8%, TypeScript 12.7%, Java 7.7%, Astro 7.1%, Shell 2.8%.
- On GitHub since 2026-06-29, last push 2026-10-28, 181 commits on main.
- The pin is 92 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for Luqueee/mole on 2026-10-31, and the LICENSE file at commit 51bea09c03 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Adrià Cabrera (@Luqueee) has 1 selected repository on the hub.
Using XERJ with mole
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- 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 Luqueee/mole at the pinned commit and indexes it on your machine.
Search the GitHub repository Luqueee/mole with XERJ (https://hub.xerj.org/corpus/luqueee--mole). 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/Luqueee/mole mole && git -C mole checkout 51bea09c033318b54740d2661a4e4223b6458df2 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./mole --url http://127.0.0.1:9200 --prefix mole --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
Adrià CabreraAPI 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.