@littledemo/cli
v0.1.0
Published
Generate AI-powered product demo videos from a URL and prompt. Embed anywhere, always up to date.
Downloads
18
Maintainers
Readme
@littledemo/cli
Command-line tool for LittleDemo — turn any URL into a polished demo video with AI.
Install
npm install -g @littledemo/cliQuick start
# 1. Sign in (opens your browser)
littledemo login
# 2. Create your first demo (interactive wizard runs automatically after login)
littledemo initThat's it. The wizard creates a project, generates your first demo, and prints the share URL + embed snippet.
Commands
| Command | Description |
|---|---|
| littledemo login | Browser-based login (device authorization flow) |
| littledemo logout | Remove stored credentials |
| littledemo whoami | Show current account, plan, and usage |
| littledemo init | Run the onboarding wizard |
| littledemo projects list | List your projects |
| littledemo projects create --name <n> --url <u> | Create a project |
| littledemo demos list [--project <id>] | List demos |
| littledemo demos create --project <id> --prompt "..." | Generate a demo |
| littledemo demos get <id> | Print demo JSON |
| littledemo demos open <id> | Open demo share page |
CI / scripting
Use an API key directly to skip the browser flow:
littledemo login --api-key ld_live_xxxxx
# or
LITTLEDEMO_API_KEY=ld_live_xxxxx littledemo demos create --project proj_abc --prompt "..."You can also pass --no-browser to print the device code without opening a browser (useful for SSH sessions).
Config
Credentials are stored at ~/.littledemo/config.json with 0600 permissions. Override the API base with LITTLEDEMO_API_URL or --api-url.
License
MIT
