# Open-source components

Shipwave PDF combines the three supplied Shipwave services with the openly licensed PDFCraft editor and established processing, rendering and interface libraries. The root interface runs a modified PDFCraft Rust/WASM application; Shipwave's existing processing APIs, Supabase accounts, API keys and billing remain separate application components.

The dependency versions used by an installation are recorded in `package-lock.json` and `requirements.txt`. This acknowledgement describes the main components, rather than replacing their full license texts or the notices of their dependencies.

## PDFCraft document editor

**PDFCraft — MIT OR Apache-2.0, at the recipient's option.** The default interface uses the actual PDFCraft Rust/WASM editor, including its document canvas, native editing tools, menus, tabs and history. The modified source is retained under `vendor/pdfcraft/`; the pinned source and build identity are recorded in `public/pdfcraft/manifest.json`. [Upstream project](https://github.com/storytold/pdfcraft), [MIT license](../vendor/pdfcraft/LICENSE-MIT), [Apache license](../vendor/pdfcraft/LICENSE-APACHE).

The browser bundle retains `LICENSE-MIT`, `LICENSE-APACHE`, `NOTICE` and `ATTRIBUTION.md` in `public/pdfcraft/`. The source distribution also retains PDFCraft's dependency notices under `vendor/pdfcraft/licenses/`, Lucide's ISC/MIT icon notice, font OFL files, and OCR model attribution/license files. Its OCR worker/models are separately licensed components: the bundled model attribution identifies Robert Knight's Ocrs detection/recognition models under CC-BY-SA-4.0. Preserve their exact accompanying notices rather than treating the editor's top-level license as a license for every bundled asset.

PDFCraft's native Rust renderer displays the main document. PDF.js remains responsible for the Shipwave live-placement/measurement baseline overlay, service previews, thumbnails and the `/legacy` workspace. Native editing commands execute locally; the 63 existing callable Shipwave tools continue through the original server API adapter. See [the migration contract](PDFCRAFT_MIGRATION.md) for the integration boundary.

The runtime uses Shipwave branding. ArtCraft's separate name/wordmark/logo artwork is not covered by the open-source code license and is removed from the modified runtime; the repository and source archive omit `docs/brand/artcraft-*` artwork and upstream `docs/images/` reference screenshots that may embed those marks, while retaining the brand license, factual copyright attribution and other required notices. This acknowledgement does not suggest upstream endorsement or assign a new license to Shipwave code, its logo or its shipping-guide image.

## PDF processing and rendering

- **pdf-lib — MIT.** Creates and modifies PDFs, embeds pages and images, edits forms, and supports the original label, logo and document tools. [Project](https://github.com/Hopding/pdf-lib), [license](https://github.com/Hopding/pdf-lib/blob/master/LICENSE.md).
- **Mozilla PDF.js / pdfjs-dist — Apache-2.0.** Renders service previews, page thumbnails, live-placement/measurement baseline overlays and the previous `/legacy` workspace. The main PDFCraft canvas uses its native Rust renderer. [Project](https://github.com/mozilla/pdf.js), [license](https://github.com/mozilla/pdf.js/blob/master/LICENSE).
- **@pdf-lib/fontkit 1.1.1 — MIT.** Shapes direct-placement text, including kerning and mark offsets, supplies the live preview's glyph outlines, and subsets the same font into the saved PDF. The installed `package.json` and README identify the MIT license; the bundled implementation retains its incorporated third-party notices. [Project](https://github.com/Hopding/fontkit).
- **Liberation Sans bundled with pdfjs-dist — GPL-2.0 with the font's document-embedding exception.** The direct text and watermark placement mode uses `standard_fonts/LiberationSans-Regular.ttf`. Its installed `standard_fonts/LICENSE_LIBERATION` contains the Red Hat license, GPL v2 text and explicit exception for documents embedding the font or unaltered portions. The font alone therefore does not put those generated documents under GPL. Keep that exact font notice when redistributing this dependency; its terms are separate from PDF.js's Apache license and from the interface's Inter font. [Bundled font license](https://github.com/mozilla/pdf.js/blob/master/standard_fonts/LICENSE_LIBERATION).
- **PyMuPDF — AGPL-3.0 or a separate commercial license from Artifex.** The original thermal-label layout and shipping guide use PyMuPDF, pinned to `1.26.7`; the security and PDF image-export tools also use this existing PDF engine. The open-source license carries source-availability obligations, including for qualifying network use. Artifex offers a commercial licensing route for proprietary deployments. This dependency was already present in the supplied shipping-label project. [Pinned license](https://github.com/pymupdf/PyMuPDF/blob/1.26.7/COPYING), [official licensing options](https://pymupdf.io/licensing).
- **Puppeteer — Apache-2.0.** Controls Chromium for HTML, website and HTML-based Office rendering. Chromium is a separate runtime with its own third-party notices. [Project and license](https://github.com/puppeteer/puppeteer/blob/main/LICENSE), [Chromium source and license](https://github.com/chromium/chromium).
- **Sharp — Apache-2.0.** Normalizes supported images and prepares image output. Its underlying libvips and bundled codecs retain their own licenses. [License](https://github.com/lovell/sharp/blob/main/LICENSE), [libvips licensing](https://www.libvips.org/).
- **Mammoth — BSD-2-Clause.** Preserves the original DOCX-to-HTML conversion path. [Project and license](https://github.com/mwilliamson/mammoth.js/blob/master/LICENSE).
- **SheetJS Community Edition — Apache-2.0.** Reads spreadsheets for the original first-worksheet conversion. [Project and license](https://git.sheetjs.com/SheetJS/sheetjs/src/branch/master/LICENSE).
- **pdf-parse — MIT.** Extracts text blocks for the original analysis endpoint. [Project](https://gitlab.com/autokent/pdf-parse).
- **Archiver — MIT.** Packages split PDFs and multiple image outputs as ZIP downloads. [Project and license](https://github.com/archiverjs/node-archiver/blob/master/LICENSE).
- **PptxGenJS — MIT.** Creates editable text slides for the AI-generated presentation task. [Project and license](https://github.com/gitbrent/PptxGenJS/blob/master/LICENSE).
- **Pillow — MIT-CMU.** The installed Pillow 13 package uses the PIL/Pillow license identified by current metadata as MIT-CMU; older packaging often described it as HPND. Used for image composites, scan cleanup and comparison panels. [Primary license](https://github.com/python-pillow/Pillow/blob/main/LICENSE).
- **pillow-heif — BSD-3-Clause.** Decodes HEIC/HEIF image input through libheif. The libheif library uses LGPL terms, and native codecs in binary wheels retain their separate licenses. Preserve the installed `LICENSES_bundled.txt` alongside the Python package license when redistributing that stack. [Package license](https://github.com/bigcat88/pillow_heif/blob/master/LICENSE.txt), [bundled notices](https://github.com/bigcat88/pillow_heif/blob/master/LICENSES_bundled.txt), [libheif license](https://github.com/strukturag/libheif/blob/master/COPYING).
- **python-docx, openpyxl and python-pptx — MIT.** Write editable text DOCX documents, table/text XLSX workbooks and page-image PPTX decks respectively. These are distinct from the AI text-slide generator. [python-docx](https://github.com/python-openxml/python-docx), [openpyxl](https://openpyxl.readthedocs.io/en/stable/), [python-pptx](https://github.com/scanny/python-pptx).
- **rtf-parser — ISC.** Provides the bounded RTF text/style fallback when LibreOffice is unavailable. The installed package and upstream use ISC. [Project](https://github.com/iarna/rtf-parser).
- **Tesseract — Apache-2.0.** Adds a local searchable text layer through OCR. Language-trained data is installed separately. [Primary license](https://github.com/tesseract-ocr/tesseract/blob/main/LICENSE).
- **Ghostscript — AGPL-3.0 or an Artifex commercial agreement.** Handles PDF/A output and PostScript-compatible design conversion. Its license is separate from the caller's dependency acknowledgements; use the distribution's license notices and the appropriate Artifex licensing route. [Official licensing](https://www.ghostscript.com/licensing/), [Artifex licensing options](https://artifex.com/licensing).
- **QPDF — Apache-2.0.** A runtime PDF utility included where installed by the deployment. The application's current repair route uses MuPDF's recovery and rewrite path. [Official license](https://qpdf.readthedocs.io/en/stable/license.html).

## Interface and QR tools

- **SortableJS — MIT.** Supports dragging pages into the desired order. [Project and license](https://github.com/SortableJS/Sortable/blob/master/LICENSE).
- **Lucide — ISC, with MIT-licensed Feather-derived portions.** Provides a consistent interface icon set. [License and attribution](https://lucide.dev/license).
- **node-qrcode — MIT.** Generates QR codes for the PDF QR tool. [Project and license](https://github.com/soldair/node-qrcode/blob/master/license).
- **Inter — SIL Open Font License 1.1.** Served locally through `@fontsource-variable/inter` for interface typography. Font licensing is separate from the application code. [Primary license](https://github.com/rsms/inter/blob/master/LICENSE.txt).

## Web service

- **Supabase JavaScript client — MIT.** Browser authentication and session refresh. Supabase's hosted service has separate service terms. [Project and license](https://github.com/supabase/supabase-js/blob/master/LICENSE).
- **Stripe Node SDK — MIT.** Server-side Checkout, subscriptions, invoices, tax readiness and signed webhook verification. Stripe's payment services have separate service terms. [Project and license](https://github.com/stripe/stripe-node/blob/master/LICENSE).
- **PGlite — Apache-2.0.** Development-only isolated Postgres for migration, row-policy and quota regression tests; it is not part of the deployed database. [Project and license](https://github.com/electric-sql/pglite/blob/main/LICENSE).

The application server uses **Express, Multer, CORS, Compression, express-rate-limit, fs-extra and Helmet**, each under the MIT license. **dotenv** uses BSD-2-Clause and **Joi** uses BSD-3-Clause. Their installed package directories include the applicable license notices. Primary projects: [Express](https://github.com/expressjs/express), [Multer](https://github.com/expressjs/multer), [CORS](https://github.com/expressjs/cors), [Compression](https://github.com/expressjs/compression), [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit), [fs-extra](https://github.com/jprichardson/node-fs-extra), [Helmet](https://github.com/helmetjs/helmet), [dotenv](https://github.com/motdotla/dotenv), [Joi](https://github.com/hapijs/joi).

The production Docker image also contains Debian runtime packages, fonts, Chromium, Python and LibreOffice. These are separately licensed components. LibreOffice uses MPL-2.0 for its main code, with additional licenses for incorporated components. [LibreOffice licensing](https://www.libreoffice.org/about-us/licenses/). Debian package notices are retained under `/usr/share/doc` in the image.

## Application and asset ownership

AI document-generation tasks use the server's configured OpenAI-compatible service through Node's HTTP client. No generative model weights or provider SDK are bundled for those tasks; provider service terms and charges are separate from the open-source library licenses. The native OCR models described above are a different component. A configured AI request sends extracted source text only after the user invokes the operation. [API setup and result contracts](API.md#ai-document-tools).

Signature invitations optionally call a separately configured DocuSeal service. This application contains an API connector, not a bundled DocuSeal server. The upstream open-source DocuSeal application has its own AGPL license; a hosted service or commercial arrangement is managed separately. Creating a template, configuring a DocuSeal key/base URL and deliberately invoking the request-signatures route are required before an invitation can be sent. No live invitations are sent by the test suite. [Upstream project and license](https://github.com/docusealco/docuseal/blob/master/LICENSE).

No new blanket license is assigned to Shipwave's application code or branded assets by this document. The original source folders retain their provenance. The Shipwave logo and shipping-guide image are application assets, not assets supplied by the libraries above.

When redistributing dependencies, retain the corresponding copyright, license and NOTICE files. If the combined application is made public or offered under an open-source license, choose its licensing terms with the included PyMuPDF license and other dependency obligations in view; listing a dependency here does not relicense it. A commercial PyMuPDF agreement, if used, is managed separately with Artifex.

Upstream license references checked November 19, 2026. Installed license files and the pinned dependency versions remain the references for a particular release.
