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

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

A file format conversion service based on Unoserver.
https://github.com/chanmo/docker-unoserver

libreoffice soffice unoserver

Last synced: 5 months ago
JSON representation

A file format conversion service based on Unoserver.

Awesome Lists containing this project

README

          

# Docker Unoserver

A file format conversion service based on Unoserver.

For more tools to help you manage and use your documents, visit [Awesome Document](https://www.chanmo.me/awesome_document.html)

## How to use

```
docker pull chanmo/unoserver
```

Start http server
```
docker run -p 5000:5000 chanmo/unoserver
```

convert a docx file to the pdf format
```
http -f POST :5000/convert/pdf file@/path/to/demo.docx -o demo.pdf
```

If you just want to refresh the TOC in a docx file.
```
http -f POST :5000/convert/docx file@/path/to/demo.docx -o demo.docx
```