Quickstart
Try Side Space in one container with sample clips, or make a token on your server, then search, upload a file and attach metadata to it from the shell, TypeScript or Python.
這一頁還沒有翻譯,所以先以英文顯示。
Try it on your machine first
No server or account yet? One container runs everything, and comes with a drive full of sample clips to try things on:
git clone https://github.com/blendduck/sidespace && cd sidespace
docker build -f deploy/trial/Dockerfile -t sidespace-trial .
docker run --rm -p 8080:8080 -p 8090:8090 -p 8070:8070 -v sidespace-trial:/data sidespace-trialThe first start makes a developer account, a workspace with a drive "Film A", and a token with full access (also the S3 secret), and prints them in the log; later starts print the same ones.
export SIDESPACE_URL=http://localhost:8080 SIDESPACE_TOKEN=ssp_… # the line from the log
curl -H "Authorization: Bearer $SIDESPACE_TOKEN" "$SIDESPACE_URL/v1/search?q=storm"
curl -H "Authorization: Bearer $SIDESPACE_TOKEN" "$SIDESPACE_URL/v1/search?q=the+ocean+at+dusk&mode=meaning"- "Film A" starts with four sample clips in
/Ep01and/Ep02, already transcribed and tagged. The models behind them are stand-ins inside the container with canned answers, so no API key is needed. Search (with the moment a word is spoken), search by meaning and MCP athttp://localhost:8080/mcpall work right away. - To use real models, start it with
SIDESPACE_TRANSCRIBE_URLand_KEY,SIDESPACE_ANTHROPIC_API_KEY, orSIDESPACE_EMBED_URLand_KEY; each one you give replaces its stand-in.-e SIDESPACE_DEMO=0starts with an empty drive and no stand-ins. - Other people sign in with any email and the code
000000. It sends no mail and keeps no backups, so it's for trying, not for real footage. Delete thesidespace-trialvolume to start over.
With the trial running, skip step 1 and use the token from the log. The rest of this page works as written with http://localhost:8080 in place of https://side.space.
Get a token
Sign in with the CLI once, picking the drive to work in, then make a personal access token for it. The token is shown only once, so copy it now.
export SIDESPACE_SERVER=https://side.space # the CLI's server
side login # the browser opens: sign in and pick the drive, e.g. Film A
side token create "quickstart" --scope files:write --scope sidecars:write
# ssp_6Jw… (shown once; it reaches Film A only)
export SIDESPACE_URL=$SIDESPACE_SERVER # read by the Python SDK
export SIDESPACE_TOKEN=ssp_6Jw… # read by the CLI and the Python SDKOn a machine without a browser, side login you@studio.example signs in with an emailed code instead. The token reaches the drive the CLI works in (side use switches), so calls don't name it: /v1/space/… over HTTP, and no --drive in the CLI. Authentication explains scopes, Agents and OAuth.
Add an SDK (optional)
Both SDKs have no dependencies and are Apache-2.0. They are not on npm or PyPI yet: install them from a checkout of the repository, or copy the folder into your project.
npm install ./sdks/typescript # import { SideSpace } from "@sidespace/sdk"pip install ./sdks/python # from sidespace import SideSpace# Nothing to install. Every call sends: -H "Authorization: Bearer $SIDESPACE_TOKEN"Find something
Search covers names, tags, AI prompts, transcripts and review comments. Hits inside a transcript come with the moments where the words are spoken.
curl -H "Authorization: Bearer $SIDESPACE_TOKEN" "$SIDESPACE_URL/v1/search?q=harbor+night"import { SideSpace } from "@sidespace/sdk";
const side = new SideSpace({ baseUrl: process.env.SIDESPACE_URL!, token: process.env.SIDESPACE_TOKEN! });
for (const hit of await side.search("harbor night")) {
console.log(hit.space_name, hit.folder, hit.node.name, hit.moments?.[0]?.at_ms);
}from sidespace import SideSpace
side = SideSpace() # reads SIDESPACE_URL and SIDESPACE_TOKEN
for hit in side.search("harbor night"):
print(hit["space_name"], hit["folder"], hit["node"]["name"])Upload a file
Saving to a path that already exists adds a version; nothing is overwritten. Folders are created as needed.
await side.upload("/Ep01/notes.md", "# Notes\n\nPick-ups on Tuesday.\n");side.upload("/Ep01/notes.md", "# Notes\n\nPick-ups on Tuesday.\n")
with open("A001_C003.mov", "rb") as f:
side.upload("/Ep01/Shots/A001_C003.mov", f) # streamed, not read into memoryside put ./notes.md Ep01/notes.md
# Over plain HTTP an upload is three calls; see "Files and versions".Attach your own metadata
Write results to a sidecar instead of a file next to the original. Custom namespaces start with x-.
await side.putSidecar("/Ep01/Shots/A001_C003.mov", "x-shotcheck", { focus: "soft", score: 0.42 });
const media = await side.getSidecar("/Ep01/Shots/A001_C003.mov", "media");
console.log(media?.duration_s, media?.width, media?.height);side.put_sidecar("/Ep01/Shots/A001_C003.mov", "x-shotcheck", {"focus": "soft", "score": 0.42})
media = side.get_sidecar("/Ep01/Shots/A001_C003.mov", "media")curl -X PUT "$SIDESPACE_URL/v1/space/versions/$VERSION/sidecars/x-shotcheck" \
-H "Authorization: Bearer $SIDESPACE_TOKEN" -H "Content-Type: application/json" \
-d '{"doc": {"focus": "soft", "score": 0.42}}'The file's page in the app now shows your fields under Info, and search finds them.
Next
- Follow changes with webhooks instead of polling.
- Use it in Claude, or connect your own Agent over MCP.
- Look back and rewind a folder, or edit part of a file in place.