Open source and credits
Sanil.app is built on free software made by other people. Here is what it uses, under which licence, and where to find the source code.
Software that runs on your device
These run on your own device, and each codec loads only when a file needs it. gifsicle and libheif are the two under GNU licences, and each is loaded as a separate file.
The links go to each project's source code. To get the source for the exact version Sanil.app serves, write to info@sanil.com.np.
| Name | What it does here | Licence | Source code |
|---|---|---|---|
| gifsicle | Makes GIF files smaller. Loaded only when you add a GIF. | GPL-2.0 | github.com/kohler/gifsicle |
| gifsicle-wasm-browser | Runs gifsicle on your device. | MIT | github.com/renzhezhilu/gifsicle-wasm-browser |
| libheif | Opens HEIC photos. Loaded only when you add a HEIC file. | LGPL-3.0 | github.com/strukturag/libheif |
| libheif-js | Runs libheif on your device. | LGPL-3.0 | github.com/catdad-experiments/libheif-js |
| MozJPEG | Saves JPG files. | IJG, BSD-3-Clause and zlib | github.com/mozilla/mozjpeg |
| libwebp | Saves WebP files. | BSD-3-Clause | github.com/webmproject/libwebp |
| libaom | Saves AVIF files. | BSD-2-Clause | aomedia.googlesource.com/aom/ |
| Oxipng | Makes PNG files smaller. | MIT | github.com/shssoichiro/oxipng |
| jSquash | Packages the codecs above for the web, and resizes images. | Apache-2.0 | github.com/jamsinclair/jSquash |
| SVGO | Cleans SVG files. | MIT | github.com/svg/svgo |
| UPNG.js | Reduces the colours of flat PNG graphics. | MIT | github.com/photopea/UPNG.js |
| client-zip | Builds the ZIP file when you download many images. | MIT | github.com/Touffy/client-zip |
| Advanced Cropper | The crop and rotate editor. | MIT | github.com/advanced-cropper/react-advanced-cropper |
The rest of the site
The site is built with Astro, React, Tailwind CSS, shadcn/ui, Radix UI and Sonner (all MIT), Lucide icons (ISC) and Roboto (SIL Open Font License 1.1), plus other open source packages under the MIT, ISC and Apache-2.0 licences.
Photo credit
The sample photo in the Watermark preview is “Fuji san” by João Amaral, from the Ubuntu wallpaper collection. It is licensed under CC BY-SA 4.0 and has been resized and saved as a WebP. Read the CC BY-SA 4.0 licence.