unoserver

Server for converting documents using LibreOffice

brewmacoslinux
Try with needOr install directly
Source

About

Server for file conversions with Libre Office

Commands

unoserver

Examples

Start the UNO server listening on default port 2002$ unoserver
Start the server on a custom port$ unoserver --port 2003
Convert a document to PDF using a running unoserver instance$ libreoffice --headless --convert-to pdf --outdir /tmp document.docx