Runnable examples for Shelby's S3-compatible API. Each one stores, reads, lists and deletes objects in your bucket, checks its own results, and cleans up after itself. All of them run nightly against the hosted endpoint.
Looking for the version built on the Shelby SDK and CLI? It's tagged
v1.0.2. The SDK and CLI are deprecated in favour of the S3 API.
Paste this into Claude Code, Cursor or Codex:
Add Shelby storage to this project using https://github.com/shelby/shelby-quickstart.
Read its AGENTS.md first, and follow the example for our stack.
You need bash, curl and make, plus the client you want to try. On Windows, use WSL.
- Get your bucket name, and an access key ID and secret for that bucket, at console.shelby.xyz.
- Copy
.env.exampleto.envand fill in the three values. - Run
make doctor. It checks your credentials, bucket, clock and tools without writing anything.
| Setting | Value |
|---|---|
| Endpoint | https://s3.beta.shelby.xyz |
| Access key ID | Your access key ID (starts with SHLB) |
| Secret access key | Your access key's secret |
| Bucket | The bucket's name, for example my-first-shelby-bucket |
| Region | default |
| Addressing | Path-style |
| Client | Run | Folder |
|---|---|---|
| AWS CLI v2 | make aws-cli |
clients/aws-cli |
| Python (boto3) | make python |
clients/python |
| JavaScript (AWS SDK v3) | make javascript |
clients/javascript |
| rclone | make rclone |
clients/rclone |
| DuckDB | make duckdb |
clients/duckdb |
Add ARGS=--large to include a multipart upload.
| Recipe | Run | Shows |
|---|---|---|
| Migrate from S3 | make migrate-from-s3 |
Copy a public dataset from Amazon S3 with rclone, verify every file, then get the same DuckDB query result from both sides |
| Model training | make ml-training |
Stream shards into PyTorch, checkpoint to Shelby, and resume on another machine |
| Share files | make share-files |
Hand out download links and folder shares from a small Node.js server, and open them without credentials |
Every example and recipe writes only under quickstart/<name>/<run-id>/ in your bucket
and deletes what it wrote. make all runs doctor and then all of them.
- Where Shelby differs from Amazon S3, in one list
- Shelby S3 API docs
- How Shelby differs from S3
- Compatibility matrix
- Discord
The shelby skill for AI coding agents, in
shelby-skills, copies two things from this
repository:
- the "Where Shelby differs from Amazon S3" list in AGENTS.md, and
- the client and recipe READMEs.
It only copies commits whose verify run passed, so a fact reaches agents after the live
run has shown it. Make those changes here, not in shelby-skills. After a change merges:
verifyruns every example against the hosted endpoint.- shelby-skills' daily sync opens a pull request that moves its pin to the newest commit that passed. Merging it updates the skill's text.
- Bumping the version in shelby-skills'
.claude-plugin/plugin.jsonreleases it to everyone who has the plugin installed.
The sync finds the list by its heading, so if you rename "Where Shelby differs from
Amazon S3", update HABITS in shelby-skills' scripts/sync-quickstart.py too.