dsh-doc-batch
Discovered深鲸文档批量处理:Word / Excel / PDF 一次处理整目录(替换、提取、合并、拆分、导出),带面板
深鲸文档批量处理(@deepwhale-cn/dsh-doc-batch)
一个插件、一个面板,处理三类文档:Word / Excel / PDF。
面板
侧栏「深鲸文档批量」→ 选格式(Word / Excel / PDF)→ 选操作 → 填文件或目录 → 开始处理。 结果直接显示在面板里;所有处理都在本机完成,不上传文件。
安装
dsh plugin --profile web add @deepwhale-cn/dsh-doc-batch
也可源码安装:dsh plugin --profile web add github:feely0208/dsh-doc-batch。
命令
dsh-doc-batch docx replace --input ./合同 --from 深鲸科技 --to 深海鲸
dsh-doc-batch docx extract --input ./合同 --out ./文本
dsh-doc-batch docx merge --input ./周报 --out ./合并
dsh-doc-batch docx headers --input ./合同
dsh-doc-batch docx to-md --input ./合同 --out ./md
dsh-doc-batch xlsx merge --input ./报表 --out ./合并
dsh-doc-batch xlsx clean --input ./报表 --out ./清洗
dsh-doc-batch xlsx summary --input ./报表
dsh-doc-batch xlsx csv --input ./报表 --out ./csv
dsh-doc-batch pdf merge --input ./扫描件 --out ./合并
dsh-doc-batch pdf split --input a.pdf --out ./拆分 --action page
dsh-doc-batch pdf compress --input a.pdf --out ./压缩
dsh-doc-batch pdf watermark --input a.pdf --out ./水印 --text 机密
dsh-doc-batch pdf extract-text --input ./扫描件 --out ./文本
dsh-doc-batch pdf extract-images --input a.pdf --out ./图片 --dpi 150
格式别名:word = docx,excel = xlsx。
依赖
python3 + 对应库:python-docx(Word)、openpyxl(Excel)、pypdf(PDF)。
缺库时 CLI 会给安装提示,面板会把提示原样显示出来。
说明
- 本插件由原先的三个单格式插件(docx-batch / xlsx-batch / pdf-kit)合并而来, 能力完全一致,只是入口收成一个;
- 三种格式的参数解析与处理内核仍各自独立(
bin/cli-docx|xlsx|pdf.mjs+lib/*.py), 统一入口只做分发,避免"合并后行为漂移"。
Comments
Loading…
Similar plugins
by zsy334
在DeepSeek harness工作区面板或 convert_document 工具中转换 Word、PDF、Markdown、HTML、TXT、Excel/CSV 与 PowerPoint 文件。
★ 0
MIT
JavaScript
Nov 3, 2026
dsh plugin --profile web add dsh-doc-convertby copylee711
DeepSeek Harness 插件:AI 直接在你打开的 Word / Excel / PowerPoint 里改文档,改动实时可见,可以一起编辑(Windows)
★ 27
↓ 2k/wk
MIT
TypeScript
Nov 16, 2026
dsh plugin --profile web add @copylee/dsh-officeby Z8906
读取 Office / PDF 前先转成 Markdown,用一行路径代替整份全文 —— 省 token 的 DSH bundle 插件。0 npm 依赖,转换全在本地,产物归你所有,卸载自动清理 Python 环境。 Convert Office/PDF to Markdown before reading in DeepSeek Harness — one path instead of the whole document.
★ 1
MIT
JavaScript
Nov 8, 2026
dsh plugin --profile web add dsh-plugin-office-markdownby zhangjiabo522
DeepSeek Harness 文档工具插件:read/create/edit PDF/DOCX/XLSX/PPTX/CSV/Markdown(read_document、create_document、edit_document)
★ 0
MIT
TypeScript
Aug 15, 2026
dsh plugin --profile web add @deepseek-ai/dsh-tool-docby jetformat
DeepSeek Harness plugin for Jetformat: Office to PDF and PDF tools via the local CLI
★ 2
MIT
TypeScript
Sep 27, 2026
dsh plugin --profile web add @jetformat/dsh-pluginby jiaoqsh
DeepSeek Harness plugin: read_document tool — Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF as Markdown for the model
★ 6
↓ 490/wk
MIT
TypeScript
Oct 4, 2026
dsh plugin --profile web add @jiaoqsh/dsh-document