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:

Shell
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-trial

The 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.

Shell
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 /Ep01 and /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 at http://localhost:8080/mcp all work right away.
  • To use real models, start it with SIDESPACE_TRANSCRIBE_URL and _KEY, SIDESPACE_ANTHROPIC_API_KEY, or SIDESPACE_EMBED_URL and _KEY; each one you give replaces its stand-in. -e SIDESPACE_DEMO=0 starts 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 the sidespace-trial volume 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.

Shell
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 SDK

On 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"

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"

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");

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);

The file's page in the app now shows your fields under Info, and search finds them.

Next