create-aituber-onair
v0.2.2
Published
Create an AITuber OnAir app from an official starter template
Maintainers
Readme
create-aituber-onair

Create an AITuber OnAir app from an official starter template.
npm create aituber-onair@latestThe CLI will ask for a project name, template, and whether to install dependencies.
You can also pass the project name up front:
npm create aituber-onair@latest my-aituber
cd my-aituber
npm run devTemplates
pngtuber: 2D PNG avatar app with bundled avatar image assetsvrm: 3D VRM avatar app with bundledmiko.vrmand idle animation assetslive2d: Live2D avatar app without bundled Live2D model assetspet: Animated pet app with bundled Miko pet assetspurupuru: Physics-driven PuruPuru PNGTuber app with a bundled avatarpsd: PSD Tachie app with motion and static sample PSD filesinochi2d: Inochi2D app with an optional Aka sample-model download
Usage
Interactive setup:
npm create aituber-onair@latestWith a project name:
npm create aituber-onair@latest my-aituberAdvanced template selection:
npm create aituber-onair@latest my-aituber -- --template pngtuber
npm create aituber-onair@latest my-vrm-aituber -- --template vrm
npm create aituber-onair@latest my-live2d-aituber -- --template live2d
npm create aituber-onair@latest my-pet-aituber -- --template pet
npm create aituber-onair@latest my-purupuru -- --template purupuru
npm create aituber-onair@latest my-psd-aituber -- --template psd
npm create aituber-onair@latest my-inochi2d-aituber -- --template inochi2dInstall dependencies during project creation:
npm create aituber-onair@latest my-aituber -- --template pngtuber --installSkip the install prompt:
npm create aituber-onair@latest my-aituber -- --no-installAfter launch, open Settings in the app and configure your LLM / TTS provider
API keys. The generated app stores sample credentials in browser
localStorage, so do not use production-scope keys on a shared or public
origin.
For the live2d template, Live2D model files and
public/scripts/live2dcubismcore.min.js are not bundled. Place them yourself
after project creation, following the generated app README.
The inochi2d template does not bundle the large Aka model files in this npm
package. Interactive setup asks whether to download them from a commit-pinned
URL and verifies their SHA-256 checksums. Use --no-download-assets to skip
the download, or run npm run setup:sample-model in the generated app later.
The runtime and required third-party notices remain bundled.
Template maintenance
The checked-in Core React examples are the only source of template application
code. npm run generate:templates copies Git-tracked files only, converts local
workspace dependencies to published version ranges, renames .gitignore to
_gitignore for safe npm packaging, and applies the documented per-template
asset policy. Generated templates/ files are ignored by Git but included by
npm pack.
Run these checks after changing a Core example or template policy:
npm run generate:templates
npm run verify:templates
npm test
npm pack --dry-run