Skip to main content

dsh-plugin-anydoc

6Stars0Forks0Issues0Watchers

DSH 插件:基于 @firecrawl/anydoc 将 Word、PPT、Excel、PDF、EPUB、CSV 等文档转换为 GitHub-Flavored Markdown

Evidence3/5methodologySourceInstallMaintenanceDSH versionSecurity scan
Machine-auditedInstall commandRepo verifieddsh-plugin topicLicenseREADMEAI wiki
Language
JavaScript
Branch
main
deepseek-harnessdocument-conversiondocument-conversion-plugindsh-plugindsh-plugin-verifydsh-pluginsmarkdown

Install

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

Run the command above in your terminal to install this plugin via the dsh CLI. You can switch Profile in the top-right corner. New to dsh? Read the beginner tutorial

Install via your agent

Install the DeepSeek Harness plugin beancookie/dsh-plugin-anydoc for me: review the repository at https://github.com/beancookie/dsh-plugin-anydoc first, then run the install command and verify the plugin loads successfully.

Paste this instruction to the DSH Web GUI assistant — it will install and verify for you.

一个 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 内容。

工具参数

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

开发

# 安装依赖
pnpm install

# 编译 TypeScript 到 lib/
pnpm build

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

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

社区

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

许可

MIT

Read the usage guide →

Install steps, key points, FAQ and compatibility for this plugin — auto-derived from indexed fields.

Listing badge

Listed on deepseek-plugin.org
[![Listed on deepseek-plugin.org](https://img.shields.io/badge/listed_on-deepseek--plugin.org-007EC6)](https://deepseek-plugin.org/plugins/beancookie/dsh-plugin-anydoc)

Paste this markdown into your GitHub README to link back to this listing. The badge only states the listing — not a security endorsement.

← Back to plugin directory