# 授權條款

你可以用 OpenLibs 做什麼，以及它使用的每個開放原始碼元件及其授權條款與原始碼。

## 我們的程式碼

OpenLibs 的程式碼（應用程式與程式庫）是採用 MIT 授權的自由軟體。

## Copyleft 元件

這些元件採用 copyleft 授權（LGPL，或包含 LGPL 部分）。所列應用程式以獨立、未修改的模組載入它們，完整原始碼的連結在此。

- **@imagemagick/magick-wasm** (Apache-2.0 + LGPL parts): 包含 libde265、libheif、LibRaw、glib、liblqr 的 ImageMagick（影像工坊、影像轉換器）. 原始碼: https://github.com/dlemstra/magick-wasm/tree/40cec4c82fd8b1aed68eeeee8e6812e6bf377bae
- **@breezystack/lamejs** (LGPL-3.0): MP3 編碼器（音訊編輯器）. 原始碼: https://github.com/shijinyu/lamejs/tree/1fb0ef5fa177413107e2e107d054a9b994e3f79c
- **eecircuit-engine** (MIT + ngspice (BSD-3-Clause, LGPL-2 parts)): ngspice 電路模擬器（電路圖編輯器）. 原始碼: https://github.com/danchitnis/ngspice-sf-mirror/tree/724dc77b9153dc75eaec474b1f7a44f1fcf5f362

## 所有程式庫

| 名稱 | 版本 | 授權 |
|---|---|---|
| @babel/runtime | 7.25.6 | MIT |
| @breezystack/lamejs | 1.2.7 | LGPL-3.0 |
| @embedpdf/pdfium | 2.15.1 | MIT |
| @imagemagick/magick-wasm | 0.0.35 | Apache-2.0 |
| @kurkle/color | 0.3.4 | MIT |
| @popperjs/core | 2.11.8 | MIT |
| @sgratzl/boxplots | 2.0.0 | MIT |
| @sgratzl/chartjs-chart-boxplot | 4.4.5 | MIT |
| @simonwep/pickr | 1.10.2 | MIT |
| @upsetjs/venn.js | 2.0.0 | MIT |
| automation-events | 7.1.19 | MIT |
| bootstrap-icons | 1.11.3 | MIT |
| bootstrap | 5.3.3 | MIT |
| canvas2svg | 1.0.16 | MIT |
| canvg | 4.0.3 | MIT |
| chart.js | 4.4.1 | MIT |
| chartjs-adapter-date-fns | 3.0.0 | MIT |
| chartjs-chart-error-bars | 4.4.5 | MIT |
| chartjs-chart-financial | 0.2.1 | MIT |
| chartjs-chart-funnel | 4.2.5 | MIT |
| chartjs-chart-geo | 4.3.6 | MIT |
| chartjs-chart-graph | 4.3.5 | MIT |
| chartjs-chart-matrix | 2.1.1 | MIT |
| chartjs-chart-sankey | 0.14.0 | MIT |
| chartjs-chart-treemap | 3.1.0 | MIT |
| chartjs-chart-venn | 4.3.7 | MIT |
| chartjs-chart-wordcloud | 4.4.5 | MIT |
| chartjs-plugin-annotation | 3.1.0 | MIT |
| chartjs-plugin-crosshair | 2.0.0 | MIT |
| chartjs-plugin-datalabels | 2.2.0 | MIT |
| chartjs-plugin-trendline | 3.3.0 | MIT |
| chartjs-plugin-zoom | 2.2.0 | MIT |
| chroma-js | 3.3.0 | (BSD-3-Clause AND Apache-2.0) |
| complex.js | 2.4.3 | MIT |
| d3-array | 3.2.5 | ISC |
| d3-cloud | 1.2.9 | BSD-3-Clause |
| d3-color | 3.1.1 | ISC |
| d3-dispatch | 3.0.2 | ISC |
| d3-force | 3.0.1 | ISC |
| d3-geo | 3.1.2 | ISC |
| d3-hierarchy | 3.1.3 | ISC |
| d3-interpolate | 3.0.2 | ISC |
| d3-quadtree | 3.0.2 | ISC |
| d3-scale-chromatic | 3.1.1 | ISC |
| d3-timer | 3.0.2 | ISC |
| date-fns | 4.4.0 | MIT |
| decimal.js | 10.6.0 | MIT |
| dejavu-fonts-ttf | 2.37.3 | Bitstream Vera Fonts License (free, redistributable); DejaVu changes are public domain |
| dompurify | 3.4.17 | (MPL-2.0 OR Apache-2.0) |
| eecircuit-engine | 1.9.0 | MIT |
| escape-latex | 1.2.0 | MIT |
| esm.sh node polyfills (unenv) |  | MIT, BSD-3-Clause |
| fabric | 5.3.0 | MIT |
| fflate | 0.8.2 | MIT |
| fraction.js | 4.3.4 | MIT |
| gifenc | 1.0.3 | MIT |
| hammerjs | 2.0.8 | MIT |
| html2canvas | 1.4.1 | MIT |
| iconify-icon | 2.1.0 | MIT |
| imagetracerjs | 1.2.6 | Unlicense |
| javascript-natural-sort | 0.7.1 | MIT |
| jsbarcode | 3.11.6 | MIT |
| jspdf | 2.5.2 | MIT |
| jszip | 3.10.1 | (MIT OR GPL-3.0-or-later) |
| mathjs | 12.4.3 | Apache-2.0 |
| mediabunny | 1.66.0 | MPL-2.0 |
| pdfjs-dist | 3.11.174 | Apache-2.0 |
| performance-now | 2.1.0 | MIT |
| qr-code-styling | 1.9.2 | MIT |
| raf | 3.4.1 | MIT |
| rgbcolor | 1.0.1 | MIT OR SEE LICENSE IN FEEL-FREE.md |
| seedrandom | 3.0.5 | MIT |
| stackblur-canvas | 2.7.0 | MIT |
| standardized-audio-context | 25.3.77 | MIT |
| svg-pathdata | 6.0.3 | MIT |
| tiny-emitter | 2.1.0 | MIT |
| tone | 15.5.66 | MIT |
| topojson-client | 3.1.0 | ISC |
| tslib | 2.9.1 | 0BSD |
| typed-function | 4.2.2 | MIT |
| wavesurfer.js | 7.12.12 | BSD-3-Clause |
| world-atlas | 2.0.2 | ISC |

## 授權相關問題

### 我可以將用 OpenLibs 製作的內容用於商業用途嗎？

可以。授權條款適用於軟體，而非你的成果：你創作的影像、文件、影片、音訊與電路圖都屬於你。

### 我可以在封閉原始碼的產品中使用 OpenLibs 的程式庫嗎？

可以，它們採用 MIT：保留著作權聲明即可。請檢查與其一併散布的相依套件授權（見上表）。

### 影片編輯器不用 FFmpeg 如何轉換影片？

它透過 Mediabunny（MPL-2.0，未經修改）使用瀏覽器內建的編解碼器（WebCodecs）。OpenLibs 不散布任何影片編解碼器，因此不涉及 GPL 程式碼，也不涉及編解碼器專利；編解碼器由瀏覽器廠商取得授權。

### LGPL 對音訊與影片編輯器的 MP3 編碼器代表什麼？

lamejs（LGPL-3.0）以可替換的獨立模組載入；編輯器自身的程式碼仍採用 MIT。若你修改 lamejs 本身並散布，請公開這些修改。

### 原始碼在哪裡？

OpenLibs 的程式碼在 GitHub 上，每個程式庫一個儲存庫。每個第三方元件的原始碼都在本頁表格中提供連結。

