markitai

io.github.Ynewtime由 GitHub 账号 Ynewtime 发布v2.3.2更新于 Oct 29, 2026

Convert documents, images and web pages to clean Markdown, for agents: single, URL and batch tools.

概览

AI 生成的概览

Markitai 将文档、图片和网页转换为干净的 Markdown,为助手提供单文件、URL 和批量转换工具。

可以做什么
  • 将单个文档、图片或网页转换为 Markdown
  • 从 URL 转换,需要网络访问
  • 批量转换整个文件夹并生成报告
  • 对扫描图片执行本地 OCR,可选模型增强
适用场景
适合需要把 Office 文件、PDF、扫描件或网页中的内容以 Markdown 形式读取或复用的场景,也包括一次转换大量文件以便后续索引或编辑。
运行要求
以本地 stdio 进程运行,可通过 uvx 从 PyPI 包 markitai 启动(需 Python 3.10+),或使用独立 CLI 安装脚本。可选组件:OCR 模型、用于 JavaScript 页面的 Chrome/Chromium、用于 Office 页面图像的 LibreOffice。URL 输入需要网络访问。MARKITAI_HOME 指定配置、缓存和模型目录;MODEL 配合相应的服务商 API 密钥可启用 LLM 增强。
安装前请注意
普通转换无需模型连接,但 LLM 增强会用配置的凭据把内容发送给服务商。URL 输入会抓取远程页面,内容会离开本机。转换会向指定目录写入输出文件,批量运行可能覆盖已有结果。

安装

在 SourceWeft 中

  1. 打开 控制台中的 markitai,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Markitai

Markitai converts documents, web pages and images to Markdown. A single Rust core powers the markitai command (alias mkai), a local REST service with a browser workspace, an MCP server, and in-process Node.js, Python and Go bindings. The CLI executable needs no Python, Node.js or Go runtime; language bindings need their respective language runtime.

Markitai 2.0 is the Rust rewrite of Python markitai 1.2. See the changelog and compatibility contracts.

Install

macOS and Linux:

sh
curl -fsSL https://markitai.dev/setup.sh | sh

Windows (PowerShell):

powershell
powershell -ExecutionPolicy ByPass -c "irm https://markitai.dev/setup.ps1 | iex"

The setup scripts download the release archive for your machine from GitHub Releases, check it against the release's SHA256SUMS, and install markitai, mkai and markitai-mcp for the current user, without administrator rights. Releases cover macOS 11+ (Apple silicon, Intel), Linux with glibc 2.28+ (x86-64, ARM64) and Windows (x64, ARM64). Python users can instead run pip install markitai or uv tool install markitai (Python 3.10+). PyPI has wheels for these six platforms only and no 1.x any more: elsewhere pip has nothing to install and leaves an installed 1.x as it is. Manual downloads, updates, uninstalling and going back to 1.x are in the installation steps.

The archives include license notices and selected Markdown guides for offline use. OCR models, Chromium and LibreOffice are optional separate components. See platform support for requirements, unsigned macOS builds for Gatekeeper, and bindings for language packages.

Quick start

sh
markitai report.docx -o out/                  # writes out/report.docx.mdmarkitai ./documents -o out/                  # whole folder, with a reportmarkitai scan.png --ocr -o out/               # local OCR; models may need preparationmarkitai report.docx -o out/ --json           # structured result for automationmarkitai doctor                              # inspect optional componentsmarkitai --help                              # commands, options and examplesmarkitai serve                               # browser workspace on 127.0.0.1:3600

For a separate trial state, set MARKITAI_HOME before using the CLI: export MARKITAI_HOME="$PWD/.local/try-home". Plain document conversion does not need a model connection. Existing configuration still applies; use --no-llm -b native for local document processing without model enhancement. URL inputs still need the network, even with --no-remote-fetch. Local OCR uses the portable Paddle engine on every platform (macOS Vision with MARKITAI_OCR_BACKEND=vision); doctor --fix can prepare missing Paddle models before offline use. JavaScript pages need Chrome/Chromium; Office page images need LibreOffice. Model enhancement (--llm) uses configured provider credentials or a subscription runtime.

Documentation

  • Quick start: installation and the first ten tasks.
  • CLI and MCP: command and Agent contracts.
  • Agent index and standalone Agent guide: plain Markdown entry points, also included in CLI archives.
  • Documentation index: the full source-checkout documentation. The offline archive contains selected guides; other topic links require this repository checkout.

License

MIT; see LICENSE and NOTICE.

来源:README.md,提交 ef72fdc

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

7
  1. v2.3.2最新Oct 29, 2026
  2. v2.3.0Oct 26, 2026
  3. v2.2.0Oct 26, 2026
  4. v2.1.0Oct 25, 2026
  5. v2.0.0Oct 24, 2026
  6. v1.2.0Sep 28, 2026
  7. v1.1.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分