112 lines
6.9 KiB
Markdown
112 lines
6.9 KiB
Markdown
# Third-Party Licenses
|
|
|
|
The project itself is licensed under the **GNU General Public License v3.0** (see [`LICENSE`](LICENSE)).
|
|
The following files in this repository are **not** covered by the GPL-3.0 and keep their own license:
|
|
|
|
| File | Component | License |
|
|
|---|---|---|
|
|
| `lib/highlight.js` | [Highlight.js](https://github.com/highlightjs/highlight.js) v11.9.0 | [BSD-3-Clause](#bsd-3-clause) |
|
|
| `lib/hljs_line_numbers.js` | [highlightjs-line-numbers](https://github.com/yury-dymov/highlightjs-line-numbers) | [MIT](#mit-license) |
|
|
| `theme/cookie.woff2` | "Cookie" font, © 2011 [Ania Kruk](https://fonts.google.com/specimen/Cookie) | [SIL Open Font License 1.1](https://openfontlicense.org/) |
|
|
| `assets/palette-coffee.png` | Coffee / Coffee Latte palette image generated from [megabyte0x/omarchy-coffee-theme](https://github.com/megabyte0x/omarchy-coffee-theme) (repo: MIT) | [MIT](#mit-license) |
|
|
| `assets/palette-harbor.png` | Harbor / Harbordark palette image generated from [HANCORE-linux/omarchy-harbor-theme](https://github.com/HANCORE-linux/omarchy-harbor-theme) (repo: MIT) | [MIT](#mit-license) |
|
|
| `assets/palette-gruvbox.png` | Gruvbox palette image generated from [morhetz/gruvbox](https://github.com/morhetz/gruvbox) (repo: MIT) | [MIT](#mit-license) |
|
|
| `theme/blog_share_theme_coffee.css` | Coffee / Coffee Latte color scheme from [megabyte0x/omarchy-coffee-theme](https://github.com/megabyte0x/omarchy-coffee-theme) (repo: MIT) | [MIT](#mit-license) |
|
|
| `theme/blog_share_theme_harbor.css` | Harbor / Harbordark color scheme from [HANCORE-linux/omarchy-harbor-theme](https://github.com/HANCORE-linux/omarchy-harbor-theme) (repo: MIT) | [MIT](#mit-license) |
|
|
| `theme/blog_share_theme_gruvbox.css` | Gruvbox color scheme from [morhetz/gruvbox](https://github.com/morhetz/gruvbox) (repo: MIT) | [MIT](#mit-license) |
|
|
| `theme/blog_share_theme_solarized.css` | Solarized color scheme by [Ethan Schoonover](https://ethanschoonover.com/solarized/) | [MIT](#mit-license) |
|
|
| `theme/blog_share_theme_tokyonight.css` | Tokyo Night color scheme from [folke/tokyonight.nvim](https://github.com/folke/tokyonight.nvim) | [Apache-2.0](#apache-2.0) |
|
|
| `assets/palette-solarized.png` | Solarized palette image (Ethan Schoonover) | [MIT](#mit-license) |
|
|
| `assets/palette-tokyonight.png` | Tokyo Night palette image from [folke/tokyonight.nvim](https://github.com/folke/tokyonight.nvim) | [Apache-2.0](#apache-2.0) |
|
|
| `lib/3d/three.min.js`, `lib/3d/OrbitControls.js`, `lib/3d/STLLoader.js` | [three.js](https://github.com/mrdoob/three.js) r128 | [MIT](#mit-license) |
|
|
| `lib/3d/occt-import-js.js`, `lib/3d/occt-import-js.wasm` | [occt-import-js](https://github.com/kovacsv/occt-import-js) (OpenCASCADE, WASM) | [LGPL-2.1](#lgpl-21) |
|
|
| `lib/3d/occt-wasm-bundle.js`, `lib/3d/occt-wasm.wasm` | [occt-wasm](https://github.com/andymai/occt-wasm) (OpenCASCADE **OCCT V8**, WebAssembly, esbuild-bundled `OcctKernel`) | [MIT OR Apache-2.0](#mit-license) |
|
|
| `scripts/bmc_button.js` | embeds the Trilium logo (SVG) from [Trilium/TriliumNext](https://github.com/TriliumNext/Trilium) | [AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.txt) |
|
|
|
|
## BSD-3-Clause
|
|
|
|
```
|
|
Copyright (c) <year> <owner>. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification,
|
|
are permitted provided that the following conditions are met:
|
|
|
|
1. Redistributions of source code must retain the above copyright notice, this
|
|
list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
this list of conditions and the following disclaimer in the documentation
|
|
and/or other materials provided with the distribution.
|
|
|
|
3. Neither the name of the copyright holder nor the names of its contributors
|
|
may be used to endorse or promote products derived from this software without
|
|
specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
```
|
|
|
|
## MIT License
|
|
|
|
```
|
|
MIT License
|
|
|
|
Copyright (c) <year> <copyright holders>
|
|
|
|
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.
|
|
```
|
|
|
|
## SIL Open Font License 1.1
|
|
|
|
The Cookie font is licensed under the SIL Open Font License, Version 1.1.
|
|
The full license text is available at <https://openfontlicense.org/> or
|
|
<https://raw.githubusercontent.com/google/fonts/main/ofl/cookie/OFL.txt>.
|
|
|
|
Copyright (c) 2011 by Ania Kruk, with Reserved Font Name "Cookie".
|
|
|
|
## LGPL-2.1
|
|
|
|
`occt-import-js` is distributed under the GNU Lesser General Public License v2.1
|
|
(<https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>). OpenCASCADE is LGPL-2.1 as well;
|
|
the WASM blob is loaded at runtime by `scripts/3d_model_viewer.js` and is not statically linked.
|
|
|
|
> Note: the 3D viewer now uses **`occt-wasm`** (OCCT V8, MIT/Apache-2.0) instead of
|
|
> `occt-import-js` as its STEP engine. The `occt-import-js` files are kept for reference /
|
|
> fallback only.
|
|
|
|
## AGPL-3.0
|
|
|
|
The Trilium logo embedded in `scripts/bmc_button.js` belongs to the Trilium /
|
|
TriliumNext project and is used under the terms of the GNU Affero General
|
|
Public License v3.0 (<https://www.gnu.org/licenses/agpl-3.0.txt>).
|
|
## Apache-2.0
|
|
|
|
The Tokyo Night color scheme (in `theme/blog_share_theme_tokyonight.css` and
|
|
`assets/palette-tokyonight.png`) is derived from
|
|
[tokyonight.nvim](https://github.com/folke/tokyonight.nvim) and used under the
|
|
Apache License 2.0 (<https://www.apache.org/licenses/LICENSE-2.0>).
|