Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Show HN: Leafwright – Generate PDFs without running headless Chrome

Leafwright is a tool that generates PDFs without requiring headless Chrome, offering an alternative approach to PDF creation from web content.

Background

Leafwright is a new open-source tool for generating PDFs from HTML and CSS without needing a full headless Chrome browser. Headless Chrome (or similar browser engines) is the conventional way to render web content into PDFs, but it's heavy on memory and processing, making it impractical for serverless or resource-constrained environments. Leafwright aims to replace that stack with a lighter, more efficient approach. This matters because many developers build systems that generate invoices, reports, or tickets as PDFs—and the standard tooling (Puppeteer, Playwright) requires a significant server footprint. The "Show HN" prefix means the project was posted on Hacker News by its creator, typically to solicit early feedback from the tech community.

Related stories