Skip to content

feat: add PDF support via mupdf WASM#264

Open
ndemarchis wants to merge 2 commits into
VERT-sh:mainfrom
ndemarchis:feat/pdf-support
Open

feat: add PDF support via mupdf WASM#264
ndemarchis wants to merge 2 commits into
VERT-sh:mainfrom
ndemarchis:feat/pdf-support

Conversation

@ndemarchis

Copy link
Copy Markdown

Summary

  • Adds PDF → text/markdown conversion using the mupdf npm package (AGPL-3.0, same license as VERT), running entirely client-side in a web worker
  • Adds generic converter chaining so formats can be converted through intermediate steps (e.g. PDF → md → docx via mupdf + pandoc)
  • The mupdf WASM binary is not committed — a postinstall script copies it from node_modules

Supported conversions

  • PDF → md, txt (direct via mupdf)
  • PDF → docx, html, rtf, rst, epub, odt, docbook, json (chained through pandoc)

@ndemarchis ndemarchis changed the title feat: add client-side PDF support via mupdf WASM feat: add PDF support via mupdf WASM Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant