dshbase

Plugin directory / Developer / dsh-plugin-anydoc

dsh-plugin-anydoc

Verified · install-tested on dsh beancookie

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

6Stars
0Forks
0Open issues
JavaScriptLanguage
2026-08-14Last push
Cross-platformPlatform

What it does

DSH plugin: convert Word, PPT, Excel, PDF, EPUB, CSV and other documents to GitHub-Flavored Markdown based on @firecrawl/anydoc.

Our take
Works — verified, early-stage project

DSH plugin: convert Word, PPT, Excel, PDF, EPUB, CSV and other documents to GitHub-Flavored Markdown based on @firecrawl/anydoc. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-plugin-anydoc

一个 DeepSeek Harness (DSH) 插件,将 @firecrawl/anydoc 作为 anydoc 工具注册给 Agent,把多种文档格式转换为 GitHub-Flavored Markdown。

基于 @firecrawl/anydoc(Rust 原生绑定,napi-rs),在 libuv 线程池中执行,不阻塞事件循环,无需任何外部进程或 Python 环境。

支持的格式

类别 扩展名
Word .doc .docx .docm
PowerPoint .ppt .pps .pot .pptx .pptm .ppsx .ppsm
Excel .xls .xlsx .xlsm .xlsb
OpenDocument .odt .ods .odp
Rich Text .rtf
EPUB .epub
CSV .csv
PDF .pdf

不支持 HTML、JSON、XML、图片与音频。

安装

dsh plugin --profile web add github:beancookie/dsh-plugin-anydoc

安装完成后直接启动:

dsh web

卸载

dsh plugin --profile web remove dsh-plugin-anydoc

使用

启动 DSH Web 后,向 Agent 发送类似指令:

请将 /path/to/report.docx 转换为 Markdown

Agent 会调用 anydoc 工具,返回转换后的 Markdown 内容。

工具参数

参数 类型 必填 说明
filePath string 要转换文件的绝对或相对路径
format string 显式指定格式(如 csv);缺省时根据文件内容自动检测
outputFilePath string 将结果写入该文件并返回摘要,而非返回完整 Markdown

开发

# 安装依赖
pnpm install

# 编译 TypeScript 到 lib/
pnpm build

本地加载(--patch 开发模式):

pnpm dsh web --patch "/path/to/dsh-plugin-anydoc/dev.cordis.patch.yml"

社区

本项目积极支持并感谢 LINUX DO 社区——一个面向技术爱好者的友好交流空间。

许可

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-plugin-anydoc for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:beancookie/dsh-plugin-anydoc

Headless (CLI) profile:

dsh plugin --profile headless add github:beancookie/dsh-plugin-anydoc

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

When to use it

Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.

Who it's for

Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.

For developers — extending it

The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7795 plugins →