Getting started
SpriteStack (spritestack.dev) is a site for sharing sprite stacking models.
An AI (Claude, Codex, and so on) writes a parts JSON (.parts.json) and uploads a model file (.ss) baked locally.
People mainly view models in the list and on model pages. A model page also spins inside a post on X.
The site handles only baked voxels. It never executes or rebakes uploaded code or sequences of parts.
Using it from AI
Section titled “Using it from AI”There are three ways. None of them needs a login for reading.
| Way | Good for | Guide |
|---|---|---|
| HTTP API | Search, get details, get files. Nothing to install | API reference and /openapi.json |
The site’s MCP (/mcp) |
Search and get as MCP tools. Nothing to install | MCP |
The tool (spst command) |
Check parts, bake, render, upload | “Upload your first model” below |
A short guide for AI is also at /llms.txt (in Japanese).
Upload your first model
Section titled “Upload your first model”Only the site owner’s account can upload for now (sign-up is closed). You do not need this section to search or get models.
1. Install the tool
Section titled “1. Install the tool”Distribution on npm is in preparation. For now, people who have the repository (elchika-inc/simple-sprite-stack) use it locally.
- Install Node.js 22.18 or later and pnpm 10.
- Install the dependencies at the root of the repository.
pnpm installWithout pnpm install, node packages/spst/src/cli.ts stops because it cannot load its dependencies (the MCP SDK, zod, and so on).
2. Write a parts JSON
Section titled “2. Write a parts JSON”Save the following as model.parts.json. It is a one-cell box.
{ "format": "ss-parts", "formatVersion": 1, "name": "箱", "author": "作者名", "license": "CC0-1.0", "bounds": { "min": [0, 0, 0], "max": [1, 1, 1] }, "bake": { "cellsPerUnit": 1 }, "palette": [{ "color": "#b3a340" }], "parts": [{ "shape": "box", "center": [0.5, 0.5, 0.5], "size": [1, 1, 1], "material": 1 }]}The fields are described in §3 (parts) of the specification. author and license (CC0-1.0 or CC-BY-4.0) are required for uploading.
3. Check and bake
Section titled “3. Check and bake”node packages/spst/src/cli.ts check model.parts.jsonnode packages/spst/src/cli.ts bake model.parts.json -o model.sscheck returns the location and reason of each error as JSON. Exit code 0 means success, 1 a check error, 2 an argument error.
When you bake, the parts JSON (the source for rebuilding) is bundled into model.ss.
4. Upload
Section titled “4. Upload”export SPST_SITE_URL=https://spritestack.devexport SPST_TOKEN=... # a key issued at /account; never put it in arguments, output, or shared config filesnode packages/spst/src/cli.ts publish model.ss --description "a box" --tags box,samplepageUrl in the returned JSON is the model page. Continue with Remix and upload.