Unifast – a Rust Markdown/MDX compiler that's 25x faster than remark
Yet another Markdown compiler when remark and unified already dominate the ecosystem.
High-performance Markdown and MDX processing for the JavaScript ecosystem
Lazy deserialization means plugins only pay for nodes they actually visit.
Static site generator users, Astro developers, Markdown tooling maintainers
unified · oxc · Lightning CSS
I work at Astro (https://astro.build), where we do a lot of Markdown / MDX and performance in this area is often a bottleneck. Our users use a lot of plugins to process their Markdown, so just blindly moving everything to a native language would make things a bit rigid. Inspired by the oxc and LightningCSS projects, I decided to start to start working on an "ideal" Markdown pipeline: The expensive stuff in Rust, with flexible plugins in JS, but with little performance cost.
This project uses techniques like lazy deserialization, raw transfer, arenas etc to ensure top performance. A JS plugin that only visits, ex, headings shouldn't suffer from the serialization cost of the entire Markdown tree. On the Rust side this is backed by pulldown-cmark, a really fast parser for Markdown.
You can try it in the browser here: https://satteri.erika.florist, or follow the instructions in the README to try it out locally: https://github.com/bruits/satteri/blob/main/packages/satteri...
Hope you'll like it! Don't hesitate if you have any questions.
Yet another Markdown compiler when remark and unified already dominate the ecosystem.
Better than Super.so for static sites because it outputs local files instead of hosting.
HTML-to-Markdown for AI agents when JinaAI and Firecrawl already dominate.
Local-first Notion sync with WebP conversion beats Super.so for static sites.
Yet another signals library when Preact and Solid already dominate the space.
Pydantic ergonomics for Rust, but validator and garde already exist.