# Third-Party Notices

BOAI is licensed under the MIT License (see `LICENSE`). The distributed
application also contains the third-party components below. Full license texts
are bundled with the app under `/licenses/` and in this repository under
`web/public/licenses/`.

## FFmpeg

- Version: n7.1, commit `2f5e4b9521db2ae309e5c2dd6e409fab27e1ad99`
- License: GNU Lesser General Public License, version 2.1 or later
- Project: https://ffmpeg.org/
- Source: https://ffmpeg.org/releases/ and the Git commit above
- Bundled file: `content/asr/ffmpeg` (static linux/amd64 executable)
- License text: `licenses/FFmpeg-COPYING.LGPLv2.1`

BOAI builds FFmpeg with `--disable-everything`, `--disable-network`, no GPL
components and only the podcast demuxers, decoders, filters, the MP3 encoder
and the MP3/segment muxers needed to prepare audio for transcription. The exact
build recipe is `scripts/fetch-ffmpeg.sh` in the BOAI source repository.

LGPL section 6 (relinking): the complete corresponding source of BOAI,
including the script that builds and links this binary, is available at
https://github.com/yigiaogiao/boai. To relink against a modified FFmpeg or
LAME, rebuild with `scripts/fetch-ffmpeg.sh` and replace `asr/ffmpeg` in the
installed package. The maintainer will also provide the object files needed
for relinking on request through that repository.

## LAME

- Version: 3.100
- License: GNU Lesser General Public License, version 2.0 or later
- Project: https://lame.sourceforge.io/
- Source: https://downloads.sourceforge.net/project/lame/lame/3.100/
- License text: `licenses/LAME-COPYING`

LAME is statically linked into the bundled FFmpeg binary to provide the MP3
encoder. It is built with `--disable-shared --enable-static --disable-frontend`
and contains no other components.

## Mozilla CA Certificate Bundle

- File: `content/ca-certificates.crt`
- Source: the Mozilla CA certificate store as packaged by Debian
  `ca-certificates` (https://curl.se/ca/cacert.pem)
- License: Mozilla Public License 2.0
- License text: `licenses/MPL-2.0.txt`

The bundle is used only to verify HTTPS certificates for podcast and AI
endpoints.

## Go runtime and Go modules

- License: BSD 3-Clause (Go standard library and the modules below)
- License texts: `licenses/Go-LICENSE.txt`, `licenses/GO-MODULES.txt`

Modules included in the server binary:

- `golang.org/x/net` v0.33.0
- `golang.org/x/sys` v0.49.0
- `golang.org/x/text` v0.21.0
- `modernc.org/sqlite` v1.62.0
- `modernc.org/libc` v1.80.1
- `modernc.org/mathutil` v1.7.1
- `modernc.org/memory` v1.12.1
- `github.com/dustin/go-humanize` v1.1.0
- `github.com/google/uuid` v1.6.0
- `github.com/mattn/go-isatty` v0.0.24
- `github.com/ncruces/go-strftime` v1.1.0
- `github.com/remyoudompheng/bigfft` v0.0.0-20230129092748-24d4a6f8daec

## React and React DOM

- Version: 19.3.1
- License: MIT
- Project: https://react.dev/
- License text: `licenses/React-LICENSE.txt`

## LazyCat file picker

- Package: `@lazycatcloud/lzc-file-pickers` 2.1.3, bundled by LazyCat as the
  official file chooser integration
- Includes the Vue 3.5.13 runtime, Copyright (c) 2018-present Yuxi (Evan) You
  and Vue contributors, MIT License
- Distributed only when BOAI runs inside LazyCat OS. The license and copyright
  headers are preserved in `lazycat-injects/lzc-file-chooser-inject.js`.

## Not included

The optional local transcription engine (whisper.cpp) and its model are not
part of the store package or the Windows build. They are only built when a
deployer runs `scripts/fetch-whisper.sh` themselves.
