hn.today

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

github.com297 points136 comments
Screenshot of Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

Weavon is a Rust-based document converter designed to replace Pandoc 3.13 in existing scripts and tools. It handles formats including Markdown, HTML, Word, and LaTeX, and can run in a compatibility mode that closely matches Pandoc’s behavior. Its conformance tests report 65,891 of 65,937 units matching, with 65,776 producing byte-identical results; the documented differences are intentional. On Apple Silicon, benchmarks using 1 MB text inputs show speedups of 15.3 to 49.7 times over Pandoc, while the stripped ARM64 binary is 9.26 MB. The project is available under the MIT or Apache 2.0 license.

Beyond compatibility, native mode adds workflows and features, including built-in PDF generation without TeX, support for text, math, and SVG, and preservation of original Word or PowerPoint package parts during same-format conversions. It also supports sandboxed WebAssembly filters, Lua and JSON filters, citations, document redlines, and batch builds from reusable project files. Python and Node.js bindings expose document trees, while editor plugins, a language server, live preview, extraction, redaction, and Git diff setup extend its use in development workflows. Installers and packages cover macOS, Linux, and Windows, and a GitHub Actions integration can route existing Pandoc-based jobs through Weavon with little or no configuration change.

Read on github.com136 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Show HN: Rust Commander

Show HN: Rust Commander

Rust Commander is a Rust terminal file manager modeled on Midnight Commander, with dual-pane navigation, a persistent shell, archive and remote browsing, and background file operations. Version 0.3.1 adds file-change alerts, viewer copy controls, customizable skins, and faster SFTP previews and copying. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.