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.
- Host: GitHub
- URL: https://github.com/chanmo/docker-unoserver
- Owner: ChanMo
- License: mit
- Created: 2023-09-07T03:20:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-09T00:45:36.000Z (over 1 year ago)
- Last Synced: 2025-04-15T13:48:19.741Z (about 1 year ago)
- Topics: libreoffice, soffice, unoserver
- Language: Python
- Homepage:
- Size: 44.7 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```