Re:Show HN: Extend UI – open-source UI kit for modern docume...
by andrewlu0 on Wednesday June 10, 2026 @04:35PM
(#48482295)
nice - did you write a custom parser for PDF/DOCX? we wrote one for XLSX after running into event loop issues with sheet JS
[ Parent
| on HN ]
Re:Show HN: Extend UI – open-source UI kit for modern docume...
by dvt on Wednesday June 10, 2026 @04:41PM
(#48482389)
Using lopdf[1] for PDF parsing, rtf-parser[2] for RTF, calamine[3] for XLSX, and I'm sure you know that DOCX/PPTX/etc. is basically just a zip file of XML + text. The LLM cares about textual data (which just gets moderately cleaned up post-extraction), so I (thankfully) didn't have to deal with rendering. But showing a preview or end-result to a user would be a huge plus, so I can see myself using your library.
[1] https://github.com/J-F-Liu/lopdf
Re:Show HN: Extend UI – open-source UI kit for modern docume...
by petilon on Wednesday June 10, 2026 @06:05PM
(#48483358)
What about rendering? That's the hard part.
Re:Show HN: Extend UI – open-source UI kit for modern docume...
by andrewlu0 on Wednesday June 10, 2026 @06:45PM
(#48483822)
we built a library @extend-ai/react-xlsx on top of it that renders the parsed contents onto a canvas
testing was mostly manual with a test corpus we generated. its not perfect but its pretty close for most files we've seen
Re:Show HN: Extend UI – open-source UI kit for modern docume...
by dvt on Wednesday June 10, 2026 @06:25PM
(#48483601)
For me, rendering was just a nice-to-have.
Re:Show HN: Extend UI – open-source UI kit for modern docume...
by petilon on Wednesday June 10, 2026 @06:40PM
(#48483759)
Sorry I meant to ask the author of Extend UI not you.