@kenectai/cli
v0.7.56
Published
KENECT AI CLI — create, preview, and render HTML video compositions
Downloads
349
Readme
@kenectai/cli
CLI for creating, previewing, and rendering HTML video compositions.
Install
npm install -g @kenectai/cliOr use directly with npx:
npx @kenectai/cli <command>Requirements: Node.js >= 22, FFmpeg
Commands
init
Scaffold a new KENECT AI project from a template:
npx @kenectai/cli init my-video
cd my-videopreview
Start the live preview studio in your browser:
npx @kenectai/cli preview
# Studio running at http://localhost:3002
npx @kenectai/cli preview --port 4567render
Render a composition to MP4. Run from the project directory; the positional
argument is the project directory (not a file), so render the project's
index.html directly, or point at a specific composition file with -c:
npx @kenectai/cli render -o output.mp4
npx @kenectai/cli render -c ./my-composition.html -o output.mp4lint
Validate your KENECT AI HTML:
npx @kenectai/cli lint ./my-composition
npx @kenectai/cli lint ./my-composition --json # JSON output for CI/tooling
npx @kenectai/cli lint ./my-composition --verbose # Include info-level findingsBy default only errors and warnings are shown. Use --verbose to also display informational findings (e.g., external script dependency notices). Use --json for machine-readable output with errorCount, warningCount, infoCount, and a findings array.
compositions
List compositions found in the current project:
npx @kenectai/cli compositionsbenchmark
Run rendering benchmarks:
npx @kenectai/cli benchmark ./my-composition.htmldoctor
Check your environment for required dependencies (Chrome, FFmpeg, Node.js):
npx @kenectai/cli doctorbrowser
Manage the bundled Chrome/Chromium installation:
npx @kenectai/cli browserinfo
Print version and environment info:
npx @kenectai/cli infodocs
Open the documentation in your browser:
npx @kenectai/cli docsupgrade
Check for updates and show upgrade instructions:
npx @kenectai/cli upgrade
npx @kenectai/cli upgrade --check --json # machine-readable for agentsDocumentation
Full documentation: docs.kenectai.com/packages/cli
Related packages
@kenectai/core— types, parsers, frame adapters@kenectai/engine— rendering engine@kenectai/producer— render pipeline@kenectai/studio— composition editor UI
