Urgent.News

What's breaking now, across hundreds of outlets.

Tech

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

Hi HN, I built Weavon, a drop-in Pandoc 3.13 replacement written in safe Rust. Pandoc ships as a 195 MB binary, and producing PDFs usually requires installing gigabytes of TeX Live. Weavon is a single 9.3 MB stripped binary on macOS ARM64 with no runtime dependencies beyond libSystem. It supports all 52 Pandoc 3.13 input formats and 77 output formats, including Lua 5.4.8, LPeg, citeproc, and 194…

Weavon is an innovative, drop-in replacement for Pandoc 3.13 developed in safe Rust. Unlike Pandoc's 195 MB binary, Weavon is a compact 9.3 MB stripped binary, making it accessible for developers who prefer a lightweight solution. This binary is available for macOS ARM64, requiring no additional runtime dependencies beyond libSystem. Weavon maintains compatibility with all 52 input formats and 77 output formats of Pandoc 3.13, including Lua 5.4.8, LPeg, citeproc, and 194 syntax highlighting languages.

In rigorous testing against Pandoc 3.13's 65,937 baseline tests, Weavon achieved an impressive 99.93% match rate, only differing in 46 cases by design. This performance advantage is further highlighted in comparative benchmarks on Apple Silicon. Weavon demonstrated speeds ranging from 15.3x to 49.7x faster than Pandoc 3.13, coupled with a significant reduction in peak memory usage, from 5.6x to 19.2x lower.

The development of Weavon extends beyond simple duplication of Pandoc's functionality. The v0.2.0 release introduces a pure-Rust embedded PDF engine, offering features such as Unicode font subsetting, TeX math rendering, SVG rendering, and PDF/A and PDF/UA tagging, all without the need for TeX Live. Weavon also supports lossless DOCX and PPTX round-trips, sandboxed WebAssembly filters, built-in LSP and MCP servers, live preview functionality, a git diff driver for Office and PDF files, and Python and Node bindings.

Users can experience Weavon in a sandboxed environment through its interactive playground at https://weavon.org/playground or install the CLI using the provided installation script from https://weavon.org/install.sh.

For those interested in the technical details, comprehensive benchmarks and documentation are available at https://weavon.org.

Rewritten by urgent.news; may contain errors — check the original.

Source: github.com

Read the original at github.com →

Get the news by email. Yesterday's most-covered stories, every morning.

We track opens and clicks to improve the newsletter.

See today's edition · More options

More in Tech

More from Friday, 4 December 2026 →