seangeng/LittleDemo PR Demo
Record your app in CI, host it on LittleDemo, and post a sticky PR comment with an inline demo GIF.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | LittleDemo live API key (ld_live_...). Store as a repo secret. Leave empty on fork PRs — the action skips gracefully. | no | "" |
| project-id | LittleDemo project id (proj_...) | no | "" |
| url | URL to record | no | http://localhost:3000 |
| start | Command that starts your dev server (e.g. 'npm run dev'). Leave empty if url is already reachable. | no | "" |
| wait-on | URL to wait for before recording (defaults to the record url when start is set) | no | "" |
| steps-file | Path to a steps.json for a scripted flow (default: automatic scroll tour) | no | "" |
| prompt | What the demo shows — becomes the demo title/description | no | Automated PR demo |
| duration | Target seconds for the default scroll tour | no | 10 |
| comment | Post/update the sticky PR comment (true/false) | no | true |
| pr-number | PR number for the sticky comment when the event has no PR context (e.g. deployment_status runs). Auto-resolved from the commit when omitted. | no | "" |
| cli-version | @littledemo/cli version to run via npx | no | latest |
Outputs
| name | description |
|---|---|
| demo-id | Created demo id |
| share-url | Public share page (/d/:id) |
| gif-url | Inline-renderable GIF URL |
| video-url | Direct MP4 URL |
| skipped | true when no api-key was available (fork PR) |