Commands
| Command | What it does |
|---|---|
init |
Sets up .scenlit/ in this project |
dev <scene> [--port 4400] |
Runs it, serves the film, runs again every time you save |
doctor |
Is this machine ready, and what is missing |
login [path] [--as name] |
Sign in by hand; scenes then start signed in |
look [path] [--save] |
Reads the app's name and colour, and proposes a marketing look |
run <scene> / run --all |
Runs on the app, then writes the film, posts, screenshots and guide. --record, --strict, --look, --format <kind>, --headed |
check [scene] |
Every scene without running it: missing titles, posts without a picture, steps not recorded yet |
frames <scene> [--shape s] [--at seconds] [--out path] |
Still frames of the film, to review without playing it |
voice <scene> [--retake] |
Records the narration |
export <scene> [--for place] [--shape s] [--all] [--step n] [--gif] [--4k] [--fps 60] [--blur] [--out path] |
The film as an MP4 with a poster and captions, or one step as a loop. Needs ffmpeg |
record <name> [path] |
Write a scene by clicking through the app |
translate <scene> --to <lang> |
The film's words in another language |
inspect [path], sheet <scene>, guide |
For agents: what is on a page, the film as one image, how to write scenes |
component list, component add <kind>, component new <name>, component from <scene>/<shot> <name> |
The built-in screens, and vector pieces of your own |
motion list, motion new |
The pieces that move things, and a file to add or replace them |
sounds, sounds --save |
The sound effects and music beds, and where a sound can play; --save writes them as .wav files |
kit |
The app as a library of vector pieces |
site |
One page listing everything: .scenlit/output/index.html |
connect [--to address], disconnect |
Connects this computer to the platform (you approve it in the browser), or no longer |
publish <scene> [more] | --all [--to address] [--kind demo|help|news] [--private] [--listed] |
The video gets a link on the platform, its product's page shows it, and you see who watched. Several scenes in one go: name them, or --all |
unpublish <scene>, portal |
Takes the video down; opens your products in the browser |
Settings: .scenlit/config.json
{
"app": { "url": "http://localhost:3000", "start": "npm run dev", "as": "acme.com" },
"brand": { "name": "Acme", "url": "acme.com", "background": "#07090d", "glow": "#1b2a3f",
"text": "#f3f1ea", "muted": "#8d939e", "accent": "#f5b63a" },
"look": { "viewport": { "width": 1280, "height": 800 }, "hide": [".cookie-banner"], "css": "" },
"looks": { "marketing": { "viewport": { "width": 1120, "height": 700 }, "hide": ["header .search"] } },
"data": { "replace": {}, "blur": [], "date": null },
"model": { "provider": "claude-code" },
"voice": { "provider": "none" }
}app: where the app runs, the command that starts it when it is not up, and the address films show.
brand: colours and fonts (
font,titleFont, andfontImportfor a web font stylesheet).look, looks: how the app is captured. A smaller viewport gives bigger type.
style, formats: how films and posts look (above).
data: sample data for every scene.
save: where every scene's results are also kept in your project (see Where the results go).
portal, product: the platform
scenlit publishsends videos to, and the product they belong to there (see Publish it).model: who works out plain-language steps the first time they run (exact steps need no model).
claude-code(the default): the Claude Code login on this machine. No key.anthropic: the Claude API, or any API that speaks it. Install@anthropic-ai/sdk; the key isANTHROPIC_API_KEY(or anant auth loginprofile).openai: any API that speaks OpenAI's chat completions: OpenAI, OpenRouter, Ollama, LM Studio, vLLM, Groq and others. No package needed; the key isOPENAI_API_KEY, and a server on this machine needs none.
urlis the API's address when it is not the provider's own,keythe name of the environment variable that holds the key (never the key itself: the file goes to git),modelwhich model.scenlit doctorchecks it."model": { "provider": "openai", "url": "http://localhost:11434/v1", "model": "qwen3" } "model": { "provider": "openai", "url": "https://openrouter.ai/api/v1", "key": "OPENROUTER_API_KEY", "model": "<a model id>" }voice: who narrates (see Narration).
nonegives captions only.
What is in .scenlit/
| Folder | What | In git |
|---|---|---|
config.json |
Settings | yes |
scenes/ |
Your scenes | yes |
recordings/ |
The actions each plain-language step turned into | yes |
components/ |
Vector pieces drawn by you or an agent | yes |
motion.js |
Your own motion pieces and effects | yes |
style.css |
Your own CSS over every film and post | yes |
kit/ |
The vector library (scenlit kit) |
yes |
voice/, translations/ |
Narration, translated words | yes |
sessions/ |
Saved logins | no |
captures/, output/ |
Made again by a run | no |
Limits today
- The film is built from frozen pages (or screenshots) of the app plus the frames recorded during each action. It is not a live page: things that move on their own between actions (a spinner, a chart animating in) show as they were when the picture was taken.
- Web apps only, in Chrome. Developed on a Mac; Windows and Linux are not tested yet.
- A sign-in that needs a code from an email is not handled; authenticator codes are (
totp). - Narration is timed per step, not per word.
- A recording made by an earlier version of Scenlit is not reused when its shape has changed: the scene says so and is run again.
- The camera stays still while the next action is comfortably in view, and glides when it moves; the cursor travels in a slight arc.
- The GitHub Action is written but has not been run on GitHub yet.
Examples and tests
npm install
npm test # both examples by replay: no model is called
cd examples/store && node ../../bin/cli.mjs run checkout
cd examples/dashboard && node ../../bin/cli.mjs run signin && node ../../bin/cli.mjs run customersexamples/store: a small shop. Plain-language steps, posts, a guide.examples/dashboard: an app behind a login with customer data. Sign-in by a scene, sample data, pointing, the marketing look.
Made by Certyn. What changed in each version is in CHANGELOG.md.
Licence
Apache-2.0. Free for everyone, built by Certyn. See LICENSE and NOTICE.