开源组件
ALink Tools 是一个静态网站,捆绑了一小组开源库和自行托管的字体,使每款工具都能完全在您的浏览器中运行。本项目未修改这些库的源代码。下方的许可字段和代码仓库网址已对照各软件包已发布的 package.json 进行核对。
LGPL-3.0 组件
HEIC/HEIF 解码器依 GNU 宽通用公共许可证第 3 版分发(LGPL-3.0 许可文本)。WebAssembly 构建未经修改即捆绑使用。
| 组件 | 许可与链接 |
|---|---|
| heic-to HEIC 转 JPG 工具使用的浏览器端 HEIC/HEIF 解码器。从 npm 原样捆绑,未经修改。 | LGPL-3.0 |
| libheif 编译为 WebAssembly 的 HEIF/HEIC 编解码库,未经修改地捆绑在 heic-to 中。 | LGPL-3.0 |
自行托管的字体(SIL OFL 1.1)
字体以 WOFF2 格式在本地自行托管,采用 SIL 开放字体许可证 1.1(SIL OFL 1.1 许可文本),不会向外部字体 CDN 发起任何请求。
| 字族 | 许可与代码仓库 |
|---|---|
| Inter (@fontsource/inter) 由 Rasmus Andersson 设计的自行托管可变/静态无衬线界面字体,在本地提供,不使用外部字体 CDN。 | SIL OFL 1.1 · https://github.com/rsms/inter |
| JetBrains Mono (@fontsource/jetbrains-mono) 用于代码和 JSON 编辑器的自行托管等宽字体,在本地提供,不使用外部字体 CDN。 | SIL OFL 1.1 · https://github.com/JetBrains/JetBrainsMono |
Apache-2.0 与 BSD-3-Clause 组件
| 组件 | 许可与代码仓库 |
|---|---|
| pdfjs-dist 未经修改捆绑的 Mozilla PDF.js 运行时与 Web Worker,用于本地 PDF 页面渲染和文本提取。 | Apache-2.0 · https://github.com/mozilla/pdf.js |
| Adobe CMap resources (via pdfjs-dist/cmaps) 在 /pdfjs/cmaps/ 自行托管的字符映射表,以便使用未内嵌 CID 字体(例如 STSong-Light)的 PDF 能够正确渲染,并提取其中的中文、日文或韩文。许可证文件:/pdfjs/cmaps/LICENSE。 | BSD-3-Clause · https://github.com/adobe-type-tools/cmap-resources |
| PDF.js standard fonts (Foxit / PDFium metrics; Liberation Sans OFL copies) 在 /pdfjs/standard_fonts/ 自行托管的标准 PDF 字体度量与回退字体。Foxit/PDFium 的 .pfb 文件为 BSD-3-Clause;Liberation Sans Regular 和 Bold 使用本站的 SIL OFL 1.1 副本(不是 pdfjs-dist 中附带的 GPL 许可文件)。 | BSD-3-Clause · SIL OFL 1.1 · https://github.com/mozilla/pdf.js |
| @jsquash/webp WebAssembly WebP 编码器,仅在浏览器无法原生编码 WebP 时使用(WebP 压缩和相关转换工具)。未经修改直接打包。 | Apache-2.0 · https://github.com/jamsinclair/jSquash |
| libwebp (inside @jsquash/webp) Google 的 WebP 编解码库,编译为 WebAssembly,随 @jsquash/webp 一起提供。 | BSD-3-Clause · https://chromium.googlesource.com/webm/libwebp |
| wasm-feature-detect 检测 WebAssembly SIMD 支持,以便选用更快的 WebP 编码器版本。 | Apache-2.0 · https://github.com/GoogleChromeLabs/wasm-feature-detect |
MIT 许可组件
其余本站直接依赖的库采用 MIT 许可证。JSZip 为双重许可,此处选用其 MIT 选项。
| 组件 | 代码仓库 |
|---|---|
| astro | https://github.com/withastro/astro |
| ultrahtml | https://github.com/natemoo-re/ultrahtml |
| browser-image-compression | https://github.com/Donaldcwl/browser-image-compression |
| pdf-lib | https://github.com/Hopding/pdf-lib |
| piexifjs | https://github.com/hMatoba/piexifjs |
| qrcode | https://github.com/soldair/node-qrcode |
| jszip 许可为 MIT OR GPL-3.0-or-later;此处按 MIT 选项使用。 | https://github.com/Stuk/jszip |
| upng-js 带颜色量化的 PNG 编码器,用于 PNG 压缩工具。 | https://github.com/photopea/UPNG.js |
| pako upng-js 使用的 Deflate 实现。许可为 MIT AND Zlib(zlib 移植版)。 | https://github.com/nodeca/pako |
| gifuct-js GIF 解码器,用于 GIF 压缩和 GIF 转 MP4。 | https://github.com/matt-way/gifuct-js |
| js-binary-schema-parser gifuct-js 依赖的二进制解析库。 | https://github.com/matt-way/jsBinarySchemaParser |
| gifenc GIF 编码器和调色板量化器,用于 GIF 压缩工具。 | https://github.com/mattdesl/gifenc |
| mp4-muxer 在 GIF 转 MP4 中把 WebCodecs 输出写成 MP4 文件。 | https://github.com/Vanilagy/mp4-muxer |
| three 3D 工具页面使用的 3D 加载器(STL、OBJ、glTF/GLB、PLY)、导出器、OrbitControls 和 WebGL 预览。 | https://github.com/mrdoob/three.js |
图片、OCR、AI 和视频工具
这些组件为较新的图片和视频工具提供支持。它们全都在您的浏览器中运行;不会上传任何文件。没有任何一个使用 GPL 或 AGPL 许可。mediabunny 及其 LGPL AAC 编码器列在视频、音频和文档表中。
| 组件 | 许可与代码仓库 |
|---|---|
| tesseract.js 7.0.0 + tesseract.js-core 7.0.0 用于“图片转文字”的 OCR 引擎(编译为 WebAssembly 的 Tesseract)。 | Apache-2.0 · https://github.com/naptha/tesseract.js |
| tessdata_best (int) language data 4.0.0 25 种语言的训练 OCR 模型,由本站自行托管,仅在选择某种语言时下载。 | Apache-2.0 · https://github.com/tesseract-ocr/tessdata_best |
| onnxruntime-web 1.31.1 在 CPU(WebAssembly)上运行“去除背景”和“放大图片”所用的 AI 模型。 | MIT · https://github.com/microsoft/onnxruntime |
| U²-Net (u2netp weights) “去除背景”使用的显著目标分割模型,已转换为 ONNX。 | Apache-2.0 · https://github.com/xuebinqin/U-2-Net |
| Real-ESRGAN (realesr-general-x4v3 weights) “放大图片”使用的超分辨率模型,由 ALink Tools 转换为 ONNX。 | BSD-3-Clause · https://github.com/xinntao/Real-ESRGAN |
| utif2 4.1.0 用于 TIFF 转 JPG 和 TIFF 转 PDF 的 TIFF 解码器。 | MIT · https://github.com/photopea/UTIF.js |
| jspdf 4.2.1 用于 SVG 转 PDF 的 PDF 写入器。 | MIT · https://github.com/parallax/jsPDF |
| svg2pdf.js 2.9.0 矢量 SVG 到 PDF 的转换。 | MIT · https://github.com/yWorks/svg2pdf.js |
| protobufjs, long, flatbuffers, guid-typescript, platform onnxruntime-web 的运行时依赖。 | BSD-3-Clause / Apache-2.0 / ISC / MIT · https://www.npmjs.com/package/onnxruntime-web |
| fflate, fast-png, iobuffer, cssesc, specificity, svgpath, font-family-papandreou, @babel/runtime jspdf 和 svg2pdf.js 的运行时依赖。 | MIT · https://www.npmjs.com/package/jspdf |
| idb-keyval, wasm-feature-detect, bmp-js, zlibjs, is-url tesseract.js 的运行时依赖。 | Apache-2.0 / MIT · https://www.npmjs.com/package/tesseract.js |
视频、音频和文档工具
下面的 LGPL 编码器是未经修改捆绑的独立 WebAssembly 模块;您可以从链接的源码重新构建来替换它们。没有使用任何 GPL 或 AGPL 代码。
| 组件 | 许可与代码仓库 |
|---|---|
| mediabunny 使用浏览器的 WebCodecs API 读取、转换、截取和写入 MP4、MOV、WebM、MP3 和 WAV(视频和音频工具)。 | MPL-2.0 · https://github.com/Vanilagy/mediabunny |
| @mediabunny/mp3-encoder 编译为 WebAssembly 的 LAME MP3 编码器,未经修改捆绑,仅在浏览器自身无法编码 MP3 时加载。LAME 源码:https://lame.sourceforge.io/ | MPL-2.0 (wrapper) · LAME: LGPL-2.0-or-later · https://github.com/Vanilagy/mediabunny/tree/main/packages/mp3-encoder |
| @mediabunny/aac-encoder 仅包含 FFmpeg 原生 AAC 编码器(构建时不含 GPL 部分),编译为 WebAssembly,仅在浏览器自身无法编码 AAC 时加载。FFmpeg 源码:https://ffmpeg.org/ | MPL-2.0 (wrapper) · FFmpeg AAC encoder: LGPL-2.1-or-later · https://github.com/Vanilagy/mediabunny/tree/main/packages/aac-encoder |
| SheetJS Community Edition (xlsx) 读取和写入 CSV、XLSX、XLS 和 ODS 电子表格。 | Apache-2.0 · https://git.sheetjs.com/sheetjs/sheetjs |
| codepage SheetJS 的旧式文本编码。 | Apache-2.0 · https://github.com/SheetJS/js-codepage |
| pdfmake 在 EPUB、ODT 和 RTF 转 PDF 中创建基于文本的 PDF。 | MIT · https://github.com/bpampuch/pdfmake |
| pdfkit, fontkit, linebreak, restructure, unicode-properties, unicode-trie, dfa, brotli, png-js, @pdfmake/svg-to-pdfkit, xmldoc, @noble/ciphers, @noble/hashes, base64-js pdfmake 使用的 PDF 写入和字体排版库。 | MIT · https://github.com/foliojs/pdfkit |
| Roboto (bundled with pdfmake) 文档工具所创建的 PDF 中嵌入的字体。 | SIL OFL 1.1 · https://github.com/googlefonts/roboto-3-classic |
| html-to-pdfmake 将清理后的文档 HTML 转为 pdfmake 内容。 | MIT · https://github.com/Aymkdn/html-to-pdfmake |
| rtf.js 读取 RTF 文档(及其 WMF/EMF 图片读取器)。 | MIT · https://github.com/tbluemel/rtf.js |
文档和 PDF 工具
没有使用任何 GPL 或 AGPL 代码。办公引擎仅在您打开 Office 转 PDF 页面时从其 CDN 下载。
| 组件 | 许可与代码仓库 |
|---|---|
| ZetaOffice (LibreOffice compiled to WebAssembly) 在 Word/Excel/PowerPoint 转 PDF 中将 Word、Excel 和 PowerPoint 文件转为 PDF。运行时从 cdn.zetaoffice.net 加载(不捆绑)。LibreOffice 源码:https://www.libreoffice.org/about-us/source-code/ | MPL-2.0 · https://zetaoffice.net/ |
| zetajs 通往 ZetaOffice 引擎的 JavaScript 桥接。 | MIT · https://github.com/allotropia/zetajs |
| @cantoo/pdf-lib 带加密支持的 pdf-lib 分支,用于“用密码保护 PDF”和“解锁 PDF”。 | MIT · https://github.com/cantoo-scribe/pdf-lib |
| @pdf-lib/fontkit 在 PDF 工具创建或盖章的 PDF 中嵌入字体。 | MIT · https://github.com/Hopding/fontkit |
| PptxGenJS 在 PDF 转 PPT 中写入 PowerPoint 文件(使用均为 MIT 的 jszip 和 image-size)。 | MIT · https://github.com/gitbrent/PptxGenJS |
| Liberation Sans and Liberation Mono fonts TXT 转 PDF、水印、页码和编辑 PDF 所创建的 PDF 中嵌入的字体。 | SIL OFL 1.1 · https://github.com/liberationfonts/liberation-fonts |
| Noto Sans SC, TC, JP and KR (Noto Sans CJK) 本站托管的中日韩字体(衍生自 Google Fonts Noto Sans SC/TC/JP/KR 可变 TTF:https://github.com/google/fonts),在 PDF 或 Office 工具处理中文、日文或韩文文本时按需加载。许可证:/fonts/pdf/OFL-NotoSansCJK.txt。 | SIL OFL 1.1 · https://github.com/notofonts/noto-cjk |
SketchUp 文件支持
| 组件 | 许可与代码仓库 |
|---|---|
| openskp 在 SketchUp 工具页面读取和写入 SketchUp .skp 文件,并导出 OBJ、MTL、STL 和 GLB。通过逆向工程构建;与 Trimble 或 SketchUp 没有关联。 | MIT · https://github.com/iamahsanmehmood/openskp |
| earcut (dependency of openskp) 用于 SketchUp 面的多边形三角剖分。 | ISC · https://github.com/mapbox/earcut |
| fflate (dependency of openskp) 较新 SketchUp 文件的 Zip 和 deflate 处理。 | MIT · https://github.com/101arrowz/fflate |
| flatbuffers (dependency of openskp) 与 openskp 未经修改捆绑的二进制序列化运行时。 | Apache-2.0 · https://github.com/google/flatbuffers |
PDF, text, code, audio and video tools (batch 4)
No GPL or AGPL code is used. Everything below runs in your browser.
| Component | License & source |
|---|---|
| diff (jsdiff) 9.0.0 Myers diff algorithm used by Text Diff Checker. | BSD-3-Clause · https://github.com/kpdecker/jsdiff |
| EFF Large Wordlist for Passphrases Word list (7,776 words) by the Electronic Frontier Foundation, used unmodified by Password Generator for passphrases. | CC BY 3.0 US · https://www.eff.org/dice |
| MD5 (in-house) Small MD5 implementation written for Hash Generator, following RFC 1321. SHA hashes use the browser Web Crypto API. | Original project code · https://www.rfc-editor.org/rfc/rfc1321 |
| mediabunny, @mediabunny/mp3-encoder, @mediabunny/aac-encoder Same builds as listed above; also used by Video Converter, WebM to MP4, Video to MP3, Audio Converter, MP3 to WAV, FLAC to MP3, M4A to MP3, Join Audio and Voice Recorder. | MPL-2.0 · LAME LGPL-2.0-or-later · FFmpeg AAC LGPL-2.1-or-later · https://github.com/Vanilagy/mediabunny |
| three Same build as listed above; also used by GLB to STL. | MIT · https://github.com/mrdoob/three.js |
| pdf-lib, @pdf-lib/fontkit, pdfjs-dist, heic-to, tesseract.js, pdfmake, html-to-pdfmake, Noto Sans CJK Same self-hosted builds and fonts as listed above, reused by batch 4 PDF tools (HEIC to PDF, Crop PDF, Sign PDF, Fill PDF Forms, Extract Images from PDF, OCR PDF, Redact PDF, HTML to PDF, Compress PDF to 1 MB). | MIT · Apache-2.0 · LGPL-3.0 · SIL OFL 1.1 · https://github.com/Hopding/pdf-lib |
Text tools
No GPL or AGPL code is used. Everything below runs in your browser. Speech to Text and Text to Speech call the browser Web Speech API; in Chrome and Edge, SpeechRecognition sends audio to Google’s service (see that page’s limits). They are not ALink cloud services.
| Component | License & source |
|---|---|
| marked 15 Markdown parser used by Markdown Editor. | MIT · https://github.com/markedjs/marked |
| DOMPurify 3 HTML sanitizer applied to Markdown Editor previews and HTML downloads. | Apache-2.0 (also offered as MPL-2.0; used here under Apache-2.0) · https://github.com/cure53/DOMPurify |
Utility tools
No GPL or AGPL code is used. Stopwatch, countdown, world clock, calendar and citation formatting use first-party code. Invoice and resume PDFs and ZIP handling reuse libraries already listed on this page, plus JsBarcode. Everything below runs in your browser.
| Component | License & source |
|---|---|
| JsBarcode 3.12.3 Draws 1D barcodes (Code 128, Code 39, EAN, UPC, ITF-14, MSI, Codabar, Pharmacode) on Barcode Generator. | MIT · https://github.com/lindell/JsBarcode |
| qrcode (already listed above) Also used by Wi-Fi QR Code Generator to draw the WIFI: payload as a QR image. | MIT · https://github.com/soldair/node-qrcode |
| jszip (already listed above) Also used by ZIP / Unzip to create and extract ZIP archives in the browser (MIT option; GPL is not used). | MIT · https://github.com/Stuk/jszip |
| pdf-lib and @pdf-lib/fontkit (already listed above) Also used by Invoice Generator and Resume Builder to write PDFs, with on-demand Noto CJK fonts already shipped on this site. | MIT · https://github.com/Hopding/pdf-lib |
Developer tools
No GPL or AGPL code is used. HMAC, UUID, JWT, HTML entities, XML formatting, regex testing, color conversion, timestamps, number bases, HTML tables, .htaccess rules and Base64 image conversion use first-party code and the browser Web Crypto API. The libraries below run in your browser.
| Component | License & source |
|---|---|
| js-yaml 4.3.2 YAML 1.1 parser and dumper used by YAML to JSON and JSON to YAML. Its argparse dependency is licensed Python-2.0 (permissive, not GPL). | MIT · https://github.com/nodeca/js-yaml |
| Papa Parse 5.7.1 CSV parser and unparser used by JSON to CSV and CSV to JSON. | MIT · https://github.com/mholt/PapaParse |
| cronstrue 2.59.0 Turns a cron expression into a plain-English description on Cron Expression Generator. | MIT · https://github.com/bradymholt/cronstrue |
| js-beautify 1.15.4 CSS, JavaScript and HTML pretty-printer used by CSS Formatter, JavaScript Formatter and HTML Formatter. Loaded from the browser-safe js/lib builds, not the Node CLI. | MIT · https://github.com/beautifier/js-beautify |
| sql-formatter 15.10.0 SQL pretty-printer used by SQL Formatter, with several dialects. Its argparse dependency is licensed Python-2.0 (permissive, not GPL); nearley is MIT. | MIT · https://github.com/sql-formatter-org/sql-formatter |
ALink Tools 上的工具图标、界面图标和品牌标识为本项目原创的 SVG 资源。关于这些声明的问题,可发送至我们 联系页面 上列出的地址。