Settings

Theme

Show HN: LibreOffice-rs – I built a pure-Rust LibreOffice using autoresearch

github.com

10 points by stan_kirdey 11 days ago · 1 comment · 1 min read

Reader

Hey HN,

I built libreoffice-rs: a pure-Rust, std-only library + CLI for reading, writing, converting, and rendering office documents — with *zero* LibreOffice, Java, or C dependencies.

100x faster... I know, I know.

It supports DOCX, XLSX, PPTX, ODT/ODS/ODP, PDF, Markdown, CSV, HTML, SVG, and more. The CLI is designed to feel familiar:

```bash cargo install libreoffice-pure

# soffice-style usage libreoffice-pure --headless --convert-to pdf report.docx libreoffice-pure --headless --convert-to csv spreadsheet.xlsx

# Markdown extraction libreoffice-pure docx-to-md report.docx report.md libreoffice-pure pptx-to-md slides.pptx slides.md

# Render pages as images libreoffice-pure docx-to-pngs report.docx pages/ --dpi 144 ```

kasabali 10 days ago

Holy deceptive naming

I was expecting something like "I spent a month and half a million dollars in claude tokens and ported libreoffice to rust"

Keyboard Shortcuts

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