good first issue
Repository metrics
- Stars
- (1 star)
- PR merge metrics
- (PR metrics pending)
Description
Goal
A pure Wasm component for extracting rich text/sections from PDF to Markdown, and optionally rendering Markdown back to PDF. Accepts bytes in, spits bytes out. Zero host I/O or network use; pure function.
Scope/Features
- Extract text, page structure, and images from PDF input as Markdown
- Optionally: render Markdown into simple PDF (round-trip)
- Preserve metadata (title/author/etc) if feasible
- Return errors on passworded/corrupted files
Rough WIT shape
extract(input: list<u8>) -> result<string, error>render(md: string) -> result<list<u8>, error>(_optional)
Candidate crates/libs
- lopdf
- pdfium-render
- poppler bindings (if WASM-usable)
Labels
- good first issue
Leave a comment to claim or propose changes!