doction

Self-hosted, markdown-first wiki and knowledge base for humans and AI agents: REST API, native MCP server, local semantic search, per-page…

A new way for AI to search for data
View on GitHub
1GitHub stars

JavaScript, Python

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit c332999d57 (2026-10-15).

Selected work

Danilo
@dny1020

“content search in ⌘K, inline inbox capture and menu a11y (…”. 12 files, 437 lines in frontend, app, app/static.

Licence

The repository

AGPL-3.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-11-11. 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

apigitmcpsemantic-search

Example questions

The prompt

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

Search the GitHub repository dny1020/doction with XERJ (https://hub.xerj.org/corpus/dny1020--doction).
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/dny1020/doction doction && git -C doction checkout c332999d57a74a256518039638865db73e2b784a
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./doction --url http://127.0.0.1:9200 --prefix doction --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: AGPL-3.0. Read it for the approach only, do not copy code.

Related

Selected work and consent: the XERJ registry.