Better HN
topnewbestaskshowjobs
Log inSign up

bigguycodes

3 karma · joined Dec 6, 2022 (3y ago) · 3 submissions

Submissions

comment 2w ago · link · parent

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.

2.

Show HN: A DOCX editing library inspired by Rosyln's syntax trees(github.com ↗)

4 points · by bigguycodes · 2w ago · 1 comment

comment 3y ago · link · parent

I find myself switching between the two types depending on how big the userbase is. If its an internal tool used by a single team consisting of 6 people, I'd fit right into type 1. OTOH, services with bigger userbases like a public facing web app definitely require the type 2 approach.