An open API service indexing awesome lists of open source software.

https://github.com/chanmo/docker-libreoffice

Libreoffice Restful API
https://github.com/chanmo/docker-libreoffice

Last synced: 8 months ago
JSON representation

Libreoffice Restful API

Awesome Lists containing this project

README

          

* Docker Libreoffice Restful API

Document Format Convert API, Generate TOC API

** Usage

Start API Service
#+BEGIN_SRC bash
docker run --rm -p 5000:5000 chanmo/libreoffice
#+END_SRC

File Format Convert
#+BEGIN_SRC bash
http -f POST :5000/convert/pdf file@/path/to/doc.docx
#+END_SRC

Generate Doc TOC
#+BEGIN_SRC bash
http -f POST :5000/generate_toc file@/path/to/doc.docx
#+END_SRC

** Custom Fonts

Add your font files to fonts directory, then rebuild docker image.

** References

1. https://github.com/lynxtaa/unoserver-web/blob/master/Dockerfile