dsh-pdf-translate
Translate text-based PDFs via DeepSeek or OpenAI-compatible APIs while preserving layout, fonts, images and links, with editable output.
用 DeepSeek 或兼容 API 翻译文本型 PDF,保留版式、字体、图片与链接,输出可编辑 PDF。
How to install
dsh plugin add dsh-pdf-translate About
dsh-pdf-translate DSH(DeepSeek Harness)插件:用用户自有的 DeepSeek(或任意 OpenAI 兼容 API)对**文本型 PDF** 进行全文翻译,输出保留版式、字体样式、图片与链接的**可编辑 PDF**(文本可选中、可复制)。 当前仅支持**文本型 PDF**(有文本层)。扫描版(需 OCR)不在 v1 范围。 功能 单任务最多翻译 50 页(超出报错提示分段处理;大书可分页段多次翻译)。 段落级翻译:保留段落区域与样式(字号/颜色/对齐);代码块不翻译、原样保留。 输出 PDF 中**只有译文可选**:原文经 redaction 真正删除(非白块遮盖),图片/线稿/非链接注释保留。 术语表注入:JSON/TXT 导入,支持"禁止翻译"专名。 译文缓存(断点续传):按 段落文本+语言对 哈希,中断后重跑只补缺失段落。 多语言对(默认中英互译)、OpenAI 兼容端点可配。 API Key 由用户配置,role('secret') 保护,**绝不写入会话日志**。 设置卡片 zh/en 双语,随应用全局语言切换。 快速开始 bash 1. 安装 Python worker 依赖(pymupdf + pytest;-ExecutionPolicy Bypass 因 Windows PowerShell 5.1 默认拦截脚本) powers…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 0
- mo. downloads
- 191
- Last push
- 2026-09-01
- Created
- 2026-09-01
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek, dsh, dsh-plugin, openai-compatible, pymupdf, translate, translation
Related plugins
apify-mcp-server
apify/actors-mcp-server
The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
mcp-server-kubernetes
Flux159/mcp-server-kubernetes
MCP Server for kubernetes management commands