alt.hn

5/21/2026 at 8:23:37 PM

Show HN: Open-source .docx editor library for building document apps

https://github.com/eigenpal/docx-editor

by thisisjedr

5/22/2026 at 10:44:45 AM

A really solid looking editor! Just a heads up on small, mobile screen sizes: the UI elements of the top row overlap unusably, the rest of the UI seems usable just quite zoomed in and I really had to pan around a lot to do anything. Fundamentally a solid and usable UI, I’d recommend a little more polish on smaller screen sizes. Good work!

by aejm

5/22/2026 at 11:17:01 AM

Noted, and thanks for the feedback! It's on our roadmap to better support mobile experience

by thisisjedr

5/22/2026 at 7:55:49 AM

Hi! I was looking at `@eigenpal/docx-editor-agents`—would that be a viable option for fetching the content of Word docs in agentic workflows? I'm currently using Pandoc to extract an MD version, but I'm not sure how true to the actual document that is (e.g., with comments). Thanks!

by unD

5/22/2026 at 9:20:01 AM

[dead]

by thisisjedr

5/22/2026 at 1:29:55 PM

Do you plan to handle bigger documents? I tested your live demo with ~40 pages (copy pasting the demo) and was quite unusable for writing.

by 6f17f2dd

5/22/2026 at 2:03:31 PM

Thanks for reporting! We do have perf tests for editing docs over 50 pages, but something in the demo doc must indeed be slowing edits down, this is not expected behaviour. Filed an issue https://github.com/eigenpal/docx-editor/issues/590

by thisisjedr

5/21/2026 at 11:35:35 PM

I’ve built something similar but for PDFs. Know the pain too well. Best wishes!

by pryelluw

5/22/2026 at 2:22:52 AM

Interesting! Would love to check that out as well, have you released it?

by pulkitanand

5/22/2026 at 2:40:09 AM

It was an internal enterprise tool that will never be public.

by pryelluw

5/22/2026 at 5:50:26 AM

Thank you!

by thisisjedr

5/21/2026 at 11:39:38 PM

Holy shit, this is exactly what I needed for a major client. The track changes specifically, and being able to do it from Typescript. You have no idea how happy you just made me.

Edit: Did you just make this repo public? Last week I was scouring the internet for something like this and couldn't find it.

by radial_symmetry

5/22/2026 at 5:56:19 AM

Happy to hear that! :)

The repo has actually been public for ~3 months, but we only launched the project homepage https://www.docx-editor.dev recently, so search engines are still catching up.

> I was scouring the internet for something like this and couldn't find it.

Interested to hear how can we make it more discoverable? What keywords were you searching for ?

by thisisjedr

5/21/2026 at 11:59:18 PM

This looks really impressive. How hard was it to implement this in typescript?

by bobajeff

5/22/2026 at 5:50:09 AM

Thanks! The hard here part is not typescript implementation but it's catching Word undocumented quirks.

The OOXML spec gets you far but doesn't cover 100% of how Word renders things. Community feedback has helped a lot here, users attach docs (in gh issues) that break rendering, we can reproduce against Word, fix the engine, and keep tightening fidelity.

by thisisjedr

5/22/2026 at 2:13:19 AM

This looks amazing!

by bradneuberg

5/22/2026 at 5:50:33 AM

Thanks!

by thisisjedr

5/22/2026 at 9:42:42 AM

Excellent work

by r0b05

5/22/2026 at 1:32:49 AM

[flagged]

by mckim890