Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: add PDF support via mupdf WASM#264

Open
ndemarchis wants to merge 2 commits into
VERT-sh:mainVERT-sh/VERT:mainfrom
ndemarchis:feat/pdf-supportndemarchis/VERT:feat/pdf-supportCopy head branch name to clipboard
Open

feat: add PDF support via mupdf WASM#264
ndemarchis wants to merge 2 commits into
VERT-sh:mainVERT-sh/VERT:mainfrom
ndemarchis:feat/pdf-supportndemarchis/VERT:feat/pdf-supportCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.