Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX
Weavon is a new document conversion tool written in Rust, offering a 15-50x speedup and a tiny 9.3 MB binary compared to Pandoc, along with an embedded PDF engine that eliminates the need for TeX. While technically impressive, its use of AI tools and choice of a permissive license over Pandoc's GPL sparked a fiery debate on the ethics of software re-implementation in the LLM era, overshadowing even its performance gains. The discussion also touches on the nature of FOSS and the future of open-source licensing.
The Lowdown
Weavon is presented as a high-performance, drop-in replacement for Pandoc 3.13, meticulously rewritten in safe Rust. Its primary draw lies in significantly improved speed and efficiency, making it an attractive alternative for document conversion workflows.
- Performance: Achieves 15.3x to 49.7x faster processing on 1 MB inputs with 5.6x to 19.2x lower peak memory usage compared to Pandoc 3.13 on Apple Silicon ARM64.
- Compact Size: The stripped binary is a mere 9.3 MB, a stark contrast to Pandoc's 195 MB, and requires no external dependencies beyond
libSystem. - Embedded PDF Engine: A key feature is its pure-Rust PDF engine, which can generate PDFs without the need for a multi-gigabyte TeX Live installation, supporting Unicode font subsetting, TeX math, and SVG rendering.
- Broad Compatibility: Supports 52 input and 77 output formats, including Lua filters, citeproc, and 194 syntax highlighting languages, matching 99.93% of Pandoc's baseline tests.
- Extended Functionality: Beyond Pandoc compatibility, Weavon offers native features like lossless DOCX/PPTX round-trips, sandboxed WebAssembly filters, Python and Node.js bindings, live preview, semantic diffing for documents, and LLM/RAG ingestion tools.
- Installation: Available via
curl | sh, Homebrew, Scoop, Cargo, GitHub Actions, and Docker images.
Weavon aims to be a modern, highly efficient, and embeddable solution for document processing, particularly for environments where size, speed, and minimal dependencies are critical.
The Gossip
The GPL Gambit: AI, Licensing, and Ethics
The most contentious topic was the ethical implication of using AI-assisted development to rewrite Pandoc (a GPL-licensed project) under a more permissive MIT/Apache 2.0 license. Many commenters argued this constitutes "GPL-washing" or "piracy of moral right of authorship," questioning the validity of "clean-room" claims when LLMs trained on the original code are involved. The author clarified that Pandoc's source code was not directly used, and only permissively licensed companion libraries were adapted, ultimately updating the README to remove the "clean-room" label. This ignited a broader discussion about the future of FOSS licenses in the age of AI and whether AI-generated code can be considered a derivative work.
Performance and Practicality: Rust's Real-World Ratios
Many users expressed excitement about Weavon's impressive performance gains and significantly smaller binary size compared to Pandoc. The embedded PDF engine, which eliminates the need for cumbersome TeX Live installations, was highlighted as a major practical benefit. Some questioned its capabilities compared to dedicated typesetting tools like Typst, to which the author explained that Weavon is a general-purpose converter that can *integrate* with Typst, while its embedded PDF engine prioritizes zero-dependency output over advanced typographic control.
Developer's Personal Touch: The Personal Site Praises
Several comments, initially tangential but highly upvoted, lauded the author's personal website as exceptionally cool, clean, and performant. This 'personal expression' was seen as a positive indicator of the developer's taste and vision, inspiring others and fostering good will, contrasting with the technical debates.
Project Longevity: The "Vibe-Coded" Concern
Concerns were raised regarding the long-term maintainability of a project developed by a solo developer, especially given the rise of 'vibe-coded' or AI-generated projects that might lack sustained support. The author addressed these concerns by emphasizing the modular architecture, extensive test suite, and commitment to ongoing maintenance, reassuring users that switching back to Pandoc would be easy if Weavon ceased to meet their needs.
HN Moderation: The Dead Comments Debacle
A meta-discussion arose when `dang`, an HN moderator, pointed out that many of the author's replies were being automatically flagged as "AI-generated text" and thus killed by HN's moderation system. This led to a brief exchange about the site's policy on AI-generated content and the challenges of distinguishing human from AI prose, indirectly highlighting the pervasive influence of LLMs.