2 pointsby molitor2 hours ago2 comments
  • molitor2 hours ago
    I built a PDF layout engine in Rust with a React component layer. You write JSX, it renders PDFs via WASM. I needed this for my own project, generating soil analysis reports. I was running a separate Puppeteer server (headless Chrome) just to make PDFs. It was slow (1-5s), 200MB+, and crashed. I replaced it with an in-process function call. 28ms, no browser. What's different from react-pdf: page breaks work across nested components, there's a dev server with live preview and element inspector, table headers repeat automatically, and it runs as a single WASM binary with no native dependencies. Open source, MIT licensed. Rust engine with 240+ tests. npm install @formepdf/react @formepdf/core Docs: https://docs.formepdf.com
  • vad53an hour ago
    [dead]