Show HN: A DOCX editing library inspired by Rosyln's syntax trees
Category: devtools
Tags: docx, document-editing, ai-agents, tracked-changes, typescript
Score: 6.5/10 (Innovation: 6, Technical: 7, Documentation: 7, Utility: 6)
docxtor is a TypeScript library and CLI for precise, revision-aware editing of Microsoft Word (.docx) documents, designed for AI agents. Inspired by Roslyn's syntax trees, it applies targeted patches to the underlying XML instead of regenerating documents, preserving formatting, styles, and native tracked changes. It ships with an agent skill, a benchmark, and a structured patch API for LLM-driven contract editing.
Target audience: AI agent developers and backend developers working with document automation and contract review
Repository: https://github.com/Eazydraft/docxtor · TypeScript · MIT
View on Hacker News