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
- When you compile on your machine, your source file is never uploaded. Only the finished scene leaves your computer.
- Finished scenes are used only to show your scenes to the people you share them with. They are never used to train anything.
- Verse Prepare says this the first time it runs and every time you sign in.
Install
Your Ctruh contact sends you the download for your computer, with a checksum file beside it:
| File | For |
|---|---|
verse-prepare-darwin-arm64 | Macs with Apple silicon (M1 and later) |
verse-prepare-darwin-x64 | Intel Macs |
verse-prepare-windows-x64.exe | Windows 10 and 11 |
verse-prepare-linux-x64 | Linux (64-bit) |
- 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 - Rename it to
verse-prepare(verse-prepare.exeon Windows) and put it somewhere on yourPATH. On macOS and Linux, make it runnable:chmod +x verse-prepare. - 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.
- Check it runs:
verse-prepare --versionprints the version.
Sign in
verse-prepare loginYour 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.glbdoctor 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
- A long compile stopped (the computer slept, you closed the window):
run the same
compilecommand with--resume. It carries on from the last finished step. - An upload stopped: run the same
pushcommand again. It sends only what has not arrived. - You lost the build folder's state (moved it, cleaned it): the upload
prints a session id when it starts, for example
upload session 5f2c…. Runverse-prepare push city-build --session <id>to finish that upload.
Exit codes
Every command ends with one of these, so scripts can tell what happened:
| Code | Meaning |
|---|---|
| 0 | Done |
| 1 | Failed (the message says why) |
| 2 | The command was not written correctly |
| 3 | Not signed in, or the sign-in was refused: run verse-prepare login |
| 4 | This computer is too small for the file |
| 5 | Verse refused the scene (the message says why) |
| 6 | Could 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:
- On the Account page, under API keys, create a key and copy it. It is shown once.
- Store it as a secret in your CI system and expose it as
VERSE_TOKEN. - Run the tool without questions, with the result as JSON:
VERSE_TOKEN=<your key> verse-prepare publish city.glb --local --yes --jsonThe 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.