# faviovazquez/showtime architecture

> Architecture diagram of the GitHub repository faviovazquez/showtime, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/faviovazquez/showtime
- Repository: https://github.com/faviovazquez/showtime

## Overview

Showtime is a local video studio operated through a coding agent: the agent turns a request into a project, renders it on the user’s machine, checks the result, and prepares deliverables. The README also documents studio planning, footage editing, voice and sound, motion graphics, X-ray films, interactive review, and platform exports; these appear as distinct capabilities. The README supports the user-facing workflow, but most implementation connections are not shown in the sampled source, so internal links are omitted rather than inferred.

Main entry points: [`skills/showtime/lib/st/cli_core.py`](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/cli_core.py) (Showtime CLI), [`skills/showtime/templates/film/scenes.js`](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/templates/film/scenes.js) (Project authoring), [`skills/showtime/mcp/server.mjs`](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/mcp/server.mjs) (MCP tools), [`skills/showtime/scripts/lib/pipeline.mjs`](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/scripts/lib/pipeline.mjs) (Render pipeline)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Agent interfaces"]
  node_mcp["MCP tools<br/>[server.mjs]"]
  node_cli["Showtime CLI<br/>[cli_core.py]"]
end

subgraph group_creation["Video creation"]
  node_project["Project authoring<br/>[scenes.js]"]
  node_studio["Studio planning<br/>[board.js]"]
  node_render["Render pipeline<br/>[pipeline.mjs]"]
  node_film["Film runtime<br/>[film.js]"]
end

subgraph group_media["Media and motion"]
  node_footage["Footage editing<br/>[render_edl.py]"]
  node_voice["Voice generation<br/>[tts.py]"]
  node_audio["Music and sound<br/>[compose.py]"]
  node_motion["Motion graphics<br/>[core.js]"]
  node_transitions["Scene transitions<br/>[transitions.js]"]
  node_xray["X-ray films<br/>[xray.py]"]
end

subgraph group_quality["Review and QA"]
  node_qa["Video QA<br/>[video.py]"]
  node_hearing["Audio QA<br/>[hearing.py]"]
  node_critic["Critic review<br/>[review.py]"]
  node_review["Interactive review<br/>[review.js]"]
  node_review_state[("Review tracking<br/>[review_state.py]")]
end

subgraph group_delivery["Playback and delivery"]
  node_exports["Platform exports<br/>[exports.py]"]
  node_player["Video player<br/>[player.js]"]
  node_receipt["Job receipt<br/>[receipt.py]"]
end

node_agent(("Coding agent"))

node_agent -.->|"requests tools"| node_mcp
node_agent -->|"describes video"| node_cli
node_mcp -->|"runs commands"| node_cli
node_cli -.->|"directs creation"| node_project
node_cli -->|"offers planning"| node_studio
node_cli -->|"starts render"| node_render
node_render -.->|"renders film"| node_film
node_cli -->|"edits footage"| node_footage
node_cli -->|"creates voice-over"| node_voice
node_cli -->|"creates music"| node_audio
node_project -.->|"uses graphics"| node_motion
node_project -.->|"sets transitions"| node_transitions
node_cli -->|"creates X-ray film"| node_xray
node_cli -->|"checks render"| node_qa
node_qa -.->|"checks sound"| node_hearing
node_cli -->|"packs critic review"| node_critic
node_agent -->|"adds review notes"| node_review
node_review -.->|"records review"| node_review_state
node_cli -->|"prepares exports"| node_exports
node_film -.->|"plays render"| node_player
node_cli -->|"reports completion"| node_receipt

click node_mcp "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/mcp/server.mjs"
click node_cli "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/cli_core.py"
click node_project "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/templates/film/scenes.js"
click node_studio "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/studio/board.js"
click node_render "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/scripts/lib/pipeline.mjs"
click node_film "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/film.js"
click node_footage "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/footage/render_edl.py"
click node_voice "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/voice/tts.py"
click node_audio "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/audio/compose.py"
click node_motion "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/components/core.js"
click node_transitions "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/transitions/transitions.js"
click node_xray "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/xray.py"
click node_qa "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/qa/video.py"
click node_hearing "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/qa/hearing.py"
click node_critic "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/qa/review.py"
click node_review "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/review/review.js"
click node_review_state "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/job/review_state.py"
click node_exports "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/deliver/exports.py"
click node_player "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/player/player.js"
click node_receipt "https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/job/receipt.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_mcp,node_cli toneBlue
class node_project,node_studio,node_render,node_film toneAmber
class node_footage,node_voice,node_audio,node_motion,node_transitions,node_xray toneMint
class node_qa,node_hearing,node_critic,node_review,node_review_state toneRose
class node_exports,node_player,node_receipt,node_agent toneIndigo
```

## Components

### Agent interfaces

- [MCP tools](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/mcp/server.mjs): `skills/showtime/mcp/server.mjs`
- [Showtime CLI](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/cli_core.py): `skills/showtime/lib/st/cli_core.py`

### Video creation

- [Project authoring](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/templates/film/scenes.js): `skills/showtime/templates/film/scenes.js`
- [Studio planning](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/studio/board.js): `skills/showtime/runtime/studio/board.js`
- [Render pipeline](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/scripts/lib/pipeline.mjs): `skills/showtime/scripts/lib/pipeline.mjs`
- [Film runtime](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/film.js): `skills/showtime/runtime/film.js`

### Media and motion

- [Footage editing](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/footage/render_edl.py): `skills/showtime/lib/st/footage/render_edl.py`
- [Voice generation](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/voice/tts.py): `skills/showtime/lib/st/voice/tts.py`
- [Music and sound](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/audio/compose.py): `skills/showtime/lib/st/audio/compose.py`
- [Motion graphics](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/components/core.js): `skills/showtime/runtime/components/core.js`
- [Scene transitions](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/transitions/transitions.js): `skills/showtime/runtime/transitions/transitions.js`
- [X-ray films](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/xray.py): `skills/showtime/lib/st/xray.py`

### Review and QA

- [Video QA](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/qa/video.py): `skills/showtime/lib/st/qa/video.py`
- [Audio QA](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/qa/hearing.py): `skills/showtime/lib/st/qa/hearing.py`
- [Critic review](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/qa/review.py): `skills/showtime/lib/st/qa/review.py`
- [Interactive review](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/review/review.js): `skills/showtime/runtime/review/review.js`
- [Review tracking](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/job/review_state.py): `skills/showtime/lib/st/job/review_state.py`

### Playback and delivery

- [Platform exports](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/deliver/exports.py): `skills/showtime/lib/st/deliver/exports.py`
- [Video player](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/runtime/player/player.js): `skills/showtime/runtime/player/player.js`
- [Job receipt](https://github.com/faviovazquez/showtime/blob/main/skills/showtime/lib/st/job/receipt.py): `skills/showtime/lib/st/job/receipt.py`

### Other components

- **Coding agent**

## Connections

- Coding agent → MCP tools: requests tools
- Coding agent → Showtime CLI: describes video (evidence: `README.md`)
- MCP tools → Showtime CLI: runs commands (evidence: `skills/showtime/mcp/server.mjs`)
- Showtime CLI → Project authoring: directs creation
- Showtime CLI → Studio planning: offers planning (evidence: `README.md`)
- Showtime CLI → Render pipeline: starts render (evidence: `README.md`)
- Render pipeline → Film runtime: renders film
- Showtime CLI → Footage editing: edits footage (evidence: `README.md`)
- Showtime CLI → Voice generation: creates voice-over (evidence: `README.md`)
- Showtime CLI → Music and sound: creates music (evidence: `README.md`)
- Project authoring → Motion graphics: uses graphics
- Project authoring → Scene transitions: sets transitions
- Showtime CLI → X-ray films: creates X-ray film (evidence: `README.md`)
- Showtime CLI → Video QA: checks render (evidence: `README.md`)
- Video QA → Audio QA: checks sound
- Showtime CLI → Critic review: packs critic review (evidence: `README.md`)
- Coding agent → Interactive review: adds review notes (evidence: `skills/showtime/runtime/review/review.js`)
- Interactive review → Review tracking: records review
- Showtime CLI → Platform exports: prepares exports (evidence: `README.md`)
- Film runtime → Video player: plays render
- Showtime CLI → Job receipt: reports completion (evidence: `README.md`)
