

As explained this service will be part of your own web application. So what you need is an implementation of a WOPI Host. Note: The Collabora API can be found here. This API is not restricted to LibreOffice, it is also useable for Microsoft Office 365 – But I think we should continue with LibreOffice …

The WOPI Host is a Rest Service base on the WOPI API. This service is also called the ‘WOPI Host’ The WOPI Host This rest service is usually part of your Web Application. Now to get the Editor integrated into your Web Application as you can see in the first screenshot above you need to implement a Rest Service based on the WOPI API. But for a first test, just to see if you container is running you can call the so called ‘discovery’ endpoint: This URL will show you the endpoints we will use later to open a documentĪlso the capabilities endpoint can be useful: This URL shows you the version and the installed features of your LibreOffice Online instance.Īnd finally you can open the Admin Interface with the URL: For that URL you need the admin password you have defined in your docker-compose.yaml file: You will not see much, because you need a so called WOPI Host to view and edit office documents. Start the stack with : $ docker-compose up General information about the Docker Image from Collabora and an integration guide can be found here:Ī simple setup just to start the LibreOffice Online with a docker-compose.yaml file will look like this : version: "3.6" Another powerful Docker image for LibreOffice Online can be found on Github here. You can get the collabora docker image from here. Collabora is the community mainly developing the LibreOffice Online code. The Docker image is provided by LibreOffice and by Collabora. I strongly recommand to run it with Docker and docker-compose during development as things become more easy. LibreOffice Online is available as a Docker image. I will not show how you integrate the editor with a iFrame into your web application because I assume that if you plan to integrate LibreOffice Online into your own application you are familiar with all the web development stuff. In my example I will use a very simple approach just to demonstrate how thinks are working. In this Blog Post I will explain how you can integrate the LibreOffice Online Editor into your Web Application.
