Repository navigation
Spawner is an open source, self-hosted preview environment manager: a copy of your app for each git branch, on your own server, with its own URLs, database and logs, for teams and their coding agents. Documentation, changelog.
Updates from 2.1 that keep every URL answering, and spawner up sending the clones a workspace holds. A server that answers 404 page not found everywhere since its update to 2.2.0 gets its URLs back with install.sh --upgrade, run once on the server: its dashboard cannot be reached to update it.
- An upgrade checks that Traefik serves the dashboard, over HTTPS too, and goes back to the previous version when it does not, rather than ending with a warning about the certificate. The installer also makes Traefik's routes readable before it starts the stack, and starts Traefik again when it could not read them: the update from 2.1 to 2.2 could leave Traefik, which runs without capabilities since 2.2, unable to read the routes 2.1 wrote, every URL answering
404 page not found. spawner upsends the git repositories cloned inside the project: a directory with its own.git, such as the clones of a workspace repository, was skipped as a submodule, so that a compose file building../apipassed the check ofspawner upand failed on the server (compose.path_not_found), and each clone needed a source inspawner.yamland a--sourceat everyspawner up. Such a clone is now sent with the project, as its own git sees it: tracked files and untracked ones that are not ignored, without untrackednode_modules/,vendor/and.envfiles, plus whatupload.includenames; it counts toward the upload limits. Submodules are still skipped, and so are the other worktrees of the repository checked out inside it.spawner upnames the clones it sends, and runs git withcore.fsmonitoroff, so that the config of a clone cannot name a command to run.
Install
On a new server:
curl -fsSL https://github.com/Flosk6/Spawner/releases/download/v2.2.1/install.sh | sudo bash -s -- --version 2.2.1Upgrade
From the dashboard: Update to 2.2.1 on the System page. From the server:
curl -fsSL https://github.com/Flosk6/Spawner/releases/download/v2.2.1/install.sh | sudo bash -s -- --upgrade --version 2.2.1Both back the database up first, and go back to the previous version if the new one does not start.
Files
install.sh: the installer of this version.spawner: the CLI and MCP server in one file, for Node.js 20 or later. Ornpm install -g spawner-cli@2.2.1.SHA256SUMS: their checksums.- Image:
ghcr.io/flosk6/spawner:2.2.1(sha256:9db7ef1238bffe04571aca9835241fae575f73fe12618018acc1f235240c1493, linux/amd64, linux/arm64).
Verify
The image, install.sh and spawner carry build provenance attestations from this repository's release workflow:
gh attestation verify install.sh -R Flosk6/Spawner
gh attestation verify oci://ghcr.io/flosk6/spawner:2.2.1 -R Flosk6/SpawnerOr compare the files with their checksums: curl -fsSL -O https://github.com/Flosk6/Spawner/releases/download/v2.2.1/install.sh -O https://github.com/Flosk6/Spawner/releases/download/v2.2.1/SHA256SUMS && sha256sum -c --ignore-missing SHA256SUMS