Guide
Getting started
One project is one git repository. The config file lamino.jsonc sits at the root, and comp files sit in a folder per shot.
Installation
lamino is a single executable. Install it with one command:
# Windows (PowerShell)
irm https://laminolith.com/install.ps1 | iex
# Linux (x86_64)
curl -fsSL https://laminolith.com/install.sh | sh
On Windows the script runs a per-user installer (no administrator rights needed) that places lamino in %LOCALAPPDATA%\Laminolith\current\ and adds it to PATH. On Linux it unpacks lamino into ~/.local/share/laminolith/ with a link in ~/.local/bin/. Both scripts check the download against its SHA-256 before installing. Set LAMINO_CHANNEL=beta to install from the beta channel; the installed lamino keeps following the channel it was installed from.
Once a day an installed lamino asks, in the background, whether a newer version is out; while one is, every JSON result carries update: {current, latest, command}. It never updates by itself, since a new version can change how a node renders: run lamino update when you choose to (an agent asks you first). On Windows it downloads and checks the new version and puts it in place once no lamino is running any more (review windows, lamino mcp, lamino dev, renders); nothing running is stopped. On Linux it tells you to run the install script again. lamino update --channel beta switches the channel. Set LAMINO_NO_UPDATE_CHECK=1 to turn the check off; it is off on CI and for render --job. macOS builds are not published yet. To build from source, use cargo build --release -p lamino-cli --features oiio.
lamino --version shows the version and also the build kind, the commit, the enabled features (oiio, codec-mf, codec-ffmpeg), the location of the executable and the location of contrib/. When there is more than one lamino on PATH, use it to check which one runs.
What else you need depends on what you do.
| What you want to do | What you need |
|---|---|
Make movies (lamino_movie.py) |
ffmpeg on PATH and Python 3.8 or later |
| Read movies such as ProRes or DNxHR | The FFmpeg shared libraries (an LGPL build). Without them, E_CODEC_UNAVAILABLE |
| Send the review picture over NDI | The NDI runtime (included with NDI Tools) |
Compare with git revisions, render --job |
git |
Creating a project
Laminolith does not write project files. It prints the contents of each file to standard output, and you save them as UTF-8. lamino schema --setup shows the whole procedure.
lamino schema --config > lamino.jsonc
lamino schema --config-schema > lamino.schema.json
lamino schema --dts > lamino.d.ts
lamino schema --template tsconfig.json > tsconfig.json
lamino schema --template glsl.d.ts > glsl.d.ts
lamino schema --template .gitignore > .gitignore
lamino schema --template CLAUDE.md > CLAUDE.md
mkdir -p shots/010
lamino schema --template shot.comp.ts > shots/010/010.comp.ts
lamino check shots/010/010.comp.ts --json
In Windows PowerShell 5, > writes UTF-16, which lamino cannot read. In PowerShell 5, use | Out-File -Encoding utf8 <file>, or save with the agent's own file writing.
In lamino.jsonc, first change project (the project name) and roots (the root aliases). CLAUDE.md is the working rules for the agent; replace <PROJECT> in its heading before the agent reads it. lamino.schema.json and lamino.d.ts are generated, so print them again after updating lamino.
Folder layout
SHOW/
lamino.jsonc config: project name, root aliases, colour, proxies, limits
lamino.schema.json JSON Schema for lamino.jsonc (for the editor)
lamino.d.ts types of the lamino module (for the editor)
lamino.lock asset hashes and provenance (written by lamino)
CLAUDE.md working rules for the agent
lib/ effects, precomps and GLSL shared within the project
common/ shared across projects (git submodule: effects, fonts, LUTs, OCIO config)
data/ tables and text read with json() / table() / readText()
edit/<name>.otio timelines
shots/
010/
010.comp.ts the comp (1 comp = 1 file)
.lamino/ IR, cache, proxies, previews (written by lamino, safe to delete)
Of these, lamino requires the following four points; the rest is convention (the template CLAUDE.md, tsconfig.json and .gitignore are written to fit this convention).
lamino.jsoncis at the root of the project. Every command looks for it by walking up from the comp file or the current folder (E_CONFIG_NOT_FOUNDif it is not found).- Assets are read through root aliases (
$SHOTS/...). Absolute paths and..are refused. - A comp file's
importand a shader's#includecan refer only to their own folder and the folders listed inlib.roots. - Render output goes to a versioned folder under
$OUT($OUT/<name>_v001/).
What goes into git
| In | Out |
|---|---|
*.comp.ts, lamino.lock, lamino.jsonc, lamino.schema.json, lamino.d.ts, tsconfig.json, glsl.d.ts, .gitignore, CLAUDE.md, lib/, *.otio |
.lamino/, out/, the asset files themselves (plates, renders, movies) |
The asset files live on shared storage, and only their hashes (lamino.lock) go into git. git LFS is not used.
Root aliases
A path always starts with $NAME/.... The mapping from names to actual locations is written per OS in roots in lamino.jsonc.
"roots": {
"SHOTS": { "windows": "//nas/projects", "macos": "/Volumes/projects", "linux": "/mnt/projects", "readonly": true },
"OUT": { "windows": "//nas/projects/SHOW/out", "macos": "/Volumes/projects/SHOW/out", "linux": "/mnt/projects/SHOW/out" }
}
The template contains SHOTS (assets), OUT (output), ASSETS (library assets), FONTS (fonts) and CACHE (disk cache). Reading an alias that is not declared makes check fail with E_PATH_UNKNOWN_ALIAS. Every config key is in the reference, "Config and files".