Binaries, Docker & Node
Prebuilt binaries
Section titled “Prebuilt binaries”Each GitHub release includes standalone executables for Linux (x64 and arm64) and macOS (Apple silicon). Every binary bundles Node, the web client, and the database migrations so the host needs nothing else.
curl -fsSL https://github.com/mariusc23/sendcrate/releases/latest/download/sendcrate-linux-x64.tar.gz | tar -xzSENDCRATE_SECRET="$(openssl rand -base64 48)" \ SENDCRATE_ADMIN_EMAIL=admin@example.com \ SENDCRATE_ADMIN_PASSWORD=change-me-now \ ./sendcrateVerify the installed version:
./sendcrate --versionThe binary reads sendcrate.yml from the current working directory (or SENDCRATE_CONFIG) and stores its SQLite database under data/ by default.
Docker
Section titled “Docker”Official multi-arch images are published to GitHub Container Registry on every release:
docker run -d --name sendcrate \ -p 8787:8787 \ -v sendcrate-data:/app/data \ -e SENDCRATE_APP_URL=https://sendcrate.internal.example.com \ -e SENDCRATE_SHARE_URL=https://send.example.com \ -e SENDCRATE_SECRET="$(openssl rand -base64 48)" \ -e SENDCRATE_ADMIN_EMAIL=admin@example.com \ -e SENDCRATE_ADMIN_PASSWORD=change-me-now \ ghcr.io/mariusc23/sendcrate:latestTo build the image yourself from the repository:
docker build -t sendcrate .- State lives in a single SQLite file at
SENDCRATE_DB_PATH(default/app/data/sendcrate.dbinside the container). - Schema migrations from
/app/migrationsrun automatically on startup. - Mount
sendcrate.ymlinto/app/sendcrate.yml(or setSENDCRATE_CONFIG) to define config-locked buckets and settings. - The image includes a built-in
HEALTHCHECKagainsthttp://127.0.0.1:8787/healthz.
Node from source
Section titled “Node from source”Requires Node >= 22.5 (the repository pins Node 26 via mise) and pnpm.
pnpm installcp sendcrate.example.yml sendcrate.ymlpnpm run buildpnpm startLocal development with MinIO
Section titled “Local development with MinIO”For a self-contained local setup with a local S3 bucket:
docker run -d --name sc-minio -p 19000:9000 \ -e MINIO_ROOT_USER=scdev -e MINIO_ROOT_PASSWORD=scdevsecret123 \ minio/minio server /datadocker exec sc-minio mc alias set local http://localhost:9000 scdev scdevsecret123docker exec sc-minio mc mb local/demo-bucket
pnpm installcp sendcrate.example.yml sendcrate.ymlpnpm run devTo build a standalone executable for your current platform into dist/sea/:
pnpm run build:sea