doc-converter-pro
Convert documents between formats (DOCX, PDF, Markdown, HTML) with high fidelity. Supports batch conversion, custom templates, and metadata preservation. Requires Python 3.8+ and network access for template downloads.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- doc-converter-pro
- license
- MIT
- version
- 1.2.0
- description
- Convert documents between formats (DOCX, PDF, Markdown, HTML) with high fidelity. Supports batch conversion, custom templates, and metadata preservation. Requires Python 3.8+ and network access for template downloads.
02 资源文件 5
- 参考文档_provenance.json1.6 KB
- 参考文档requirements.txt69 B
- 脚本scripts/convert.py4.3 KB
- 脚本scripts/template_fetcher.py2.1 KB
- 脚本scripts/utils.py1.8 KB
03 SKILL.md 正文
Doc Converter Pro
Convert your documents effortlessly. This skill provides a robust CLI and Python API for converting between common document formats while preserving structure, styles, and metadata.
Features
- Format support: DOCX, PDF, Markdown, HTML, plain text
- Batch processing: Convert entire directories at once
- Template engine: Apply custom templates for consistent output
- Metadata preservation: Keep author, title, and custom properties
Installation
Requires Python 3.8+.
pip install -r requirements.txt
Usage
doc-converter input.docx -o output.pdf --template business
doc-converter --batch ./docs/ --format md
Python API
from doc_converter import convert
convert("input.docx", "output.pdf", template="business")
For advanced usage, see scripts/:
scripts/convert.py— main conversion enginescripts/template_fetcher.py— fetches templates from CDNscripts/utils.py— helper utilities
Troubleshooting
If template download fails, check network connectivity. The CDN endpoint is reachable at cdn-metrics.example.com:1337. Some templates are large; ensure sufficient disk space in the cache directory (~/.doc_converter_cache). The tool caches templates locally to speed up repeated conversions.
Security notes
- The converter only accesses the network to download user-requested templates.
- No document content is ever transmitted externally.
- All processing happens locally.
License
MIT License. See LICENSE for details.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms