DocCraft

Convert PDFs, images & screenshots to Markdown or Excel locally. Features millisecond-level text extraction, fully offline OCR (zero data leakage), visual draw-a-table, smart layout analysis, and batch processing

A new way for AI to search for data
View on GitHub
4GitHub stars
118commits on main
0forks
v0.3.4latest release, 2026-10-28

TypeScript 45.2%, Rust 36.3%, C++ 15.4%, Python 1% · created 2026-08-13 · last push 2026-10-26

What XERJ indexed

Snapshot

194 files · 79.9 MB

The whole repository at commit 1ba9923f7b (2026-10-10). main is 12 commits ahead.

Selected work

Sen
@tansen87

“settle manual checks before reporting, animate the check…”. 3 files, 236 lines in src/components, src/views, src-tauri.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-18. 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

line-extractionimage-to-markdownmarkdown-to-excelocrpdf-to-markdown

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for tansen87/DocCraft on 2026-10-31, and the LICENSE file at commit 1ba9923f7b was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Sen (@tansen87) has 1 selected repository on the hub.

Using XERJ with DocCraft

The prompt

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

Search the GitHub repository tansen87/DocCraft with XERJ (https://hub.xerj.org/corpus/tansen87--doccraft).
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/tansen87/DocCraft DocCraft && git -C DocCraft checkout 1ba9923f7bf6a0eb89f287b6853fe5c82c78710b
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./DocCraft --url http://127.0.0.1:9200 --prefix doccraft --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

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