Skip to content

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

github.com/clark-labs-inc
10 pointsstan_kirdey1 comment
On HN

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 ```

Comments

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"

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.