● WASM Playground — Read-only Beta · Engine v0.1.0-beta.20
Drop a .docx or .odt. Render it in your browser.
The same Rust core as the CLI, compiled to WebAssembly and running entirely in your tab — no upload, no server, the bytes never leave the page. This beta provides in-browser read-only pagination and Canvas2D rendering.
About 3.10 MB raw (about 1.73 MB gzip measured on engine v0.1.0-beta.20), streamed once when you visit this page and cached by the browser afterwards; no other page on this site contains this WASM payload.
This engine reports state from the real typesetting pipeline and never claims success it didn't get. Check that the file matches the Office Open XML (DOCX) or OpenDocument (ODT) specification.
Paper settings
OpenDocument Text (.odt) renders read-only — paper size stays as the document defines it.
How it works
| Input | A local .docx or .odt, read in-tab with the File API. Nothing is uploaded. |
|---|---|
| Engine | The shells/web wasm build — compiled for wasm32-unknown-unknown, a thin adapter over the same core the CLI uses, streamed on first load with progress reported. |
| Engine version | v0.1.0-beta.20 — the WASM bytes this page loads are that release's asset, verified against the sha256 recorded in playground.assets.json (the same value shown in the ready chip above). |
| Output | Line-break points and page splits from the real layout pass: shaped advances against real font metrics, Knuth-Plass breaks, pagination per sectPr geometry. |
| Editing | Read-only in this shell. The editing API has landed in the engine (v0.1.0-beta.12: 32 mutation variants across text, formatting, tables, media, sections and notes, with undo/redo), but this playground deliberately stays a faithful-rendering preview — it wires no editing loop. The editable shell is a separate deployed app: editor.quireoffice.dev/word.html. |
| Budget | First wasm payload stays under its budget (~3.10 MB raw, ~1.73 MB gzip for engine v0.1.0-beta.20, cached once on-demand); the collaboration layer is a separate deferred chunk. |
Status & Beta Scope
Read-only Beta is live. The playground now executes the real shells/web WebAssembly engine directly inside your browser tab without any server-side round-trips.
Verified corpus
The layout core is verified file by file in CI against 399 real-world DOCX files, from one-page memos to multi-megabyte technical manuals (including LibreOffice-exported files such as fdo68607.docx); write-back is 100% byte-identical.
Supported in this version
Knuth-Plass optimal line breaking, UAX#14 break rules, per-page geometry from sectPr, tables sliced across pages, header/footer field substitution, style cascade (docDefaults → basedOn → direct formatting), image placeholders and forced page breaks (w:br type="page").
Known limitations
- Read-only rendering: this version has no caret placement, text selection, or incremental IME input.
- Unsupported layout: multi-column (
w:cols) and tracked changes are not implemented yet. - Complex graphics: DrawingML vector shapes and SmartArt are known visual gaps, tracked by corpus failure clusters.
- Font rendering: the browser Canvas2D path uses system/fallback fonts, so there are small visual differences from the native HarfBuzz/swash metrics.