当前位置: 首页 > Skill >

Memect Ppx

Memect Ppx

Memect Ppx

使用 memect-ppx (ppx) CLI 将 PDF 和图片解析为 Markdown/JSON 格式。适用于用户要求 OCR 扫描版 PDF 或截图、提取 PDF 表格等场景。

0.2.6 2026.11.23 365
获取Skill文件查看使用说明
作 者:江禾 许可证: 更新时间:2026.11.23
本文目录收起

memect-ppx

Use the local ppx CLI to parse PDFs and images into structured Markdown and JSON.

Runtime Requirements

  • Use Python >= 3.12.
  • Prefer installing PPX into a virtual environment instead of the system Python.
  • If ppx is missing, read references/troubleshooting.md and create a virtual environment before installing dependencies.
  • Keep this skill's frontmatter version synchronized from the repository pyproject.toml with scripts/sync_version.py.

Workflow

  1. Confirm the runtime uses Python >= 3.12.
  2. Check the runtime with scripts/check_ppx_env.sh.
  3. If ppx is missing, create or use a virtual environment and install PPX there.
  4. Choose parsing options:
    • Use --ocr auto by default.
    • Use --ocr yes for scanned PDFs or screenshots.
    • Use --ocr no for native PDFs when OCR causes noise.
    • Use --table auto by default.
    • Use --table llm only when the user needs highest table accuracy and an LLM backend is configured.
  5. Run ppx parse <input> -o <output>.
  6. Inspect the output folder and report the main artifacts:
    • doc.md
    • doc.json
    • pages/
    • images/ when figures are extracted
  7. If parsing fails, summarize the failing step and load the relevant note from references/.

Common Commands

ppx parse report.pdf -o output/
ppx parse scan.pdf --ocr yes -o output/
ppx parse figure.png -o output/
ppx parse report.pdf --pages "1-5,10" -o output/
ppx parse report.pdf --table llm --backend deepseek -o output/

Output Contract

  • Prefer returning the absolute output directory.
  • Mention whether the result came from doc.md, doc.json, or page-level files.
  • Call out OCR mode, table mode, and backend when they materially affect accuracy.

References

  • Read references/cli-options.md when choosing parse flags.
  • Read references/backend-config.md when using DeepSeek, Paddle, or GLM backends.
  • Read references/troubleshooting.md when PPX is missing, Python is too old, or runtime dependencies fail.

相关文章

更多
使用 PicGo 搭建基于 GitHub 的稳定免费图床

针对公共图床失效导致 Markdown 文章图片丢失的问题,推荐使用 PicGo 工具配合 GitHub 公有仓库搭建个人图床。通过创建公有仓库、生成具有 repo 权限的 Token,并在 PicGo 中完成仓库与分支配置,即可实现稳定可靠的图片上传与管理。

2026.07.28 922
markdownify-mcp SSRF漏洞影响版本与修复指南

mcp-markdownify-server 1.2.0 以下版本存在服务端请求伪造(SSRF)风险,涉及 webpage-to-markdown、youtube-to-markdown、bing-search-to-markdown 和 git-repo-to-markdown 四个工具。该漏洞源于 URL 和仓库地址校验逻辑缺陷,攻击者可通过提示注入诱导服务访问内部资源或云元数据端点。CVSS 评分分别为 4.0 版本的 8.3 分和 3.1 版本的 7.4 分。建议立即将运行实例升级至 1.2.0 或更高版本以启用完整的 DNS 解析检查、重定向拦截及 SSH 简写拒绝机制。

2026.11.08 881
Typora 编辑器介绍与 v1.0.4 破解激活指南

Typora 是一款基于 GFM 标准的强大 Markdown 编辑器,以实时预览和无干扰界面著称。本文介绍了其核心功能如文件树管理和多格式导出,并详细记录了针对 Typora v1.0.4 版本的破解流程。通过安装 Python 和 Node.js 依赖,利用 typoraCracker 工具解包 app.asar 文件,替换 License.js 权限文件并重新打包,最终通过 keygen.js 生成有效序列号以解决激活弹窗问题。

2025.02.04 866
Typora 1.4.8 安装与破解激活指南

本文介绍 Typora 1.4.8 版本的安装及激活方法。该软件支持 macOS、Windows 及 Linux 系统,具备实时预览、多主题及数学公式等功能。由于百度网盘链接易被封禁,目前需通过微信公众号“Java技术迷”回复关键字“230223”获取破解补丁。安装时需将 winmm.dll 文件复制至软件目录以完成激活。

2025.04.24 827
PHP实现Markdown文章上传到七牛图床的实例内容

在使用 Markdown 编写文章后,手动上传图片管理不便。本文介绍使用 PHP 配合七牛云 SDK,通过正则匹配提取图片并批量上传至图床,最后替换本地路径以实现文章同步发布。

2026.08.01 816
2026年Typora破解与激活教程

本文介绍 Typora 在 2026 年的两种主要破解方式。第一种推荐适用于 Typora 1.3.8 版本,通过替换 winmm.dll 补丁实现永久激活;第二种适用于 1.2.4 版本,需修改 app.asar 文件并输入固定序列号。教程包含详细步骤、版本下载链接及注意事项,旨在帮助用户以非商用目的体验该 Markdown 编辑器。

2026.06.13 797
Skill 文件

相关 Skill

更多
MD to Mobile Image MD to Mobile Image 将 Markdown 文件转换为高对比度、适配移动端的 PNG 图片,专为 Telegram 和社交媒体分享优化。
marktodocx-skill marktodocx-skill 使用 marktodocx Node 运行时将 Markdown 转换为 DOCX,适用于用户明确要求转换 Markdown 内容或文件。
Slidev Assist Slidev Assist 接收主题或原始材料(研究报告、数据、文案、PPTX等),AI解析生成Markdown,调用Slidev输出可演示的HTML幻灯片
Publish to dochost Publish to dochost 将 Markdown 或 HTML 发布到干净、可共享的 dochost.io 链接并返回 URL 给用户。当用户说“发布这个”“把这个分享为链接”等时使用。
Karpathy Wiki Karpathy Wiki 构建、维护、查询并审查持久化的 Markdown 知识库 wiki,置于原始资料和最终答案之间,适用于个人或团队管理。