Open source licenses
PocketDesk is built with these open source libraries. Thank you to their authors.
libheif is licensed under the LGPL-3.0. PocketDesk uses the unmodified libheif-js build as a separate module that is loaded only on HEIC pages; its source is available at that link and at github.com/strukturag/libheif.
| Library | License | Used for |
|---|---|---|
| Astro | MIT | Static site framework |
| Preact | MIT | Interface components |
| Tailwind CSS | MIT | Styling |
| Comlink | Apache-2.0 | Web Worker calls |
| fflate | MIT | ZIP files |
| libheif-js | LGPL-3.0 | HEIC decoding. Used unmodified as a separate module loaded only on HEIC pages |
| @jsquash/webp, @jsquash/avif | Apache-2.0 | WebP and AVIF encoding (libwebp and libavif builds) |
| @resvg/resvg-wasm | MPL-2.0 | SVG rendering |
| pdf-lib | MIT | PDF creation |
| qpdf | Apache-2.0 | PDF encryption, decryption and compression, built for the browser with the ISC-licensed qpdf-wasm package |
| Dancing Script, Caveat, Great Vibes | SIL OFL 1.1 | Typed signature styles in Sign PDF, self-hosted |
| exifr | MIT | Reading photo metadata |
| Bricolage Grotesque | SIL OFL 1.1 | Display typeface, self-hosted |
| pdf.js (pdfjs-dist) | Apache-2.0 | Rendering PDF pages and reading PDF text |
| papaparse | MIT | CSV parsing |
| js-yaml | MIT | YAML parsing |
| marked | MIT | Markdown to HTML |
| DOMPurify | MPL-2.0 or Apache-2.0 | Sanitizing HTML previews |
| Turndown | MIT | HTML to Markdown |
| diff | BSD-3-Clause | Text comparison |
| sql-formatter | MIT | SQL formatting |
| cronstrue | MIT | Explaining cron expressions |
| spark-md5 | WTFPL or MIT | MD5 hashes |
| qrcode | MIT | QR code generation |
| jsQR | Apache-2.0 | QR code reading |
| JsBarcode | MIT | Barcode generation |
| gifenc | MIT | GIF encoding |
| gifuct-js | MIT | GIF decoding |
| UTIF.js | MIT | TIFF decoding |
| tesseract.js and English language data | Apache-2.0 and MIT | Reading text from images (OCR), self-hosted |