NewsCrawler.org

Weavon: a Rust replacement for Pandoc that writes PDF without TeX

Drop-in Pandoc 3.13 replacement in safe Rust. 129 formats, Lua 5.4, citeproc, embedded PDF 1.7, RAG chunker, semantic diff, lint, and WebAssembly. - weavon/weavon
Image: github.com

Weavon is a fast replacement for Pandoc 3.13, a tool that converts documents between formats, and it is written in Rust. The article reports that on 1 MB inputs on Apple Silicon it runs 15.3x to 49.7x faster than Pandoc 3.13, and its stripped ARM64 binary is 9.26 MB. Weavon matches 65,891 of 65,937 baseline test units (99.93%).

Its embedded PDF engine writes PDF without TeX[1], the typesetting system, and renders text, math and SVG. Other features include lossless round trips for unchanged Word and PowerPoint files, sandboxed WebAssembly[2] filters, and built-in LSP and MCP servers. It installs through a shell script, Homebrew, Scoop, Cargo or a GitHub Actions step, and it is licensed under MIT or Apache 2.0.

Started under the name pandoc, it runs in a compatibility mode that behaves as Pandoc 3.13, so commands you already know work as they are.

Repository Weavon github.com

A document converter written in Rust, usable as a drop-in replacement for Pandoc. It converts Markdown, HTML, Word, LaTeX and other formats.

Stars: 3Forks: 0License: Apache-2.0Updated:

Read the original github.comDiscussion

Discussion

Commenters questioned why the project dropped the GPL[3] license and whether a clean-room[4] rewrite is valid if it may have been written by a model trained on Pandoc's source code. Others asked about Windows support and long-term maintenance, and some praised the speed and the PDF output without TeX.

Sources

  • GitHub

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

    100 comments

  • KRGeekNews KO

    Show HN: Weavon, 9.3MB Rust 바이너리로 Pandoc 99.93% 호환, 15~50배 빠르고 TeX 없이 PDF 생성

    1 point1 comment

Published: First seen: Читать по-русски

Open as a page