Wiki/README.md
Demo Factory
A Claude Code plugin that generates 30–60s flashy product demo videos from a running local dev server and project documentation. Phase 1 of ArijitOS Demo Studio.
Status: Implementation complete — pending real e2e pipeline run Last updated: 2026-05-04 Phase: Phase 1 — Demo Factory
What it does
Given a running local dev server and product documentation, Demo Factory:
1. Captures screenshots via Playwright (replay from capture.yaml or live-record on first run)
2. Synthesizes a product synopsis from vault docs (LLM-1: Sonnet)
3. Scripts a multi-track 30–60s demo (LLM-2: Opus) — VO, text overlay, avatar tracks
4. Renders an MP4 via Remotion (React for video) — 9:16 by default
5. Uploads the final MP4 to Google Drive archive
Target products: Crawler Factory, Algolia Central, PRISM, NoCo II.
What makes it different
Demo Factory is not a screen recorder and not a video editor. It is a deterministic pipeline that takes a running app + docs as input and produces a production-quality demo video as output, fully reproducible and re-cuttable from the same source artifacts. The 4 LLM synthesis points are the only non-deterministic steps; everything else is typed TypeScript with validated schemas.
Invocation surfaces (3)
| Surface | Command |
|---|---|
| Slash command | /demo <product> <url> |
| Conversational skill | "build a demo for Crawler Factory" |
| Standalone CLI | npx tsx cli/demo-factory.ts build --product <slug> --url <url> |
Quick links
| Document | Purpose |
|---|---|
| Status.md | What's built, what's next, session history |
| Architecture.md | Plugin structure, component map, data flow |
| Pipeline.md | The 5-stage pipeline and state machine |
| Decisions.md | All locked decisions (D0–D17) |
| Constraints.md | Phase 1 non-goals and explicit limits |
| ../Specs/2026-05-03-demo-factory-design.md | Approved spec v1.1 (full detail) |
| ../Specs/SCRATCHPAD.md | Brainstorm + decision rationale |
Repository
- Local:
/Users/arijitchowdhury/AI-Development/Video_Editing - GitHub:
github.com/arijitchowdhury80/Video_Editing(private)