# Licenças

O que pode fazer com o OpenLibs, e cada componente de código aberto que ele usa, com a sua licença e o seu código-fonte.

## Nosso código

O código do OpenLibs (as aplicações e as bibliotecas) é software livre sob a licença MIT.

## Componentes copyleft

Estes componentes estão sob licenças copyleft (LGPL, ou incluem partes LGPL). As aplicações indicadas carregam-nos como módulos separados e sem modificações, e o código-fonte completo tem ligação aqui.

- **@imagemagick/magick-wasm** (Apache-2.0 + LGPL parts): ImageMagick com libde265, libheif, LibRaw, glib, liblqr (Oficina de imagens, Conversor de imagens). Código-fonte: https://github.com/dlemstra/magick-wasm/tree/40cec4c82fd8b1aed68eeeee8e6812e6bf377bae
- **@breezystack/lamejs** (LGPL-3.0): Codificador MP3 (Editor de áudio). Código-fonte: https://github.com/shijinyu/lamejs/tree/1fb0ef5fa177413107e2e107d054a9b994e3f79c
- **eecircuit-engine** (MIT + ngspice (BSD-3-Clause, LGPL-2 parts)): Simulador de circuitos ngspice (Editor de esquemas). Código-fonte: https://github.com/danchitnis/ngspice-sf-mirror/tree/724dc77b9153dc75eaec474b1f7a44f1fcf5f362

## Todas as bibliotecas

| Nome | Versão | Licença |
|---|---|---|
| @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 |

## Perguntas sobre licenças

### Posso usar comercialmente o que crio com o OpenLibs?

Sim. As licenças aplicam-se ao software, não aos seus resultados: imagens, documentos, vídeos, áudios e esquemas que cria são seus.

### Posso usar as bibliotecas do OpenLibs em um produto de código fechado?

Sim, elas são MIT: mantenha o aviso de copyright. Verifique as licenças das dependências que distribui com elas (tabela acima).

### Como o editor de vídeo converte vídeo sem FFmpeg?

Ele usa os codecs embutidos no seu navegador (WebCodecs) por meio do Mediabunny (MPL-2.0, usado sem modificações). O OpenLibs não distribui nenhum codec de vídeo, então não há código GPL nem patentes de codec envolvidos; os fabricantes dos navegadores licenciam os codecs.

### O que a LGPL significa para o codificador MP3 dos editores de áudio e vídeo?

O lamejs (LGPL-3.0) é carregado como módulo separado e substituível; o código dos editores continua MIT. Se alterar o próprio lamejs e distribuí-lo, publique essas alterações.

### Onde está o código-fonte?

O código do OpenLibs está no GitHub, um repositório por biblioteca. O código-fonte de cada componente de terceiros tem ligação nas tabelas desta página.

