Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX...
HN Best 200 @best
Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX github.com · 57 points · 19 comments · HN thread
TL;DR Weavon is a Rust reimplementation of Pandoc 3.13 that its author says matches Pandoc output in 65,891 of 65,937 test units (99.93%) while running 15.3x to 49.7x faster on 1 MB inputs. It ships as a 9.3 MB binary and adds an embedded PDF engine so PDFs can be produced without TeX Live. The project is MIT or Apache 2.0 licensed and was built with heavy AI coding tools, which the comments dispute as a clean-room claim.
- Single 9.26 MB stripped ARM64 binary on macOS, linking only to libSystem; Pandoc 3.13 is cited as a 195 MB binary.
- Claims to support all 52 Pandoc 3.13 input formats and 77 output formats, plus Lua 5.4.8 filters, citeproc, and 194 syntax highlighting languages.
- Benchmarks on Apple Silicon show 15.3x to 49.7x speedup over Pandoc 3.13 and 5.6x to 19.2x lower peak memory; Weavon also beats Carta on 9 of 11 workloads.
- --pdf-engine=embedded writes PDF 1.7 with font subsets, TeX math, SVG, and PDF/A and PDF/UA tags without TeX; raw LaTeX support is a subset, and CJK/Arabic fonts need extra setup.
- Version 0.2.0 adds lossless DOCX/PPTX round-trips, sandboxed WebAssembly filters, MCP and LSP servers, live preview, and Python and Node bindings.
- Known differences include GPL-excluded data such as the default CSL style, Office reference documents, EPUB CSS, and shell completions, which Weavon replaces with its own versions.
Links in the post
- Weavon browser playground: In-browser WebAssembly converter that runs locally and accepts Markdown, HTML, JSON, and PDF input, with PDF 1.7 output.
- Install script: Shell installer for macOS and Linux; the page could not be read, so its contents are unknown.
- Weavon project site: Landing page with the 1 MB Markdown-to-HTML benchmark (62.61 ms vs 2,300 ms for Pandoc), compatibility summary, feature overview, and FAQ.
Discussion The thread is short, with about 19 comments, and splits into two threads. The first is friendly and off-topic, praising the author's personal website, then a long exchange with the author about how Weavon compares to Typst and Tectonic, which the author answers at length and mostly frames as complementary tools. The second, more critical thread centers on licensing: commenters question whether a model-assisted rewrite of a GPL project can be called clean-room and argue it should carry Pandoc's GPL license. The mood is mixed, with curiosity about the tool's speed and PDF support alongside sharp skepticism about provenance.
- Typst or Tectonic are the real alternatives; Weavon complements them (some): Several commenters ask how Weavon compares with Typst and Tectonic for PDF output. The author replies that Typst is a full typesetter, Weavon is a Pandoc replacement with a built-in PDF writer, and the two can be combined through --pdf-engine=typst.
- Clean-room claim is doubtful and GPL should be kept (some): Some commenters argue that an AI-assisted rewrite trained on Pandoc's source cannot be a clean-room implementation and that the project should be licensed under the GPL like Pandoc. The author says the licence choice was made for embedding reasons and promises to reword the clean-room text in the README.
- Prefer community-maintained software over AI-generated code (a few): One commenter says they would rather use software the community understands than AI-produced code, even if faster. This is a brief objection with no further argument.
- Interesting and useful tool, with the author's site praised (a few): Some commenters praise the speed and the drop-in design, and one thread is simply admiration for the author's personal website.
Links from the comments