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.
| Library | Version | Licence | Source |
|---|---|---|---|
| @astrojs/mdx | 8.1.6 | MIT | Source code |
| @astrojs/preact | 6.1.6 | MIT | Source code |
| @astrojs/rss | 4.0.19 | MIT | Source code |
| @astrojs/sitemap | 3.7.6 | MIT | Source code |
| @fontsource-variable/inter | 5.3.0 | OFL-1.1 | Source code |
| @fontsource-variable/plus-jakarta-sans | 5.3.0 | OFL-1.1 | Source code |
| @fontsource/amiri | 5.3.0 | OFL-1.1 | Source code |
| @fontsource/inter | 5.3.0 | OFL-1.1 | Source code |
| @jsquash/jpeg | 1.6.0 | Apache-2.0 | Source code |
| @jsquash/oxipng | 2.3.0 | Apache-2.0 | Source code |
| @jsquash/png | 3.1.1 | Apache-2.0 | Source code |
| @jsquash/resize | 2.1.1 | Apache-2.0 | Source code |
| @jsquash/webp | 1.5.0 | Apache-2.0 | Source code |
| @resvg/resvg-js | 2.6.2 | MPL-2.0 | Source code |
| @tailwindcss/vite | 4.3.5 | MIT | Source code |
| astro | 7.4.13 | MIT | Source code |
| fflate | 0.8.3 | MIT | Source code |
| libheif-js | 1.23.5 | LGPL-3.0 | Source code |
| lucide-static | 1.83.0 | ISC | Source code |
| pdf-lib | 1.17.1 | MIT | Source code |
| pdfjs-dist | 6.5.438 | Apache-2.0 | Source code |
| preact | 10.29.8 | MIT | Source code |
| satori | 0.63.2 | MPL-2.0 | Source code |
| tailwindcss | 4.3.5 | MIT | Source 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)
| Library | Version | Licence | Source |
|---|---|---|---|
| libheif | 1.23.5 | LGPL-3.0 | Source code |
| libheif-js (libheif built as WebAssembly) | 1.23.5 | LGPL-3.0 | Source 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:
| Codec | Used for | Licence | Source |
|---|---|---|---|
| MozJPEG (built on libjpeg-turbo) | Writing JPG files | IJG, BSD-3-Clause and zlib | Source code |
| libwebp | Writing WebP files | BSD-3-Clause | Source code |
Squoosh PNG codec (Rust png crate) | Writing PNG files | Apache-2.0 | Source code |
| OxiPNG | Packing PNG files without loss | MIT | Source code |
Rust resize crate | Changing the size of pictures (Lanczos) | MIT | Source code |
Pictures are opened by your browser’s own decoder for JPG, PNG and WebP. HEIC photos are opened with libheif, described above.