Show HN: Open a 300k-row XLSX in the browser in ~300ms, no server github.com · 1...

@show

Show HN: Open a 300k-row XLSX in the browser in ~300ms, no server github.com · 15 points · 1 comments · HN thread

TL;DR A Show HN project, office-engine, is an MIT-licensed React/web-component library for viewing and editing DOCX, XLSX and PPTX files in the browser without a server. It claims progressive loading via HTTP Range requests and a Web Worker parser, with a 300k-row XLSX first painting in about 330 ms and fully loading in about 2 s in headless Chromium on Apple M-series hardware.

  • Renders DOCX, XLSX and PPTX client-side, with editing and saving back to the original format.
  • Progressive loading: lazy ZIP reading, HTTP Range requests and a streaming XML parser in a Web Worker so the UI does not block.
  • Virtualized rendering of only visible pages, cells and slides.
  • Benchmarks: 300k-row × 12-column XLSX (24.8 MB) first paint ~330 ms, fully loaded ~2 s; 20k-paragraph DOCX (1.2 MB) fully loaded in ~2 s; 305-slide PPTX first paint ~110 ms.
  • Fast save regenerates only edited parts and keeps other bytes unchanged; XLSX supports 134 formulas.
  • Embedding options: a React component (DocViewer), a hook, a vanilla mount() function, an web component, and a single script bundle. Real-time collaboration is also listed as a feature.

Discussion The thread is essentially empty: one commenter wrote "interesting!" and there were no replies. There is no visible debate about performance claims, licensing, or the editing approach, so the mood is neutral and the project has received only minimal attention so far.

#officeFormats #browserEditing #react #webAssembly #spreadsheets #showHN