Open-source licenses

Last updated:

This site is built with open-source software. Each library below stays under its own licence, and we link to its source code.

LibraryVersionLicenceSource
@astrojs/mdx8.1.6MITSource code
@astrojs/preact6.1.6MITSource code
@astrojs/rss4.0.19MITSource code
@astrojs/sitemap3.7.6MITSource code
@fontsource-variable/inter5.3.0OFL-1.1Source code
@fontsource-variable/plus-jakarta-sans5.3.0OFL-1.1Source code
@fontsource/amiri5.3.0OFL-1.1Source code
@fontsource/inter5.3.0OFL-1.1Source code
@jsquash/jpeg1.6.0Apache-2.0Source code
@jsquash/oxipng2.3.0Apache-2.0Source code
@jsquash/png3.1.1Apache-2.0Source code
@jsquash/resize2.1.1Apache-2.0Source code
@jsquash/webp1.5.0Apache-2.0Source code
@resvg/resvg-js2.6.2MPL-2.0Source code
@tailwindcss/vite4.3.5MITSource code
astro7.4.13MITSource code
fflate0.8.3MITSource code
libheif-js1.23.5LGPL-3.0Source code
lucide-static1.83.0ISCSource code
pdf-lib1.17.1MITSource code
pdfjs-dist6.5.438Apache-2.0Source code
preact10.29.8MITSource code
satori0.63.2MPL-2.0Source code
tailwindcss4.3.5MITSource code

Icons are from Lucide (ISC licence), included in the table above as lucide-static. Fonts (Inter, Plus Jakarta Sans and Amiri) are under the SIL Open Font License and are served from this site.

Data

The city list used by the qibla direction tool is built from the GeoNames cities15000 file by GeoNames, licensed under CC BY 4.0. We keep only the name, country and coordinates of Pakistani cities and of world cities with 100,000 or more people.

Gold, silver and currency rates on the zakat calculator come from the free currency-api by Fawaz Ahmed and from xaus.com.

PDF tools

The PDF tools use pdf-lib (MIT) to build and copy PDF pages, pdf.js (pdfjs-dist, Apache-2.0) to draw page pictures, and fflate (MIT) to make ZIP files. They are all listed in the table above. They load only when you choose a file, and they are served from this site, not from a content delivery network.

pdf.js also reads a few data files at run time: character maps, the standard PDF fonts and small WebAssembly decoders for JPEG 2000, JBIG2 and colour profiles. They are copied unchanged from the pdfjs-dist package into /vendor/pdfjs/, together with their licence files (Apache-2.0, with the OpenJPEG, JBIG2 and qcms notices in /vendor/pdfjs/wasm/).

libheif and libheif-js (LGPL-3.0)

LibraryVersionLicenceSource
libheif1.23.5LGPL-3.0Source code
libheif-js (libheif built as WebAssembly)1.23.5LGPL-3.0Source code

Image to PDF and HEIC to JPG convert iPhone HEIC photos with libheif, compiled to WebAssembly by libheif-js. libheif is licensed under the GNU Lesser General Public License, version 3. It is loaded only when you choose a HEIC file, and it stays a separate file (libheif.wasm) that this site loads at run time, so another build of libheif can be used in its place. The source code of libheif and of its WebAssembly build is available from the two links above.

Image tools

Compress Image, Resize Image and the format converters use jSquash (Apache-2.0), which packages the image codecs from Google’s Squoosh project as WebAssembly. The five jSquash packages are listed in the table above. They run in background workers, are loaded only when you press the main button, and are served from this site. The codecs inside them keep their own licences:

CodecUsed forLicenceSource
MozJPEG (built on libjpeg-turbo)Writing JPG filesIJG, BSD-3-Clause and zlibSource code
libwebpWriting WebP filesBSD-3-ClauseSource code
Squoosh PNG codec (Rust png crate)Writing PNG filesApache-2.0Source code
OxiPNGPacking PNG files without lossMITSource code
Rust resize crateChanging the size of pictures (Lanczos)MITSource code

Pictures are opened by your browser’s own decoder for JPG, PNG and WebP. HEIC photos are opened with libheif, described above.