Easily convert office documents to PDF using a Go-based server and LibreOffice in headless mode.
8.2K
The Office to PDF Converter Docker image provides a simple and efficient way to convert office file formats to PDF. It uses a Go-based HTTP server as the backend and LibreOffice in headless mode for the conversion process.
This container is ideal for developers who need a quick solution for document conversion in web applications, automation pipelines, or microservices. With built-in support for multiple file formats and endpoints for health checks and conversions, it is designed to be reliable, lightweight, and easy to use.
.docx, .xlsx, .pptx, etc.) to PDF.GET /POST /convert (Upload files for conversion)5000 by default.https://pdf-converter.itthirit.io..doc, .docx, .odt, .rtf, .txt.xls, .xlsx, .ods, .csv.ppt, .pptx, .odp.svg, .html, .xmlPull the Docker image:
bash
Copy code
docker pull wteja/pdf-converter
Run the container:
bash
Copy code
docker run -p 5000:5000 wteja/pdf-converter
Endpoints:
Health Check:
bash
Copy code
curl http://localhost:5000/
Response: OK
Convert Document:
bash
Copy code
curl -X POST -F "[email protected]" http://localhost:5000/convert --output output.pdf
5000For issues or feature requests, please contact me via the Docker Hub repository or submit an issue in the GitHub repository.
Content type
Image
Digest
sha256:e7b4d5e92…
Size
778.6 MB
Last updated
3 months ago
docker pull wteja/pdf-converter