# bhanubathini2002/movie-voice-lab architecture

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

- Interactive diagram: https://gitdiagram.com/bhanubathini2002/movie-voice-lab
- Repository: https://github.com/bhanubathini2002/movie-voice-lab

## Overview

Movie Voice Lab is a React catalogue for browsing film industries, movies, and characters, then starting a character-linked ElevenLabs voice session. Its central flow is routed browsing through the catalogue to a character page, where permission information and agent configuration accompany the call control. The README documents the permission-notice agent and live browser voice features; sampled excerpts show route ownership and page-to-data/component relationships. Some component internals were not excerpted, so those relationships are omitted unless documented.

Main entry points: [`src/pages/Character.jsx`](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Character.jsx) (Character profile), [`src/App.jsx`](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/App.jsx) (Route application), [`src/components/Cards.jsx`](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Cards.jsx) (Catalogue cards), [`src/data/movies.js`](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/movies.js) (Film and character data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_browse["Film browsing"]
  node_app["Route application<br/>[App.jsx]"]
  node_home["Home discovery<br/>[Home.jsx]"]
  node_industry["Industry catalogue<br/>[Industry.jsx]"]
  node_movie["Movie and cast<br/>[Movie.jsx]"]
  node_character["Character profile<br/>[Character.jsx]"]
  node_notfound["Missing-page view<br/>[NotFound.jsx]"]
end

subgraph group_catalog["Catalogue and rights"]
  node_movies["Film and character data<br/>[movies.js]"]
  node_agents["Agent ID mapping<br/>[agents.js]"]
  node_rights["Permission notices<br/>[rights.js]"]
  node_artdata["Artwork paths<br/>[art.js]"]
end

subgraph group_presentation["Shared interface"]
  node_cards["Catalogue cards<br/>[Cards.jsx]"]
  node_artwork["Artwork fallback<br/>[Artwork.jsx]"]
  node_monogram["Character monogram<br/>[Monogram.jsx]"]
  node_motion["Motion primitives<br/>[Motion.jsx]"]
  node_layout["Page layout<br/>[Layout.jsx]"]
  node_navigation["Site navigation<br/>[Nav.jsx]"]
  node_footer["Site footer<br/>[Footer.jsx]"]
  node_icons["Interface icons<br/>[Icons.jsx]"]
end

subgraph group_voice["Voice experience"]
  node_voicecall["Voice call control<br/>[VoiceCall.jsx]"]
  node_elevenlabs{{"ElevenLabs service"}}
end

node_visitor(("Site visitor"))

node_visitor -->|"opens"| node_app
node_app -->|"wraps routes"| node_layout
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_industry
node_app -->|"routes to"| node_movie
node_app -->|"routes to"| node_character
node_app -->|"routes to"| node_notfound
node_layout -->|"renders"| node_navigation
node_layout -->|"renders"| node_footer
node_home -->|"reads catalogue"| node_movies
node_industry -->|"looks up industry"| node_movies
node_movie -->|"looks up movie"| node_movies
node_character -->|"looks up character"| node_movies
node_character -->|"resolves agent"| node_agents
node_character -->|"builds notice"| node_rights
node_home -->|"renders cards"| node_cards
node_industry -->|"renders cards"| node_cards
node_movie -->|"renders cast cards"| node_cards
node_character -->|"renders related cards"| node_cards
node_home -->|"selects artwork"| node_artdata
node_industry -->|"selects artwork"| node_artdata
node_movie -->|"selects artwork"| node_artdata
node_character -->|"selects artwork"| node_artdata
node_cards -->|"renders"| node_artwork
node_cards -->|"renders"| node_monogram
node_cards -->|"gets image paths"| node_artdata
node_home -->|"animates sections"| node_motion
node_industry -->|"animates sections"| node_motion
node_movie -->|"animates sections"| node_motion
node_character -->|"animates profile"| node_motion
node_character -->|"renders call control"| node_voicecall
node_voicecall -->|"starts voice session"| node_elevenlabs
node_character -->|"passes call variables"| node_elevenlabs
node_footer -->|"reads catalogue"| node_movies
node_navigation -->|"reads catalogue"| node_movies
node_notfound -->|"renders icon"| node_icons
node_voicecall -->|"uses icons"| node_icons

click node_app "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/App.jsx"
click node_home "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Home.jsx"
click node_industry "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Industry.jsx"
click node_movie "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Movie.jsx"
click node_character "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Character.jsx"
click node_notfound "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/NotFound.jsx"
click node_movies "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/movies.js"
click node_agents "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/agents.js"
click node_rights "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/rights.js"
click node_artdata "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/art.js"
click node_cards "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Cards.jsx"
click node_artwork "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Artwork.jsx"
click node_monogram "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Monogram.jsx"
click node_motion "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Motion.jsx"
click node_layout "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Layout.jsx"
click node_navigation "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Nav.jsx"
click node_footer "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Footer.jsx"
click node_icons "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Icons.jsx"
click node_voicecall "https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/VoiceCall.jsx"

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_app,node_home,node_industry,node_movie,node_character,node_notfound toneBlue
class node_movies,node_agents,node_rights,node_artdata toneAmber
class node_cards,node_artwork,node_monogram,node_motion,node_layout,node_navigation,node_footer,node_icons toneMint
class node_voicecall,node_elevenlabs toneRose
class node_visitor toneIndigo
```

## Components

### Film browsing

- [Route application](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/App.jsx): `src/App.jsx`
- [Home discovery](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Industry catalogue](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Industry.jsx): `src/pages/Industry.jsx`
- [Movie and cast](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Movie.jsx): `src/pages/Movie.jsx`
- [Character profile](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/Character.jsx): `src/pages/Character.jsx`
- [Missing-page view](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/pages/NotFound.jsx): `src/pages/NotFound.jsx`

### Catalogue and rights

- [Film and character data](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/movies.js): `src/data/movies.js`
- [Agent ID mapping](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/agents.js): `src/data/agents.js`
- [Permission notices](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/rights.js): `src/data/rights.js`
- [Artwork paths](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/data/art.js): `src/data/art.js`

### Shared interface

- [Catalogue cards](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Cards.jsx): `src/components/Cards.jsx`
- [Artwork fallback](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Artwork.jsx): `src/components/Artwork.jsx`
- [Character monogram](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Monogram.jsx): `src/components/Monogram.jsx`
- [Motion primitives](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Motion.jsx): `src/components/Motion.jsx`
- [Page layout](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Layout.jsx): `src/components/Layout.jsx`
- [Site navigation](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Nav.jsx): `src/components/Nav.jsx`
- [Site footer](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`
- [Interface icons](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/Icons.jsx): `src/components/Icons.jsx`

### Voice experience

- [Voice call control](https://github.com/bhanubathini2002/movie-voice-lab/blob/main/src/components/VoiceCall.jsx): `src/components/VoiceCall.jsx`
- **ElevenLabs service**

### Other components

- **Site visitor**

## Connections

- Site visitor → Route application: opens (evidence: `README.md`)
- Route application → Page layout: wraps routes (evidence: `src/App.jsx`)
- Route application → Home discovery: routes to (evidence: `src/App.jsx`)
- Route application → Industry catalogue: routes to (evidence: `src/App.jsx`)
- Route application → Movie and cast: routes to (evidence: `src/App.jsx`)
- Route application → Character profile: routes to (evidence: `src/App.jsx`)
- Route application → Missing-page view: routes to (evidence: `src/App.jsx`)
- Page layout → Site navigation: renders (evidence: `src/components/Layout.jsx`)
- Page layout → Site footer: renders (evidence: `src/components/Layout.jsx`)
- Home discovery → Film and character data: reads catalogue (evidence: `src/pages/Home.jsx`)
- Industry catalogue → Film and character data: looks up industry (evidence: `src/pages/Industry.jsx`)
- Movie and cast → Film and character data: looks up movie (evidence: `src/pages/Movie.jsx`)
- Character profile → Film and character data: looks up character (evidence: `src/pages/Character.jsx`)
- Character profile → Agent ID mapping: resolves agent (evidence: `src/pages/Character.jsx`)
- Character profile → Permission notices: builds notice (evidence: `src/pages/Character.jsx`)
- Home discovery → Catalogue cards: renders cards (evidence: `src/pages/Home.jsx`)
- Industry catalogue → Catalogue cards: renders cards (evidence: `src/pages/Industry.jsx`)
- Movie and cast → Catalogue cards: renders cast cards (evidence: `src/pages/Movie.jsx`)
- Character profile → Catalogue cards: renders related cards (evidence: `src/pages/Character.jsx`)
- Home discovery → Artwork paths: selects artwork (evidence: `src/pages/Home.jsx`)
- Industry catalogue → Artwork paths: selects artwork (evidence: `src/pages/Industry.jsx`)
- Movie and cast → Artwork paths: selects artwork (evidence: `src/pages/Movie.jsx`)
- Character profile → Artwork paths: selects artwork (evidence: `src/pages/Character.jsx`)
- Catalogue cards → Artwork fallback: renders (evidence: `src/components/Cards.jsx`)
- Catalogue cards → Character monogram: renders (evidence: `src/components/Cards.jsx`)
- Catalogue cards → Artwork paths: gets image paths (evidence: `src/components/Cards.jsx`)
- Home discovery → Motion primitives: animates sections (evidence: `src/pages/Home.jsx`)
- Industry catalogue → Motion primitives: animates sections (evidence: `src/pages/Industry.jsx`)
- Movie and cast → Motion primitives: animates sections (evidence: `src/pages/Movie.jsx`)
- Character profile → Motion primitives: animates profile (evidence: `src/pages/Character.jsx`)
- Character profile → Voice call control: renders call control (evidence: `src/pages/Character.jsx`)
- Voice call control → ElevenLabs service: starts voice session (evidence: `README.md`)
- Character profile → ElevenLabs service: passes call variables (evidence: `README.md`)
- Site footer → Film and character data: reads catalogue (evidence: `src/components/Footer.jsx`)
- Site navigation → Film and character data: reads catalogue (evidence: `src/components/Nav.jsx`)
- Missing-page view → Interface icons: renders icon (evidence: `src/pages/NotFound.jsx`)
- Voice call control → Interface icons: uses icons (evidence: `src/components/VoiceCall.jsx`)
