Show HN: A DOCX editing library inspired by Rosyln's syntax trees
github.com
1 thread
A bit on the design: Docxtor uses a representation of the document where the semantic layer (text, tables, lists, etc) is different from the presentation layer (the raw OOXML)
The semantic layer is what the agent sees and edits via "patches". These are then validated against the document and mapped to the underlying presentation layer objects.
Since the OOXML objects are a 1:1 replica of the original document you (usually) get a byte-identical document back (except the change that was made).
I've also packaged a self-contained skill for AI agents.
Would be particularly interested in feedback from people who have previously worked with OOXML or built document-editing workflows.