Show HN: Taepdf – Turn your live DOM into a pixel-perfect PDF
Category: library
Tags: html-to-pdf, webassembly, dom-rendering, browser-only, pdf-generation
Score: 6.8/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 6)
Taepdf is a browser-based HTML-to-PDF engine that uses Rust/WASM to capture the exact browser-rendered DOM layout and convert it pixel-perfectly to PDF, eliminating the need for servers or headless browsers. Its approach of reading live DOM positions and styles directly is a novel take on PDF generation, though it is limited to client-side use. The project stands out for its deep feature set including pagination, forms, accessibility, and comprehensive documentation.
Target audience: frontend devs, web developers, application developers needing client-side PDF generation
Repository: https://github.com/silly-tae/taepdf · TypeScript · MIT · 2 stars
View on Hacker News