porthaven
A safe haven for every port on your machine. See every dev server, start whole stacks in dependency order, give each git branch its own port, and let coding agents do the same via MCP. macOS, Linux, Windows; zero dependencies
What XERJ indexed
Snapshot
The whole repository at commit b9a0e7b7c2 (2026-10-20). main is 13 commits ahead.
Selected work

“stacks, worktrees, workspaces, request inspector, exposure…”. 15 files, 545 lines in web, porthaven.
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-24. 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
clidashboarddev-serverdeveloper-toolsdevtoolslocalhostport-managerports
Example questions
- How does porthaven implement cli?
- What does web do in porthaven?
- Show the dashboard code in porthaven.
Inside the indexed corpus
- 75 files, 1002.2 KB in total, about 13.4 KB per file.
- The selected commit changed 15 of those files (20.0%).
- Languages by size: Python 46.8%, TypeScript 37.9%, CSS 7.2%, HTML 5.6%, JavaScript 2.1%.
- On GitHub since 2026-10-20, last push 2026-10-27, 32 commits on main.
- The pin is 13 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for KirtiJha/porthaven on 2026-10-31, and the LICENSE file at commit b9a0e7b7c2 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Kirti Nath Jha (@KirtiJha) has 1 selected repository on the hub.
Using XERJ with porthaven
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- 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 KirtiJha/porthaven at the pinned commit and indexes it on your machine.
Search the GitHub repository KirtiJha/porthaven with XERJ (https://hub.xerj.org/corpus/kirtijha--porthaven). 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/KirtiJha/porthaven porthaven && git -C porthaven checkout b9a0e7b7c2d1880abd53f4f05fa750c2337af226 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./porthaven --url http://127.0.0.1:9200 --prefix porthaven --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
Kirti Nath JhaAI, prompts and agents corporacorootharperreact-spectrumsantoshshinde2012/holdmapooospooky/herdr-port-labelsnanaaikinson/spool
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.