All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Office Open XML Viewer: AI-generated browser-based document renderer using Rust/WASM and Canvas 2D

By

maxloh

3h ago· 16 min readenCode

Summary

A browser-based viewer for Office Open XML documents (DOCX, XLSX, PPTX) that renders to an HTML Canvas element. The parsers are written in Rust and compiled to WebAssembly, while the renderers use the Canvas 2D API. Notably, the entire codebase — including Rust parsers, TypeScript renderers, tests, and tooling — was generated entirely by Claude (Anthropic's AI assistant) through iterative prompting, with no human-written application code in the repository.

Key quotes

· 5 pulled
This entire codebase — Rust parsers, TypeScript 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 WebAssembly; the renderers use the Canvas 2D API.
Each format also exposes a headless engine (DocxDocument / XlsxWorkbook / PptxPresentation) that renders into any caller-supplied canvas.
Snippet from the RSS feed
Contribute to yukiyokotani/office-open-xml-viewer development by creating an account on GitHub.

You might also wanna read