Show HN: Rubrol – Sub-10ms PDF engine using Typst instead of Headless Chrome
6 hours ago
- Rubrol is a sub-millisecond document engine that replaces Headless Chrome, Puppeteer, and Gotenberg for PDF generation, compiling in under 6ms with 96% less compute.
- It natively supports EU Factur-X / ZUGFeRD compliance, generating PDF/A-3b and PDF/A-2b documents with no browser overhead.
- Performance comparison: Rubrol compiles in 5.8ms vs 2,400ms for Chromium, uses 24MB vs 250MB memory, and handles 1,200 req/s vs 40 req/s.
- Legacy document generation using headless browsers causes high memory usage, GC pauses, and latency; Rubrol eliminates these with a native vector engine.
- Rubrol deploys as a microsecond sidecar in Kubernetes, serverless via Docker, or links natively into Python, Node, Go, and Rust via REST or Unix sockets.
- It automatically packages validated Cross-Industry Invoice XML into PDF/A-3b, ensuring pixel-perfect layout across architectures.
- Written in memory-safe Rust, Rubrol avoids V8 garbage collection and zombie processes, providing deterministic performance.
- tags