Verse by CtruhDocsPlug-insPricingOpen in the docs site

Publish from your machine

Early access, not yet generally available. Publishing from your own computer is open to named Pro, Scale and Enterprise customers while we test it with them. Until your workspace is included, these commands will not work for you. If you would like to join, ask your Ctruh contact. Commands and limits may change before it opens to everyone.

Verse Prepare is a small command-line tool. It gets a scene ready on your own computer and publishes it to your Verse workspace, so files larger than your plan's upload limit can still go live on everyday devices. You get the same link you would get from an upload.

What happens to your data

Install

Your Ctruh contact sends you the download for your computer, with a checksum file beside it:

FileFor
verse-prepare-darwin-arm64Macs with Apple silicon (M1 and later)
verse-prepare-darwin-x64Intel Macs
verse-prepare-windows-x64.exeWindows 10 and 11
verse-prepare-linux-x64Linux (64-bit)
  1. Check the download matches its checksum:
    shasum -a 256 -c verse-prepare-darwin-arm64.sha256        # macOS
    sha256sum -c verse-prepare-linux-x64.sha256               # Linux
    certutil -hashfile verse-prepare-windows-x64.exe SHA256   # Windows: compare with the .sha256 file
  2. Rename it to verse-prepare (verse-prepare.exe on Windows) and put it somewhere on your PATH. On macOS and Linux, make it runnable: chmod +x verse-prepare.
  3. During early access the tool is not yet signed by Apple or Microsoft.
    • On a Mac, the first run is blocked: open **System Settings → Privacy & Security and choose Open Anyway** for verse-prepare.
    • On Windows, SmartScreen may warn: choose More info → Run anyway.
  4. Check it runs: verse-prepare --version prints the version.

Sign in

verse-prepare login

Your browser opens a Verse page. Confirm the short code shown in your terminal and approve. This computer is then registered to your workspace. On a computer without a browser, verse-prepare login --no-browser prints the link to open elsewhere.

The sign-in is kept in your system's credential store (Keychain on macOS, Credential Manager on Windows, the Secret Service on Linux), or in a file only you can read where there is none.

Each signed-in computer counts towards your plan: 3 on Pro, 10 on Scale. Your workspace's Account page lists them, with the last time each was seen, and Revoke signs one out. verse-prepare logout signs out the computer you run it on.

Check your computer first

verse-prepare doctor city.glb

doctor says plainly whether this computer can get the file ready: free memory and free disk against the file's size. As a guide you need about three times the file's size in free disk and 16 GB of memory for files under 5 GB (64 GB for city-sized files). It changes nothing.

Publish

verse-prepare publish city.glb --name "Harbour district"

publish checks the computer, gets the scene ready, uploads it and prints the link. Files within your plan's upload limit are uploaded for Verse to get ready; larger ones are done on this computer. Add --local to always do it on this computer.

You can also run the steps one by one:

verse-prepare compile city.glb --out city-build
verse-prepare push city-build --name "Harbour district"

If something stops

Exit codes

Every command ends with one of these, so scripts can tell what happened:

CodeMeaning
0Done
1Failed (the message says why)
2The command was not written correctly
3Not signed in, or the sign-in was refused: run verse-prepare login
4This computer is too small for the file
5Verse refused the scene (the message says why)
6Could not reach Verse: check the connection and run it again

Use it in a build pipeline (CI)

On a build server, use a workspace API key instead of signing in:

  1. On the Account page, under API keys, create a key and copy it. It is shown once.
  2. Store it as a secret in your CI system and expose it as VERSE_TOKEN.
  3. Run the tool without questions, with the result as JSON:
VERSE_TOKEN=<your key> verse-prepare publish city.glb --local --yes --json

The JSON on standard output carries the scene id and its link; progress goes to standard error. VERSE_SERVER points the tool at another Verse address if your workspace is not on the default one.

Every command

verse-prepare login [--no-browser] | logout
verse-prepare doctor <file> [--out <dir>]
verse-prepare compile <file> --out <dir> [--resume]
verse-prepare push <dir> [--name <text>] [--as <kind>] [--session <id>]
verse-prepare publish <file> [--out <dir>] [--local | --cloud] [--name <text>] [--as <kind>]

Every command takes --json, --yes (or -y), --server <url> and --help (verse-prepare push --help shows that command's usage and an example). --as says what the scene is, as on the upload screen.

Getting help

Send the output of verse-prepare --version and the command you ran to your Ctruh contact or hello@ctruh.com.