All Projects → EugenMayer → Docker Image Jodconverter

EugenMayer / Docker Image Jodconverter

Licence: mit
Docker image with jodconverter + libreoffice for document conversion through a REST api

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Docker Image Jodconverter

carbone
Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
Stars: ✭ 810 (+3950%)
Mutual labels:  libreoffice
maltreport
A WYSIWYG document template engine to generates .odt/.ods/docx/xlsx/doc/xls documents for .NET
Stars: ✭ 102 (+410%)
Mutual labels:  libreoffice
Online
Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
Stars: ✭ 278 (+1290%)
Mutual labels:  libreoffice
financial-forecast
Personal Financial Forecasting Model
Stars: ✭ 24 (+20%)
Mutual labels:  libreoffice
BulkPDF
BulkPDF is a free and easy to use open source software, which allows to automatically fill an existing PDF form with differen values. Only a spreadsheet (Microsoft Excel 2007/2010/2013, LibreOffice or OpenOffice Calc) with the desired values is required.
Stars: ✭ 94 (+370%)
Mutual labels:  libreoffice
workable-converter
基于libreoffice实现的文档转换项目,无框架依赖,即插即用
Stars: ✭ 74 (+270%)
Mutual labels:  libreoffice
designing-with-libreoffice
The work to translate Designing with LibreOffice book into traditional Chinese.
Stars: ✭ 17 (-15%)
Mutual labels:  libreoffice
Carbone
Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
Stars: ✭ 487 (+2335%)
Mutual labels:  libreoffice
libreoffice-starter-extension
LibreOffice Starter Extension
Stars: ✭ 22 (+10%)
Mutual labels:  libreoffice
Kbase Doc
文档在线预览编辑,文档水印 / Office files preview or edit online, doc/docx convert to html, watermark
Stars: ✭ 275 (+1275%)
Mutual labels:  libreoffice
opentbs
With OpenTBS you can merge OpenOffice - LibreOffice and Ms Office documents with PHP using the TinyButStrong template engine. Simple use OpenOffice - LibreOffice or Ms Office to edit your templates : DOCX, XLSX, PPTX, ODT, OSD, ODP and other formats. That is the Natural Template philosophy.
Stars: ✭ 48 (+140%)
Mutual labels:  libreoffice
spreadsheet
Yii2 extension for export to Excel
Stars: ✭ 79 (+295%)
Mutual labels:  libreoffice
crash
The code behind the LibreOffice crash reporter.
Stars: ✭ 20 (+0%)
Mutual labels:  libreoffice
fc-libreoffice
84 MB LibreOffice to fit inside Aliyun Function Compute compressed with Brotli
Stars: ✭ 26 (+30%)
Mutual labels:  libreoffice
Serverless Libreoffice
Run LibreOffice in AWS Lambda to create PDFs & convert documents
Stars: ✭ 410 (+1950%)
Mutual labels:  libreoffice
convert-document
A docker container for LibreOffice and unoconv, used to generate PDF files from office-type documents.
Stars: ✭ 53 (+165%)
Mutual labels:  libreoffice
libreoffice-lambda-layer
No description or website provided.
Stars: ✭ 87 (+335%)
Mutual labels:  libreoffice
Zettlr
A Markdown Editor for the 21st century.
Stars: ✭ 6,099 (+30395%)
Mutual labels:  libreoffice
Online
Read-only Mirror - no pull request (use https://gerrit.libreoffice.org instead)
Stars: ✭ 469 (+2245%)
Mutual labels:  libreoffice
neural-figures
Neural Networks Figures
Stars: ✭ 52 (+160%)
Mutual labels:  libreoffice

Wat

Uses the great implementation of Simon Braconnier JODconverter to offer LibreOffice as an Document-Converter Web-Service.

This docker image is a "all you need" and should help you running JODconverter as a WebApp utilizing the packaged LibreOffice for conversions. Ultimately this should be your "document conversion chain" service

To run this in a production-ready stack, please see the follow-up project eugenmayer/converter

Builds info

  • Official OpenJDK 11 Java (since that is what we want with docker)
  • Debian SID
  • using glibc > 1.53 to fix CPU usage of LibreOffice
  • LibreOffice is 6.1.5+ right now

Hint: We cannot split JODconverter and LibreOffice into two seperate images since for now, jodconverter has to be running on the same machine as LibreOffice. The main reason behind this is, that JODconverter does manage the LibreOffice instances itself, starts and stop them. It does not just connect to it (and if, it uses a local socket)

Run

Thats the variant with a web-GUI (see screenshot)

docker run --memory 512m --rm -p 8080:8080 eugenmayer/jodconverter:gui

Now you can connect to http://localhost:8080 with a nice web-ui for conversion

Screenshot

Or you pick the variant a REST interface only only

docker run --memory 512m  --rm -p 8080:8080 eugenmayer/jodconverter:rest

Now go on http://localhost:8080/swagger-ui.html to inspect the available endpoints. Docs under

Screenshot

For more please check the wiki at https://github.com/sbraconnier/jodconverter

To run this in a production-ready stack, please see the follow-up project eugenmayer/converter

Docker images

  • eugenmayer/jodconverter:base - OpenJDK 11: libreoffice included, also start scripts but now actual applications
  • eugenmayer/jodconverter:gui - OpenJDK 10 yet (see this issue): the WebGUI, spring based converter
  • eugenmayer/jodconverter:rest - OpenJDK 10 yet (see this issue) rest only variant

Configuration

You can configure the docker images by mounting /etc/app/application.properties and put whatever you like into them.

For example if you like to have 2 LibreOffice instances, you would put into the file

# amount of libreOffice instances to start - one for each given port. So this means 2
jodconverter.local.port-numbers: 2002, 2003
# change the tmp folder
jodconverter.local.working-dir: /tmp
# change upload sizes
spring.servlet.multipart.max-file-size: 5MB
spring.servlet.multipart.max-request-size: 5MB
# change the server port (where the REST app is listenting
server.port=8090

Build youerself

make build
make start-gui 
# or
make start-rest

now see above under "Run" how to access it

Credits

All of those please forward to sbraconnier's jodconverter - he does the real work :) And of course also credits to LibreOffice for actually giving us the headless mode and the conversion options in the first place

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].