Scoopfeeds — Intelligent news, curated.
computer-science

Silurus/ooxml: Pixel-faithful Office documents, rendered in the browser

Hacker News · Jun 7, 2026, 5:22 PM

Key takeaways

  • This entire codebase — Rust parsers, Type Script renderers, tests, and tooling — was implemented by Claude (Anthropic's AI assistant) through iterative prompting.
  • A browser-based viewer for Office Open XML documents that renders to an HTML Canvas element.
  • npm install @silurus/ooxml # or pnpm add @silurus/ooxml Bundler note: this package embeds .wasm files.

This entire codebase — Rust parsers, Type Script renderers, tests, and tooling — was implemented by Claude (Anthropic's AI assistant) through iterative prompting. No human-written application code exists in this repository.

A browser-based viewer for Office Open XML documents that renders to an HTML Canvas element. The parsers are written in Rust and compiled to Web Assembly; the renderers use the Canvas 2D API. Each format also exposes a headless engine (Docx Document / Xlsx Workbook / Pptx Presentation) that renders into any caller-supplied canvas, so you can compose your own UI — scroll views, thumbnail grids, master-detail panes — instead of being locked into the built-in viewer. See the Examples section in the Storybook demo.

npm install @silurus/ooxml # or pnpm add @silurus/ooxml Bundler note: this package embeds .wasm files. With Vite add vite-plugin-wasm; with webpack use experiments.asyncWebAssembly.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop