Stow
Start hereView source

Getting started

Stow stores objects in a native S3 server, an embedded runtime, or a file workspace. Browser APIs store editing history in IndexedDB and sync to remote storage. Choose the API that matches your application.

Use MCP workspace files

Stow v0.4.0 introduced opt-in MCP workspace file resources, managed file saves and selected checkpoint reads. The v0.4.4 GitHub downloads and npm packages include these profiles on Linux and macOS, x64 and ARM64.

Follow the native installation steps below, run stow-s3 --version, then use the guide for your chosen MCP profile. Existing object-store format and upgrade requirements still apply when opening persistent data.

Install the TypeScript client

Shell1 line
npm install @chester-hill-solutions/stow-s3@0.4.4

The package includes the native carrier for your Linux or macOS host on x64 or ARM64. Native sessions need no Go installation or STOW_BIN setting. The package also includes the WASM assets for its embedded and browser entry points. Remove any old @chester-hill-solutions registry override to npm.pkg.github.com.

Install the native server

Download the matching Linux or macOS archive from Stow v0.4.4. Both x86_64 (amd64) and ARM64 (arm64) are supported. Check the archive against SHA256SUMS.txt from that release, extract it and put stow-s3 on your PATH. Then run stow-s3 --version.

The Python client is not yet published to PyPI. Use the source steps below for Python or to run the repository's development examples. Read the release notes before upgrading a persistent filesystem object store: older versions cannot read new version-2 object records.

Build a checkout

Shell3 lines
git clone https://github.com/chester-hill-solutions/stow-s3
cd stow-s3
make build build-wasm

The Go version is pinned in .go-version. For the TypeScript library and browser examples, also install and build the package:

Shell2 lines
npm ci --ignore-scripts --omit=optional --prefix packages/stow-s3
npm run build --prefix packages/stow-s3

The Go module can be added directly:

Shell1 line
go get github.com/chester-hill-solutions/stow-s3/pkg/stow

Python installation still requires a source checkout. TypeScript applications can use the npm package above.

Choose your storage surface

Workload Start with
Runnable examples for tests, local apps and pipelines Examples
Existing S3 SDKs or disposable integration tests Native server and the TypeScript client
An agent's working directory and checkpoints Workspace guide
Small-file offline editing with undo and redo Browser file history
Several files, retained revisions or larger assets Browser project storage
Bounded worker requests and streaming object payloads Browser worker runtime
A local cache in front of a remote bucket Run-through guide

Try the browser editor

Shell1 line
make browser-editor

The editor walkthrough uses real WASM, IndexedDB and a private local S3 fixture. It demonstrates offline reload, retained edits, undo/redo and conditional remote sync.

Guarantees to check

Local mode is the default. Enable native upstream writes explicitly. Browser applications supply the transport and choose when to sync. A conflict preserves local work; the application decides how to resolve it. Budget storage for retained history. The browser can evict local data.

Read the compatibility contract for the native S3 subset, and the relevant browser guide for host and persistence limits.