mdoc

Local app that converts PDFs, scans and Word files to Markdown and replaces client names with aliases before you paste into ChatGPT or Claude. Nothing is uploaded

A new way for AI to search for data
View on GitHub
3GitHub stars
569commits on main
0forks
v0.2.1latest release, 2026-10-27

Rust 77.1%, HTML 13.4%, Swift 6.7%, Shell 1.9% · created 2026-09-18 · last push 2026-10-31

What XERJ indexed

Snapshot

634 files · 28.7 MB

Only crates/mdoc-editor/src, docs, src at commit 172e68bcc8 (2026-10-22). main is 239 commits ahead.

Selected work

Tebriz Tagiev
@tebriz91

“reach case actions and keep dialog focus”. 5 files, 234 lines in src, crates/mdoc-editor.

Licence

The repository

GPL-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-10-25. 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

desktop-appgpuilegalmarkdownocrpseudonymizationrust

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported GPL-3.0 for lawkitt/mdoc on 2026-10-31, and the LICENSE file at commit 172e68bcc8 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Tebriz Tagiev (@tebriz91) has 1 selected repository on the hub.

Using XERJ with mdoc

The prompt

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

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

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.