Third-Party Notices — LLOS& Tools (squash)
============================================

LLOS& Tools is free software licensed under the GNU Affero General Public
License v3.0 or later (AGPL-3.0-or-later). See LICENSE for the full text.
Source code: https://gitlab.com/llos/tools

This project combines and conveys the following third-party components.
Each retains its own license and copyright. The combined work as a whole
is conveyed under AGPL-3.0-or-later, as required when combining GPL-2.0-or-
later and AGPL-3.0 code.

---------------------------------------------------------------------------
1. FFmpeg.wasm cores (used by /video and /gif) — GPL-2.0-or-later

  - @ffmpeg/core@0.12.9 — https://github.com/ffmpegwasm/ffmpeg.wasm
    (package: https://cdn.jsdelivr.net/npm/@ffmpeg/core@0.12.9/package.json)
    License: GPL-2.0-or-later (see registry.npmjs.org/@ffmpeg%2Fcore).
  - @ffmpeg/core-mt@0.12.10 — same repo, multithreaded build.
    License: GPL-2.0-or-later.

  These cores are FFmpeg builds compiled to WebAssembly via Emscripten.
  They include x264 (https://www.videolan.org/developers/x264.html,
  GPL-2.0-or-later) for H.264 encoding, which is why the cores are GPL
  rather than LGPL.

  Copyright: FFmpeg team (see https://ffmpeg.org/legal.html),
  VideoLAN x264 contributors, and ffmpeg.wasm contributors.

  Source + build instructions:
  - https://github.com/ffmpegwasm/ffmpeg.wasm
  - https://github.com/ffmpegwasm/ffmpeg.wasm-core
  - Upstream FFmpeg: https://ffmpeg.org/download.html
  - x264: https://code.videolan.org/videolan/x264

  Loaded at runtime from jsDelivr CDN (pinned versions in
  app/components/VideoCompressor.vue and app/components/GifConverter.vue
  as ST_CORE_BASE / MT_CORE_BASE) because the ~32 MB wasm files exceed
  Cloudflare Pages' 25 MiB per-file limit. Conveying them to the browser
  counts as distribution under GPL, hence this attribution and the
  AGPL-3.0-or-later licensing of the whole site.

---------------------------------------------------------------------------
2. ffmpeg.wasm JS wrappers — MIT License

  - @ffmpeg/ffmpeg@0.12.15 — https://github.com/ffmpegwasm/ffmpeg.wasm
  - @ffmpeg/util@0.12.2 — same repo
  - @ffmpeg/types (transitive)

  MIT License; compatible with AGPL-3.0. Copyright (c) ffmpeg.wasm
  contributors (see repo for full MIT text).

---------------------------------------------------------------------------
3. Ghostscript WASM (used by /pdf) — AGPL-3.0-only

  - @jspawn/ghostscript-wasm@0.0.2
    https://github.com/jsscheller/ghostscript-wasm
    License: AGPL-3.0 (see registry.npmjs.org/@jspawn%2Fghostscript-wasm).

  Ghostscript itself: Copyright (C) Artifex Software, Inc.
  Licensed under AGPL-3.0 (9.07 and later; see
  https://ghostscript.com/licensing/ and
  https://ghostscript.readthedocs.io/en/latest/LanguageBindings.html).
  Commercial licenses are available from Artifex for proprietary use;
  this project does not use one — hence AGPL applies.

  Source: https://github.com/jsscheller/ghostscript-wasm
  Upstream: https://ghostscript.com/releases/

  Loaded at runtime from jsDelivr (GS_BASE in
  app/components/PdfCompressor.vue, executed via public/gs-worker.js).
  Conveying it to the browser counts as distribution under AGPL.

---------------------------------------------------------------------------
4. Squish — MIT License

The Image Optimizer tool (/image) is a Vue/Nuxt reimplementation of the
feature set of Squish (batch in-browser image compression).

  Squish — https://github.com/addyosmani/squish

  MIT License

  Copyright (c) 2024 Addy Osmani

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

---------------------------------------------------------------------------
5. jSquash WASM image codecs — Apache-2.0 (compatible with AGPL-3.0)

  (@jsquash/avif, @jsquash/jpeg, @jsquash/jxl, @jsquash/png, @jsquash/webp,
  @jsquash/oxipng, and the bundled Squoosh codec binaries)

  Repackaged from Squoosh — https://github.com/GoogleChromeLabs/squoosh
  Project: https://github.com/jamsinclair/jSquash

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

  Portions of the oxipng codec: MIT License, Copyright (c) 2016 Joshua Holmer.

---------------------------------------------------------------------------
6. UPNG.js — MIT License

  (used for palette PNG quantization in the Image Optimizer)
  https://github.com/photopea/UPNG.js

  MIT License

  Copyright (c) 2017 Photopea

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

---------------------------------------------------------------------------
7. Other runtime dependencies (transitive, permissive, AGPL-compatible)

  - pako — MIT License, Copyright (c) 2014-2017 Vitaly Puzrin and
    Andrei Tuputcyn — https://github.com/nodeca/pako
  - wasm-feature-detect — Apache License 2.0, Copyright 2019 Google LLC —
    https://github.com/GoogleChromeLabs/wasm-feature-detect
  - Vue / Nuxt / Vite / Tailwind CSS — MIT License
  - @fontsource-variable/inter — OFL-1.1 (SIL Open Font License)

---------------------------------------------------------------------------
8. Fonts and brand assets (separate, NOT covered by AGPL code license,
   NOT in this repo)

  - ABCSyntMono (SyntMono, Dinamo): commercial brand font. The binaries
    (ABCSyntMono-Regular.woff2/.woff) are NOT tracked in git — see
    .gitignore (`public/fonts/ABCSyntMono-*`) and
    public/fonts/README.md. They are injected at deploy time from a
    private location under LLOS&'s existing web license. Conveyed
    binaries are mere aggregation and are NOT licensed under AGPL.
    Do not extract or reuse them unless you hold your own Dinamo license.
  - public/img/logo-llos.svg, llos-logo-favicon.png: © LLOS&, all rights
    reserved as trademarks/logos. Not under AGPL.

  If you fork/re-host this project, you must either (a) hold your own
  license for ABCSyntMono and inject it the same way, or (b) use an
  OFL/Apache-licensed font and update app/assets/css/main.css
  (`--font-sans` already falls back to ui-monospace).

---------------------------------------------------------------------------
How to comply when you modify / re-host

  - Keep this NOTICE and LICENSE intact.
  - Publish your modified Corresponding Source (the whole Nuxt app plus
    build scripts) and offer it to every user who interacts with your
    deployment over the network (AGPL s.13), e.g. via a prominent
    "Source code" link pointing at a public repo.
  - Preserve the runtime source offer in the footer (Source / License /
    Notices links) and keep the pinned core versions or document any
    change, so users can rebuild an equivalent deployment.
  - FFmpeg/H.264 note: distributing H.264 encoders/decoders may implicate
    patents in some jurisdictions. Browser/OS vendors typically cover
    decoding via WebCodecs; x264-in-WASM distribution is your
    responsibility — seek legal advice if you operate commercially.
