Quickstart

This path uses the CLI because it handles login, project creation, polling, and embed output for you.

1

Install the CLI

bash
npm install -g @littledemo/clilittledemo --version
2

Sign in

bash
littledemo login

The command opens a browser page where you approve the device code.

3

Create a demo

bash
littledemo init

The wizard creates a project, asks what to show, starts generation, and waits for the final demo URL.

4

Embed the result

html
<iframe src="https://littledemo.com/embed/demo_abc123" width="100%" height="400" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>

Same flow with the API

Use this when you already have an API key and want to wire LittleDemo into another system.

bash
curl -X POST https://littledemo.com/api/v1/projects \ -H "Authorization: Bearer ld_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme App", "url": "https://acme.com", "viewport": "desktop" }'

Then start a demo:

bash
curl -X POST https://littledemo.com/api/v1/demos \ -H "Authorization: Bearer ld_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "project_id": "proj_abc123", "prompt": "Show creating a workspace and inviting a teammate", "duration_target": "10s", "presentation": { "recordingTemplate": { "id": "auto" } } }'

Next useful pages

Prompting

Write prompts that produce cleaner, shorter recordings.

Learn More
Recording templates

Use auto mode or pick a specific recording style.

Learn More
Embed overview

Pick the right embed method for your site.

Learn More
API overview

Build the same workflow from your backend.

Learn More
Ask a question... ⌘I