Xlsx-Handlebars: Process Excel Templates with Handlebars 28x Faster Than Python
Key topics
Key highlights: - Renders 100k rows in 2.12s (~47k rows/sec), 14-28x faster than Python's openpyxl - Written in Rust, runs everywhere: native, WASM, Node.js, Deno, browsers - Full Handlebars templating: variables, conditionals, loops, custom helpers - Smart XML merging handles Handlebars syntax split by Excel's internal tags - Zero dependencies for WASM builds
Excel-specific features: - Dynamic formulas with column/row helpers - Image insertion with auto-detection - Cell merging, hyperlinks, worksheet management - Number type enforcement for proper formatting
Built-in validation ensures input files are valid XLSX before processing.
Perfect for report generation, batch exports, and data-driven Excel workflows.
Live demo: https://sail-sail.github.io/xlsx-handlebars-demo/
The author introduces xlsx-handlebars, a Rust library that generates Excel reports from templates 28x faster than Python's openpyxl, with a live demo available.
Snapshot generated from the HN discussion
Discussion Activity
No activity data yet
We're still syncing comments from Hacker News.
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Discussion hasn't started yet.