Show HN: Pixel-exact HTML-to-PDF in the browser, no Puppeteer or server
Category: devtools
Tags: html-to-pdf, wasm, rust, browser, pdf-generation
Score: 8.3/10 (Innovation: 8, Technical: 9, Documentation: 9, Utility: 7)
daepdf is a browser-based HTML-to-PDF engine that uses Rust and WebAssembly to capture the exact layout rendered by the browser and rebuild it as a real PDF with selectable text, vector SVGs, and embedded fonts. It eliminates the need for server-side rendering or headless browsers, offering pixel-perfect PDFs directly in the browser.
Target audience: frontend developers, web developers
Repository: https://github.com/zztaeha/daepdf · TypeScript · MIT · 8 stars
View on Hacker News