Settings

Theme

Show HN: A DOCX editing library inspired by Rosyln's syntax trees

github.com

4 points by bigguycodes · 1 comment

Reader

1 thread
bigguycodesOP

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection