@stitchervideo/stitcher-cli
v0.1.0
Published
Installer for the Stitcher CLI — downloads the native stitcher binary for your platform.
Maintainers
Readme
@stitchervideo/stitcher-cli
Installer for the Stitcher CLI. This npm package ships no binary of its own — its
postinstall step downloads the native stitcher binary for your platform from
the Stitcher releases API, verifies it against the release manifest's SHA-256,
and exposes it as the stitcher command.
npm i -g @stitchervideo/stitcher-cli
stitcher --versionHow it works
postinstalldetects your platform/architecture and callsGET https://api.stitcher.video/api/releasesfor the release manifest.- It requests a presigned download URL via
POST /api/releases/download, downloads the release tarball, and verifies its SHA-256 against the manifest (it refuses to install an unverifiable binary). - It unpacks the tarball into the package's
vendor/directory. Thestitcherbin shim execs the extracted native binary, forwarding args and exit code.
Set STITCHER_ORCHESTRATOR_URL to point the installer at a non-production
orchestrator (development only).
Supported platforms
Alpha ships linux/x86_64 only. Installing on an unsupported platform fails with a clear message naming what is supported. macOS, Windows, and aarch64 are added as their release artifacts are published — the installer already maps them.
Dependencies
None. The installer uses only Node core modules (plus the system tar to unpack
the release archive).
