3 ms·
Show HN: LibreOffice-rs – I built a pure-Rust LibreOffice using autoresearch
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 5mo agoHoly deceptive naming I was expecting something like "I spent a month and half a million dollars in claude tokens and ported libreoffice to rust"