Metadata-Version: 2.5
Name: opendockit
Version: 0.4.0
Summary: Convert PDF, Office, HWP/HWPX, OpenDocument, RTF, EPUB, HTML, email and images into clean, LLM-ready Markdown.
Project-URL: Homepage, https://github.com/hyeonsang010716/OpenDocKit
Project-URL: Documentation, https://github.com/hyeonsang010716/OpenDocKit/tree/main/docs
Project-URL: Issues, https://github.com/hyeonsang010716/OpenDocKit/issues
Project-URL: Changelog, https://github.com/hyeonsang010716/OpenDocKit/blob/main/CHANGELOG.md
Author: OpenDocKit contributors
License-Expression: MIT
License-File: LICENSE
Keywords: doc,document-conversion,docx,email,epub,html,hwp,hwpx,langchain,llama-index,llm,markdown,mcp,odp,ods,odt,open-webui,opendocument,pdf,ppt,pptx,rag,rtf,xlsx
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Office/Business :: Office Suites
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: beautifulsoup4!=4.14.0,>=4.13
Requires-Dist: charset-normalizer>=3.5
Requires-Dist: html5lib>=1.1; sys_platform == 'win32'
Requires-Dist: lxml>=6.0
Requires-Dist: olefile>=0.47
Requires-Dist: openpyxl>=3.1.4
Requires-Dist: pdfminer-six>=20251230
Requires-Dist: pdfplumber>=0.11.9
Requires-Dist: pillow>=11.3
Requires-Dist: pypdfium2>=4.30
Requires-Dist: python-docx>=1.1
Requires-Dist: python-pptx>=1.0
Requires-Dist: xlrd>=2.0.1
Provides-Extra: anthropic
Requires-Dist: anthropic>=1.0; extra == 'anthropic'
Provides-Extra: gemini
Requires-Dist: google-genai>=1.30; extra == 'gemini'
Provides-Extra: heic
Requires-Dist: pillow-heif>=0.16; extra == 'heic'
Provides-Extra: langchain
Requires-Dist: langchain-core>=1.0; extra == 'langchain'
Provides-Extra: lightrag
Requires-Dist: lightrag-hku>=1.5.8; extra == 'lightrag'
Provides-Extra: llamaindex
Requires-Dist: llama-index-core>=0.14; extra == 'llamaindex'
Provides-Extra: mcp
Requires-Dist: mcp>=2.0; extra == 'mcp'
Provides-Extra: open-webui
Requires-Dist: starlette>=0.49.1; extra == 'open-webui'
Requires-Dist: uvicorn>=0.31.1; extra == 'open-webui'
Provides-Extra: openai
Requires-Dist: httpx>=0.27; extra == 'openai'
Requires-Dist: langchain-core>=1.0; extra == 'openai'
Requires-Dist: langchain-openai>=1.0; extra == 'openai'
Description-Content-Type: text/markdown

<h1 align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hyeonsang010716/OpenDocKit/main/docs/assets/banner-dark.png">
    <img src="https://raw.githubusercontent.com/hyeonsang010716/OpenDocKit/main/docs/assets/banner-light.png" alt="OpenDocKit" width="880">
  </picture>
</h1>

<p align="center">
  <b>Turn any document into clean, LLM-ready Markdown.</b><br>
  PDF · DOCX · PPTX · XLSX · HWP/HWPX · ODF · RTF · EPUB · HTML · email · images<br>
  One Python function. No GPU, no model to download, MIT licensed.<br>
  Pictures and scans read by OpenAI, Claude or Gemini · LangChain · LlamaIndex · LightRAG · MCP · Dify · Open WebUI
</p>

<p align="center">
  <a href="https://pypi.org/project/opendockit/"><img alt="PyPI" src="https://img.shields.io/pypi/v/opendockit"></a>
  <a href="https://pypi.org/project/opendockit/"><img alt="Python" src="https://img.shields.io/pypi/pyversions/opendockit"></a>
  <a href="https://github.com/hyeonsang010716/OpenDocKit/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/hyeonsang010716/OpenDocKit/actions/workflows/ci.yml/badge.svg"></a>
  <a href="https://github.com/hyeonsang010716/OpenDocKit/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue"></a>
  <a href="https://github.com/NousResearch/hermes-agent/blob/main/plugin-catalog/opendockit.yaml"><img alt="Hermes Agent plugin catalog" src="https://img.shields.io/badge/Hermes%20Agent-plugin%20catalog-6e56cf"></a>
  <a href="https://marketplace.dify.ai/plugin/hyeonsang010716/opendockit"><img alt="Dify Marketplace" src="https://img.shields.io/badge/Dify-Marketplace-155eef"></a>
</p>

<p align="center">
  <b>English</b> ·
  <a href="https://github.com/hyeonsang010716/OpenDocKit/blob/main/README.ko.md">한국어</a> ·
  <a href="https://github.com/hyeonsang010716/OpenDocKit/blob/main/README.zh-CN.md">简体中文</a>
</p>

---

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hyeonsang010716/OpenDocKit/main/docs/assets/demo-dark.gif">
    <img src="https://raw.githubusercontent.com/hyeonsang010716/OpenDocKit/main/docs/assets/demo-light.gif" alt="A Korean HWP report, an Excel sheet and a PDF page turn into Markdown: merged cells are repeated per row, numbers appear as the sheet shows them, and a table without borders is still a table" width="880">
  </picture>
</p>

```python
from opendockit import convert_file

result = convert_file("quarterly-report.hwp")

result.text        # Markdown: headings, tables, lists, footnotes, LaTeX equations
result.sections    # per page / slide / sheet — for chunking and citations ("page 3")
result.warnings    # what was skipped or approximated, in plain sentences
```

## Why OpenDocKit

Most converters handle the happy path. OpenDocKit is built for the files people actually upload.

- **Structure is kept.** Merged table cells, multi-column PDFs, borderless tables, nested lists, footnotes,
  speaker notes, native charts as data tables, SmartArt as nested lists, Word / PowerPoint / Hancom equations as LaTeX,
  links and bold / italic as Markdown.
- **First-class Korean documents.** A from-scratch HWP 5.x parser, HWPX, CP949 detection, NFC normalization, and the
  form-heavy tables Korean offices produce. Most general-purpose converters cannot read these at all.
- **Detects by content, not extension.** An HTML table saved as `.xls`, a CSV with a title block, an MHTML page named
  `.doc`: each is read as what it really is, and a warning tells you.
- **Safe on untrusted uploads.** Zip bombs, runaway merged-cell counts, recursive PDF objects and multi-gigabyte images
  are bounded. `IsolatedConverter` runs every file in a disposable worker process with memory and time limits.
- **Pictures read by the model you choose.** Pictures, charts and scanned pages are extracted and filtered. Plug in
  OpenAI, Claude or Gemini and each one is described, or only transcribed, right where it appeared in the document.
- **A hard character budget.** `max_chars` *stops* work instead of truncating afterwards, so a file that will be
  rejected anyway costs neither parsing time nor vision-model calls.
- **At home in Python.** One `pip install` and one function. There are loaders for LangChain, LlamaIndex and
  LightRAG, an MCP server for agents, a document loader for Open WebUI, and plugins for Dify, Hermes Agent and Claude
  Code.
- **Permissive by default.** MIT licensed; everything a plain `pip install opendockit` brings in is MIT / BSD /
  Apache-style (no PyMuPDF, no pyhwp), with no ML models and no GPU. The only copyleft code is behind the opt-in
  `heic` extra.

The numbers behind these claims, and the places where OpenDocKit loses, are in [How it compares](#how-it-compares).

## Installation

```bash
pip install opendockit                # conversion only — never touches the network
pip install "opendockit[openai]"      # + image description with a vision model (OpenAI)
pip install "opendockit[anthropic]"   # + the same with Anthropic's Claude
pip install "opendockit[gemini]"      # + the same with Google's Gemini
pip install "opendockit[heic]"        # + HEIC/HEIF images (pulls in GPL/LGPL-licensed codec libraries)
pip install "opendockit[langchain]"   # + LangChain loader
pip install "opendockit[llamaindex]"  # + LlamaIndex reader
pip install "opendockit[lightrag]"    # + LightRAG parser engine
pip install "opendockit[mcp]"         # + MCP server for agents
pip install "opendockit[open-webui]"  # + document loader for Open WebUI
```

Requires Python 3.12 or newer on Linux, macOS or Windows. On Windows a malformed HTML page or mail body over 256 K
characters, or one nested very deeply, is read by an older parser and may lose content, with a warning
([why](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/limitations.md#platforms)).

On Windows on Arm with an Arm64 Python, with a 32-bit Python on Windows and on an Intel Mac, install with
`pip install --prefer-binary opendockit`. The newest releases of cryptography, which the PDF reader needs, have no wheel
for these, and pip would build it from source, which needs Rust and a C toolchain
([details](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/limitations.md#platforms)).

Optional: install [LibreOffice](https://www.libreoffice.org/) (`brew install --cask libreoffice`, `apt install libreoffice`,
`winget install TheDocumentFoundation.LibreOffice`) to read legacy `.doc` and `.ppt` files. Every other format is read by
OpenDocKit itself.

## Quick start

### Convert

```python
from opendockit import convert, convert_file

result = convert_file("report.pdf")              # from a path
result = convert(data, "report.pdf")             # from bytes (the filename is only a hint)

print(result.text)
print(result.char_count, result.exceeded)        # size of the output, and whether the limit stopped it
```

`convert` is synchronous, offline and deterministic (the one exception: `.doc` and `.ppt` start a local LibreOffice
process). Pictures are collected in `result.images` and the text keeps an
`[Image]` placeholder where each one was.

### Describe images with a vision model

```python
from opendockit import AnthropicImageDescriber, GeminiImageDescriber, OpenAIImageDescriber, aconvert

result = await aconvert(data, "report.pdf", describer=OpenAIImageDescriber())      # reads OPENAI_API_KEY
result = await aconvert(data, "report.pdf", describer=AnthropicImageDescriber())   # reads ANTHROPIC_API_KEY
result = await aconvert(data, "report.pdf", describer=GeminiImageDescriber())      # reads GEMINI_API_KEY
```

Charts become data tables, diagrams become lists, scanned pages are transcribed, and decorative images are dropped.
The three do the same work with GPT, Claude and Gemini; install the extra of the one you use, and
`image_describer("gemini")` picks one by name. With `transcribe=True` any of them reads only the text in a picture,
with no summary added.
`OpenAIImageDescriber(model)` accepts any LangChain chat model, and anything with an
`async describe(image) -> str` method works as a describer. See [docs/images.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/images.md).

### Serve it

```python
from opendockit import ConversionError, IsolatedConverter

async with IsolatedConverter(workers=2) as converter:      # 2 GB and 2 minutes per file by default
    try:
        result = await converter.convert(data, filename)
    except ConversionError as exc:
        print(exc.code, exc)                               # stable code + a message safe to show users
```

One bad file ends one worker; your server and the next upload carry on. In a script, run this under
`if __name__ == "__main__":`, because the workers import the main module again. See [docs/server.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/server.md).

### Command line

```bash
opendockit report.pdf                 # Markdown on stdout, warnings on stderr
opendockit report.pdf --json          # sections, metadata, warnings, images
opendockit report.pdf --count         # just the character count
opendockit report.pdf -o report.md    # write it to a file instead (UTF-8; use it in Windows PowerShell)
opendockit scan.pdf --describe        # describe images with a vision model (uses OPENAI_API_KEY)
opendockit scan.pdf --describe --provider gemini   # or anthropic: Gemini (GEMINI_API_KEY), Claude (ANTHROPIC_API_KEY)
opendockit scan.pdf --transcribe      # only the text in the images, no description (takes --provider too)
```

### LangChain, LlamaIndex and MCP

```python
from opendockit.integrations.langchain import OpenDocKitLoader
from opendockit.integrations.llama_index import OpenDocKitReader

docs = OpenDocKitLoader("report.pdf", mode="sections").load()       # one Document per page / slide / sheet
docs = OpenDocKitReader(mode="sections").load_data("report.pdf")
```

```bash
opendockit-mcp --root ~/Documents     # MCP server: Claude, Cursor and other agents read your documents as Markdown
```

To let the client start the server itself, with nothing installed beforehand, add it to the client's MCP settings:

```json
{
  "mcpServers": {
    "opendockit": {
      "command": "uvx",
      "args": ["--no-build-package", "cryptography", "opendockit-mcp", "--root", "/path/to/documents"]
    }
  }
}
```

With `mode="sections"` each page, slide or sheet is its own Document, with its number in the metadata for citations. See [docs/integrations.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integrations.md).

[![hyeonsang010716/OpenDocKit MCP server](https://glama.ai/mcp/servers/hyeonsang010716/OpenDocKit/badges/score.svg)](https://glama.ai/mcp/servers/hyeonsang010716/OpenDocKit)

### LightRAG

[LightRAG](https://github.com/HKUDS/LightRAG) finds the parser engine `opendockit` by itself once both are installed;
no code is needed. A routing rule says which documents it reads:

```bash
pip install "opendockit[lightrag]"
export LIGHTRAG_PARSER="hwp:opendockit,hwpx:opendockit,doc:opendockit,ppt:opendockit,xls:opendockit"
```

With that rule LightRAG accepts Hangul documents and the old Office formats, which its local engines do not read. Add
`pdf:opendockit` or `docx:opendockit` to have those arrive as Markdown with their tables and headings. See
[docs/integrations.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integrations.md#lightrag).

### Hermes Agent

OpenDocKit is listed in the [Hermes Agent plugin catalog](https://github.com/NousResearch/hermes-agent/tree/main/plugin-catalog), where every plugin is reviewed by the Hermes
maintainers and pinned to one commit:

```bash
hermes plugins install opendockit
hermes plugins enable opendockit
```

Then ask Hermes about a file on your machine in a new session. It reads a long document by page, slide or sheet, sends
nothing anywhere and needs no API key. What the plugin runs, and how to limit the folders it may read:
[hermes-plugin/README.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/hermes-plugin/README.md).

### Claude Code

Install the plugin from this repository, which is its marketplace:

```text
/plugin install opendockit --marketplace hyeonsang010716/OpenDocKit
```

Then ask Claude about a document on your machine. It reads Word, PowerPoint, Excel and HWP/HWPX files, which its Read
tool cannot open, and long PDFs by page. What the plugin runs, and how to limit the folders it may read:
[claude-plugin/README.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/claude-plugin/README.md).

### Dify

OpenDocKit is on the [Dify Marketplace](https://marketplace.dify.ai/plugin/hyeonsang010716/opendockit), reviewed by the Dify maintainers. In your Dify, open **Plugins**, find
OpenDocKit in the Marketplace and install it. Then, in a Workflow or Chatflow:

1. Add a **File** variable to the **Start** node. For HWP and HWPX, choose **Other file types** and add `.hwp` and
   `.hwpx`.
2. Add the tool **OpenDocKit → Convert to Markdown** and pass it the file.
3. Use its `text` in an LLM node, or `documents` for one item per page, slide or sheet.

Dify reads no HWP or HWPX by itself. The file is converted inside your Dify, in a worker process with memory and time
limits, with no API key and nothing sent anywhere else. Outputs and limits:
[dify-plugin/README.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/dify-plugin/README.md).

### Open WebUI

`opendockit-open-webui` is a document loader for Open WebUI's **External** content extraction engine. Open WebUI sends
it every uploaded file and indexes one document per page, slide or sheet; a citation from a PDF names and opens the
right page. Open WebUI reads no HWP or HWPX by itself.

```bash
pip install "opendockit[open-webui]"
export OPENDOCKIT_OPEN_WEBUI_API_KEY=$(openssl rand -hex 32)
opendockit-open-webui --host 0.0.0.0     # then in Open WebUI: Documents → External, this URL and the same key
```

In **Admin Settings → Documents**, set **Content Extraction Engine** to **External**, the loader's URL and the same API
key. Each file is converted offline in a worker process with memory and time limits. Docker Compose, limits and errors:
[docs/integrations.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integrations.md#open-webui-document-loader).

## Supported formats

| Format | Sections | Highlights |
| --- | --- | --- |
| PDF | page | reading order across columns, ruled and borderless tables, form field values, headings from font size and weight, repeated header/footer removal, footnotes linked where the page proves them, scanned pages via vision model |
| DOCX | document | heading styles, list numbering, merged cells, charts → tables, SmartArt, footnotes/endnotes, equations → LaTeX, comments |
| PPTX | slide | on-screen order, bullet levels, tables, charts → tables, SmartArt, equations, speaker notes |
| XLSX · XLS · Excel 2003 XML · CSV | sheet | several tables per sheet, merged cells, number and date formats, charts, cell comments |
| HWP · HWPX | document | outline headings, numbering, merged cells, captions, footnotes, equations → LaTeX |
| ODT · ODS · ODP | document / sheet / slide | read directly from the package: headings, lists, merged cells, charts, formulas → LaTeX, speaker notes |
| RTF | document | built-in parser: legacy code pages (CP949), tables with merged cells, lists, footnotes, pictures |
| EPUB | document | chapters in reading order, pictures stored in the book, metadata |
| DOC · PPT | document / slide | converted through LibreOffice when it is installed, then read like DOCX / PPTX |
| HTML · MHTML | document | tables with rowspan/colspan, layout tables unwrapped, MathML → LaTeX, hidden elements removed |
| Email (`.eml`, mbox) | document | headers, HTML or plain body, forwarded messages, calendar invites |
| TXT · Markdown | document | encoding detection (UTF-8, CP949, UTF-16, Windows-1252) |
| Images | document / page | JPEG, PNG, WebP, GIF, BMP, TIFF, AVIF, and HEIC with the `heic` extra — described by a vision model |

Legacy `.doc` and `.ppt` need LibreOffice installed; everything else is read by OpenDocKit itself. The full list of
what each format restores is in [docs/formats.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/formats.md); the honest list of what it cannot do is in
[docs/limitations.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/limitations.md).

## How it compares

Six converters, the same files, one standard GitHub runner: 4 cores, no GPU, no API key. The
[full report](https://github.com/hyeonsang010716/OpenDocKit/blob/main/benchmarks/README.md) has the method, every raw result and the way to rerun it.

<p align="center">
  <img alt="The same 200 documents as DOCX, ODT, RTF, HTML and EPUB, scored against their references: OpenDocKit 0.99 in all five; every other tool reads none of one format or falls under 0.95 in one"
       src="https://github.com/hyeonsang010716/OpenDocKit/raw/main/benchmarks/charts/formats-scored.svg" width="720">
</p>

**The only one that reads every format well.** The 200 documents of a public benchmark were written as DOCX, ODT, RTF,
HTML and EPUB and scored against that benchmark's own answers. OpenDocKit scores 0.99 in all five. Every other tool
reads none of one format or falls under 0.95 in one.

|  | OpenDocKit | MarkItDown | Kreuzberg | Unstructured | Docling | kordoc |
| --- | :---: | :---: | :---: | :---: | :---: | :---: |
| **Reach** | | | | | | |
| Formats read, of 31 | **26** | 19 | 22 | 24 | 22 | 11 |
| HWP and HWPX | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ |
| **Quality** | | | | | | |
| Formats at 0.95 or above, of those 5 | **5** | 2 | 3 | 4 | 4 | 1 |
| Structure checks passed, of 49 (ours) | **49** | 31 | 29 | 12 | 37 | 22 |
| Words lost from 49 real HWPX files | **40** | reads none | reads none | reads none | reads none | 915 |
| PDF benchmark score, 200 files (not ours) | 0.889 | 0.589 | 0.689 | 0.697 | 0.892 | **0.965** |
| **Cost** | | | | | | |
| Ran a model for those PDFs | no | no | no | no | yes | yes |
| Seconds for those 200 PDFs | 36 | 33 | **4** | 52 | 1,063 | 387 |
| Peak memory on them, MB | 221 | 310 | **80** | 2,129 | 3,184 | 1,235 |
| Installed size, MB | **104** | 337 | 5,792 | 6,752 | 5,989 | 670 |

- **Structure survives.** OpenDocKit passes all 49 checks such as "is the merged cell still attached to its row". The
  next tool passes 37. We wrote those checks, and the report says what that means.
- **PDF without a model, level with a tool that runs one.** On the 200 PDFs of opendataloader-bench, a benchmark we
  did not write, OpenDocKit scores 0.889 and Docling 0.892. OpenDocKit takes 36 seconds and 221 MB; Docling takes
  1,063 seconds and 3,184 MB. The best of the other tools that ran no model scores 0.697.
- **Korean office documents, with the rest.** Only OpenDocKit and kordoc read HWP and HWPX. Of the 32,166 words in 49
  real HWPX files OpenDocKit loses 40 and kordoc 915, and OpenDocKit reads 26 formats where kordoc reads 11.
- **Made for uploads from strangers.** On 113 fuzzer findings and attack files it neither crashed nor hung, and its
  largest process was 97 MB. One of those files pushed 2 of the other tools past 6 GB.
- **104 MB, no model, no GPU.** The others install between 337 MB and 6,752 MB.
- **Where it is behind.** kordoc leads the PDF benchmark (0.965). It runs OCR models, and those 200 files are part of
  its [own regression set](https://github.com/chrisryugj/kordoc/blob/main/docs/benchmarks.md); OpenDocKit writes its rules on 100 of them and only runs the other 100. Tables
  are OpenDocKit's weakest PDF score (0.803, against 0.981). It has no OCR: scans and images need a vision model you
  plug in (OpenAI, Claude or Gemini). Kreuzberg is much faster, Unstructured scores 0.996 on DOCX and ODT where OpenDocKit scores 0.992, and
  legacy `.doc` / `.ppt` go through LibreOffice.

<p align="center">
  <img alt="Structure checks passed: OpenDocKit 49 of 49, Docling 37, MarkItDown 31, Kreuzberg 29, kordoc 22, Unstructured 12"
       src="https://github.com/hyeonsang010716/OpenDocKit/raw/main/benchmarks/charts/structure-checks.svg" width="720">
  <img alt="Seconds to convert the 200 PDFs: Kreuzberg 4, MarkItDown 33, OpenDocKit 36, Unstructured 52, kordoc 387, Docling 1,063"
       src="https://github.com/hyeonsang010716/OpenDocKit/raw/main/benchmarks/charts/pdf-time.svg" width="720">
</p>

## Examples

[`examples/`](https://github.com/hyeonsang010716/OpenDocKit/tree/main/examples/) has one sample document per format and the Markdown OpenDocKit produces from each, with and
without a vision model, so you can judge the output before installing anything.

## Documentation

| | |
| --- | --- |
| [Formats](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/formats.md) | What is extracted from each format and how it is rendered |
| [Options](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/options.md) | `ConvertOptions`, exceptions and error codes |
| [Images](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/images.md) | Extraction, filtering, vision models, custom describers |
| [Running on a server](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/server.md) | `IsolatedConverter`, resource limits, the character budget |
| [Integrations](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integrations.md) | LangChain, LlamaIndex, LightRAG, the MCP server, Hermes Agent, Claude Code, Dify and Open WebUI |
| [Integration guide](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/integration-guide.md) | What an upload UI should tell its users |
| [Design](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/design.md) | Why it is built this way, and how it was verified |
| [Limitations](https://github.com/hyeonsang010716/OpenDocKit/blob/main/docs/limitations.md) | Known gaps, stated plainly |
| [Decision records](https://github.com/hyeonsang010716/OpenDocKit/tree/main/docs/decisions/) | Every deliberate trade-off, with the test that pins it |

## Contributing

Contributions are welcome, and bug reports with a minimal reproducing document are especially valuable.
Start with [CONTRIBUTING.md](https://github.com/hyeonsang010716/OpenDocKit/blob/main/CONTRIBUTING.md).

```bash
git clone https://github.com/hyeonsang010716/OpenDocKit.git && cd OpenDocKit
uv sync
uv run pytest -n auto -m "not timing"   # the bulk of the suite, in parallel
uv run pytest -m timing                  # tests that measure time, one at a time
uv run ruff check
```

## License

[MIT](https://github.com/hyeonsang010716/OpenDocKit/blob/main/LICENSE)
