Licenses
Ghaf Tools uses open-source software. Here is every library, its license, and a link to its source code.
libheif and libde265 are licensed under LGPL-3.0. We serve them as a separate, unchanged file. You can see the file and its license, or replace it with another build.
libheif 1.23.5 (libheif-js)
License: LGPL-3.0
Opens iPhone HEIC photos in browsers that can't open them. Downloaded only when needed.
libde265 (inside libheif-js 1.23.5)
License: LGPL-3.0
Part of the libheif file above; decodes HEIC images.
libheif-js 1.23.5
License: LGPL-3.0
The browser build of libheif. We use the file as it is, unchanged.
exifr 7.1.3
License: MIT
Tells whether a photo had a location (so we can tell you we removed it) and its date taken.
fflate 0.8.3
License: MIT
Puts your photos in one ZIP file.
qrcode-generator 2.0.4
License: MIT
Works out the squares of a QR code. The drawing, colours and words are ours.
zxing-wasm 3.1.6
License: MIT
Reads the code back so we can tell you it scans. Downloaded only when a code is checked.
zxing-cpp (inside zxing-wasm 3.1.6)
License: Apache-2.0
Part of zxing-wasm above; the part that reads the code.
HarfBuzz (harfbuzzjs) 1.6.3
License: MIT (HarfBuzz: Old MIT)
Draws Arabic correctly in QR files (SVG and PDF) and in invoices.
bidi-js 1.1.0
License: MIT
Puts mixed Arabic and English text in the right order.
pdf-lib 1.17.1
License: MIT
Makes and edits PDF files: codes, invoices and the PDF tools (merge, organize, sign…). Downloaded only when needed.
IBM Plex Sans Arabic
License: SIL Open Font License 1.1
The site's font, plus a TTF copy for the words under a QR code and for invoices.
Lucide
License: ISC
The shape of one icon (the wrench).
Astro 7
License: MIT
Builds the site's pages.
Mediabunny 1.61.3
License: MPL-2.0
Reads MP4 and MOV videos and writes the new MP4 in "Make video smaller". Used as it is, unchanged, and downloaded only when you pick a video.
PDF.js (pdfjs-dist) 4.10.38
License: Apache-2.0
Shows PDF pages in the PDF tools, and turns them into pictures for “Strong” compression and “PDF to images”. Only on the PDF tools.
qpdf 12.2.0
License: Apache-2.0
Compresses a PDF without quality loss, locks it with a password (AES-256) or removes one you know. Downloaded only when needed.
qpdf-wasm 0.3.0
License: ISC
The browser build of qpdf (WebAssembly).
Aref Ruqaa · Noto Nastaliq Urdu · Marhey · Reem Kufi · Great Vibes Fontsource
License: OFL-1.1
The handwriting fonts you pick from when you type your signature in “Sign PDF”.
Tesseract.js (with tesseract.js-core) 5.1.1
License: Apache-2.0
Reads the text on the page in “Ghaf Scanner” (Copy the text from the page), on your device. Downloaded only when you turn the option on.
Tesseract models (ara, eng · best_int) 4.0.0
License: Apache-2.0
The Arabic and English models used to read the text. Downloaded once, with the option.