This page describes the port of LibreOffice to WebAssembly (aka WASM) using the Emscripten toolchain, currently targeting the Qt5 VCL backend. The goal is to cross-compile LibreOffice to run in the Browser, maybe with some native UI using LibreOfficeKit. Eventually we can target some WASI runtime or node.js in the future.
Work is ongoing in branch https://git.libreoffice.org/core/+/refs/heads/feature/wasm, until it's not completely broken. State for the while: configure setup runs and the build passes, but no binaries work yet.
If you want to help out or have questions, poke jmux or alg or thorsten on IRC (#libreoffice-dev).
Setup, build and further information
Instead of keeping outdated info here, please check out the README.wasm of that branch.
- SBOM (software bill of materials), derived from Debian's LibreOffice packages: https://share.allotropia.de/s/CfHFDztbsAskW55
- CI setup script (TBD for gerrit/Jenkins, once feature/wasm is merged to master): https://git.libreoffice.org/lode/+/556c58e361843881560dc378af4cf0397cfcee29
- if you prepare building against a controlled container setup, perhaps this is better: https://git.libreoffice.org/lode/+/ccb36979563635b51215477455953252c99ec013