# MPXJ in the browser (TaskNinja MPP Viewer)

The MPP Viewer at https://taskninja.ai/tools/mpp-viewer reads Microsoft Project files with
MPXJ 16.10.0 (https://www.mpxj.org/, LGPL-2.1-or-later), compiled to one JavaScript module by
TeaVM 0.16.0. The module is served as /vendor/mpp/mpxj-web.<hash>.js. It is a separate file that
our worker (/vendor/mpp/mpp-worker.<hash>.js) imports, so you can replace it with your own build:
any ES module exporting open(Int8Array) and info() with the same JSON works.

Complete corresponding source, served from this folder:

- mpxj-16.10.0-sources.jar: MPXJ's source, as published on Maven Central
- mpxj-web-src.zip: the mpxj-web build kit (build.sh, patch.py, shims, entry point, LICENSE, NOTICE),
  from the mpp-open project (LGPL-2.1-or-later). TaskNinja built the module with its build.sh,
  unchanged, using Java 21 (Eclipse Temurin 21.0.13) on 23 Nov 2026.
- manifest-build.json: size and SHA-256 of the module our build produced (before the file was renamed
  with its content hash).

To rebuild: unzip mpxj-web-src.zip, run ./build.sh (Java 11 or newer, python3, curl, shasum), and use
the resulting web/target/js/mpxj-web.js. Licence texts: ../LICENSE.txt (LGPL 2.1) and ../NOTICE.txt
(the Apache-2.0 and BSD components inside the module).
