← Back to DAGDA | Support | Source: https://github.com/shelby/shelby-quickstart
Skip to content

About

Simple samples to start serving with Shelby

Resources

Stars

303 stars

Watchers

17 watching

Forks

Latest commit

 

History

84 Commits

Folders and files

Repository files navigation

Shelby quickstart

verify

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.

Point your agent here

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.

Set up

You need bash, curl and make, plus the client you want to try. On Windows, use WSL.

  1. Get your bucket name, and an access key ID and secret for that bucket, at console.shelby.xyz.
  2. Copy .env.example to .env and fill in the three values.
  3. Run make doctor. It checks your credentials, bucket, clock and tools without writing anything.

Connection settings

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

Examples

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.

Recipes

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.

Learn more

The agent skill comes from here

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:

  1. verify runs every example against the hosted endpoint.
  2. 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.
  3. Bumping the version in shelby-skills' .claude-plugin/plugin.json releases 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.

License

MIT

About

Simple samples to start serving with Shelby

Resources

Stars

303 stars

Watchers

17 watching

Forks

Releases

Packages

Contributors

Languages