@lakrimosa/cli
Pair a terminal with the Lakrimosa editor. Nothing to install globally, no tunnel.
npx @lakrimosa/cli sync my-film.ir.json --url https://lakrimosa.fly.dev --project <uuid> --token <token>
The editor's Pair CLI button builds that command for you: it shows the
install step, mints a 24-hour token scoped to one project, and copies the line
with a Rotate and a Revoke next to it.
What it does
| Command |
|
sync <file.ir.json> |
Watch a film on disk and push every valid save to the open editor. Invalid IR is refused and waits for the next save. |
context |
Read where the editor is: playhead frame, active scene, selection, locks. |
snapshot / watch |
The current document, or the live event stream. |
say --working "…" |
Show a status line in the editor's agent pill. |
publish <clip> |
Send a generated clip or film straight into the open editor. |
playhead / select |
Drive the editor from the terminal. |
health needs no account:
npx @lakrimosa/cli health --url https://lakrimosa.fly.dev
Authentication
A hosted project has no cookie in your terminal. Pair CLI mints a token that
grants edit scope on that one project for 24 hours. Revoking it in the editor
ends terminal access immediately; your browser session is unaffected.
For a film opened from disk with bun run lak:open, the editor's loopback
bridge is used instead and no token is needed.
export-ref
Reference-blockout export needs Bun, Remotion and the repo's public/ folder,
so it is not part of this package. Run it from a checkout:
bun run lak:live export-ref <file.ir.json> --scene <id> --out out/ref.mp4
Requirements
Node 18 or newer. The package is a self-contained bundle — no build step, no
repo clone.