Downloads
Everything is served from this site. Files are never replaced under an address that is marked immutable.
Runnable examples that use these files: live demo and github.com/sicena-com/loosen-examples.
The widget
Include it from https://loosen.sicena.com/widget/v1/loosen.js (follows our compatible releases of version 1, cached for five minutes), or pin an exact file with its immutable address (cached for a year) and its Subresource Integrity hash (SHA-384). Prefer to host it yourself? Download the file and serve it from your own domain; nothing else changes.
| File | Size | Pinned address (immutable) | Integrity (SRI) |
|---|---|---|---|
| loosen.js | 80210 bytes | /widget/v1/38ab5538ee/loosen.js | sha384-bFHT/RF3rW5LudeoGop5Y5IOIN+qSlu+KU0ryL8lgwoawzzphe2XZC7mlVdM8S4w |
| loosen.mjs | 80449 bytes | /widget/v1/b648777001/loosen.mjs | sha384-JAcKEGrFGtjXLtmBrsddZ+N57AgKbC4gsjlwoiwVDppqZPRFV9+bX71qJja6gW8T |
loosen.js is a classic script (it defines window.Loosen); loosen.mjs is the same widget as an ES module. In a page:
<!-- From us, checked with Subresource Integrity (the hash of the file served today; it stops matching after a compatible update of v1). -->
<script src="https://loosen.sicena.com/widget/v1/loosen.js" integrity="sha384-bFHT/RF3rW5LudeoGop5Y5IOIN+qSlu+KU0ryL8lgwoawzzphe2XZC7mlVdM8S4w" crossorigin="anonymous"></script>
<!-- Pinned: this exact file at an address that never changes (the address and hash of each file are on the downloads page). -->
<script src="https://loosen.sicena.com/widget/v1/38ab5538ee/loosen.js" integrity="sha384-bFHT/RF3rW5LudeoGop5Y5IOIN+qSlu+KU0ryL8lgwoawzzphe2XZC7mlVdM8S4w" crossorigin="anonymous"></script>
SHA-256 of each file:
38ab5538ee3750421e1789ded9a727415e60359c6fd0afcce968ecc1f2a985f7loosen.jsb648777001297cde4a68430e8b4fb3f7f4e327debc5b00f297a5aec2e9599615loosen.mjs
The Loosen server (loosend) version 1.0.0
One static program with no dependencies. Pick your platform, check the file against SHA256SUMS and follow the server guide (systemd on Linux, a launchd job on macOS, a scheduled task on Windows). Each archive holds the program, the install guide and the examples. Built from commit ca247a65f9d7 (BUILD.txt); loosend --version prints it.
| Platform | File | Size | SHA-256 |
|---|---|---|---|
| Linux, ARM64 | loosend-1.0.0-linux-arm64.tar.gz | 2835902 bytes | 71d8a9cac101acbae2340632e4cb466cda8af20ff4945ac41c98ddbe12344651 |
| Linux, x86-64 | loosend-1.0.0-linux-amd64.tar.gz | 3151946 bytes | 432b3b3b65672b0f03747f84e67a88c4c6978b9f75c4133e570d605888e9c8ab |
| Windows, x86-64 | loosend-1.0.0-windows-amd64.zip | 3236094 bytes | a2c475b443ef8ce804a69069a84de50d5d625971196d4213038278a0367c2833 |
| macOS, Apple silicon | loosend-1.0.0-darwin-arm64.tar.gz | 2936681 bytes | d26b3a24fce99ac4d7c10b439a2e1ea6772e7a60c2708d00e5467a2d2daf3e1b |
| macOS, Intel | loosend-1.0.0-darwin-amd64.tar.gz | 3198929 bytes | f6484a5b9a22bd3513bd70a43c78f7f7d1889eb12db91ac2affb94977d835303 |
Docker
Prefer a container? The same program is a public image, no login needed (port 8080, data in the volume on /data, licence and admin key in environment variables; the server guide has the full command):
docker run -d --name loosend --restart unless-stopped -p 127.0.0.1:8080:8080 -v loosend-data:/data \
-e LOOSEND_ADMIN_KEY="$(openssl rand -hex 24)" \
-e LOOSEND_ALLOWED_ORIGINS=https://www.example.com \
-e LOOSEND_LICENCE='LSN1....' \
ghcr.io/sicena-com/loosend:1.0.0
Kubernetes, Helm charts or a managed setup? Ask us.
The public licence key
Licences are signed with Ed25519. This is the public key that checks them. It is already built into both the widget and the server, so you do not need to configure it anywhere; it is shown here so that you can verify it:
WEinOKoIJTTP3JSWx_tJ16tRPZ2WRAjAhVEfHtb11Sg