@butai/scene-kit
v0.1.0-beta.0
Published
A catalog of self-contained HTML video scenes you copy into your own project. Each scene is a single framework-free page (a title card, a callout, an outro) that an external renderer can turn into video frames.
Downloads
103
Readme
@butai/scene-kit
A catalog of self-contained HTML video scenes you copy into your own project. Each scene is a single framework-free page (a title card, a callout, an outro) that an external renderer can turn into video frames.
What it does
It ships a set of video scene templates described in a generated catalog. You pick a scene by id and copy its source in with the butai CLI. Because each scene is plain HTML and CSS with no framework, any renderer that can screenshot a page can turn it into video.
Install
pnpm add @butai/scene-kit
butai add <scene-id>Usage
Browse catalog/catalog.md for the available scenes, then copy the ones you want
in with butai add. A Node entry point (@butai/scene-kit/node) exposes the
catalog for tooling that needs to read scenes programmatically.
Under the hood
catalog/catalog.jsonandcatalog/catalog.md: the generated scene catalog (regenerated withpnpm gen).registry/index.json: the copy-in registry the CLI resolves against.src/: the scene sources;./nodeexports the catalog readers.- Depends on
@butai/patternsand@butai/themes; the tarball shipsdist,src,catalog, andregistry.
