F-Office: Rust layout, rendering and editing engine for DOCX built for AI agents
F-Office: Rust layout, rendering and editing engine for DOCX built for AI agents
F-Office is an MIT-licensed Rust engine for DOCX layout, rendering and editing that aims to reproduce Microsoft Word pagination, offering a CLI (foffice), a WebAssembly engine (@f-office/core), a framework-free <f-office-docs> Web Component and a React 19 UI. It supports atomic JSON edit lists, page-change reporting, PDF/PNG rendering and cropped visual diffs, and bundles metric-compatible open fonts from Compatifont so line breaks match across machines without Word or Windows. The project is at 0.x, with text, tables, sections, floating objects, charts and comments/tracked changes listed as partial or planned, and XLSX and PPTX support planned next.
Source: Hacker News AI · github.com