# njrhts2kvv-star/fredtalk architecture

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

- Interactive diagram: https://gitdiagram.com/njrhts2kvv-star/fredtalk
- Repository: https://github.com/njrhts2kvv-star/fredtalk

## Overview

FredTalk 2.5 is a video-production workflow and searchable visual-component library for turning narration, recordings, and media into a reviewed Remotion video. The primary flow is to find and adapt suitable scenes, review real-content keyframes, then render and inspect the finished picture and sound; optional audio/subtitle rough-cut tools support preparation. The graph combines documented workflow capabilities with sampled library wiring and indexed modules. Several server, rendering, and asset subsystems are represented from README descriptions and tree paths; their internal calls were not sampled.

Main entry points: [`apps/library/src/App.jsx`](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/App.jsx) (Library application), [`skills/fred-remotion-output/templates/components/component-adaptation.ts`](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/components/component-adaptation.ts) (Component adaptation), [`apps/library/src/ReferenceLibrary.jsx`](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/ReferenceLibrary.jsx) (Scene browser), [`skills/fred-remotion-output/scripts/library_matching.py`](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/scripts/library_matching.py) (Narration matching)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_library["Visual library"]
  node_library_ui["Library application<br/>[App.jsx]"]
  node_library_data[("Library content<br/>[content.js]")]
  node_design_pages["Design guidance"]
  node_guidelines["Principle guidelines<br/>[Guidelines.jsx]"]
  node_library_browser["Scene browser"]
  node_reference_player["Preview player"]
  node_search["Scene search"]
  node_catalog["Component catalog<br/>[catalog.py]"]
  node_library_server["Library server<br/>[library_server.py]"]
end

subgraph group_authoring["Selection and authoring"]
  node_library_matching["Narration matching"]
  node_component_adapt["Component adaptation"]
  node_semantic_motion_a["Semantic motion<br/>[SemanticMotion.tsx]"]
  node_semantic_motion_b["Semantic motion<br/>[SemanticMotion.tsx]"]
  node_semantic_motion_c["Semantic motion<br/>[SemanticMotion.tsx]"]
  node_semantic_motion_d["Semantic motion<br/>[SemanticMotion.tsx]"]
  node_component_kit["Component kit<br/>[component_kit.py]"]
end

subgraph group_review["Review and curation"]
  node_curation_ui["Curation controls<br/>[Curation.jsx]"]
  node_review_server["Component review<br/>[server.py]"]
  node_keyframes["Keyframe review<br/>[push_keyframes.py]"]
end

subgraph group_production["Video production"]
  node_episode_skeleton["Episode composition<br/>[ckit.tsx]"]
  node_render_plan["Render planning<br/>[plan.py]"]
  node_final_render["Final render<br/>[final.py]"]
  node_audio_review["Audio rough-cut<br/>[init_review.py]"]
end

subgraph group_assets["Assets and access"]
  node_assets_tool["Asset management<br/>[assets.py]"]
  node_member_access["Member access<br/>[member_access.py]"]
end

node_creator(("Creator / agent"))
node_website(("Visual-library website"))

node_creator -->|"browse scenes"| node_library_ui
node_library_ui -->|"loads pages"| node_library_data
node_library_ui -->|"fetches design data"| node_library_server
node_library_ui -->|"uses review state"| node_curation_ui
node_library_ui -->|"renders guidance"| node_design_pages
node_library_ui -->|"renders guidelines"| node_guidelines
node_library_ui -->|"renders library"| node_library_browser
node_library_browser -->|"plays previews"| node_reference_player
node_library_browser -->|"shows curation"| node_curation_ui
node_creator -->|"searches scenes"| node_search
node_creator -->|"queries components"| node_catalog
node_creator -->|"matches narration"| node_library_matching
node_library_matching -->|"uses registered data"| node_catalog
node_creator -->|"adapts component"| node_component_adapt
node_component_adapt -.->|"adapts scenes"| node_semantic_motion_a
node_component_adapt -.->|"adapts scenes"| node_semantic_motion_b
node_component_adapt -.->|"adapts scenes"| node_semantic_motion_c
node_component_adapt -.->|"adapts scenes"| node_semantic_motion_d
node_creator -->|"generates keyframes"| node_component_kit
node_component_kit -->|"starts review"| node_review_server
node_creator -->|"checks keyframes"| node_keyframes
node_creator -->|"builds episode"| node_episode_skeleton
node_episode_skeleton -.->|"plans segments"| node_render_plan
node_creator -->|"renders video"| node_final_render
node_final_render -->|"reads segment plan"| node_render_plan
node_creator -->|"prepares audio"| node_audio_review
node_creator -->|"installs assets"| node_assets_tool
node_creator -.->|"requests access"| node_member_access
node_website -.->|"authorizes downloads"| node_member_access

click node_library_ui "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/App.jsx"
click node_library_data "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/content.js"
click node_design_pages "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/FoundationPages.jsx"
click node_guidelines "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/Guidelines.jsx"
click node_library_browser "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/ReferenceLibrary.jsx"
click node_reference_player "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/ReferencePlayer.jsx"
click node_search "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/reference-search.js"
click node_catalog "https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/catalog.py"
click node_library_server "https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/library_server.py"
click node_curation_ui "https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/Curation.jsx"
click node_library_matching "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/scripts/library_matching.py"
click node_component_adapt "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/components/component-adaptation.ts"
click node_semantic_motion_a "https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/7210437846d3/src/SemanticMotion.tsx"
click node_semantic_motion_b "https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/b5a943538d6e/src/SemanticMotion.tsx"
click node_semantic_motion_c "https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/bf89393afeeb/src/SemanticMotion.tsx"
click node_semantic_motion_d "https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/d6bbd6cb3df7/src/SemanticMotion.tsx"
click node_component_kit "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/scripts/component_kit.py"
click node_review_server "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/component-kit/review/server.py"
click node_keyframes "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/tools/push_keyframes.py"
click node_episode_skeleton "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/src/components/episode-kit/ckit.tsx"
click node_render_plan "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/render/plan.py"
click node_final_render "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/render/final.py"
click node_audio_review "https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/audio-subtitle-roughcut/scripts/init_review.py"
click node_assets_tool "https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/assets.py"
click node_member_access "https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/member_access.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_library_ui,node_library_data,node_design_pages,node_guidelines,node_library_browser,node_reference_player,node_search,node_catalog,node_library_server toneBlue
class node_library_matching,node_component_adapt,node_semantic_motion_a,node_semantic_motion_b,node_semantic_motion_c,node_semantic_motion_d,node_component_kit toneAmber
class node_curation_ui,node_review_server,node_keyframes toneMint
class node_episode_skeleton,node_render_plan,node_final_render,node_audio_review toneRose
class node_assets_tool,node_member_access,node_creator,node_website toneIndigo
```

## Components

### Visual library

- [Library application](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/App.jsx): `apps/library/src/App.jsx`
- [Library content](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/content.js): `apps/library/src/content.js`
- [Design guidance](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/FoundationPages.jsx): `apps/library/src/FoundationPages.jsx`
- [Principle guidelines](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/Guidelines.jsx): `apps/library/src/Guidelines.jsx`
- [Scene browser](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/ReferenceLibrary.jsx): `apps/library/src/ReferenceLibrary.jsx`
- [Preview player](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/ReferencePlayer.jsx): `apps/library/src/ReferencePlayer.jsx`
- [Scene search](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/reference-search.js): `apps/library/src/reference-search.js`
- [Component catalog](https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/catalog.py): `scripts/catalog.py`
- [Library server](https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/library_server.py): `scripts/library_server.py`

### Selection and authoring

- [Narration matching](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/scripts/library_matching.py): `skills/fred-remotion-output/scripts/library_matching.py`
- [Component adaptation](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/components/component-adaptation.ts): `skills/fred-remotion-output/templates/components/component-adaptation.ts`
- [Semantic motion](https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/7210437846d3/src/SemanticMotion.tsx): `components/projects/7210437846d3/src/SemanticMotion.tsx`
- [Semantic motion](https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/b5a943538d6e/src/SemanticMotion.tsx): `components/projects/b5a943538d6e/src/SemanticMotion.tsx`
- [Semantic motion](https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/bf89393afeeb/src/SemanticMotion.tsx): `components/projects/bf89393afeeb/src/SemanticMotion.tsx`
- [Semantic motion](https://github.com/njrhts2kvv-star/fredtalk/blob/main/components/projects/d6bbd6cb3df7/src/SemanticMotion.tsx): `components/projects/d6bbd6cb3df7/src/SemanticMotion.tsx`
- [Component kit](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/scripts/component_kit.py): `skills/fred-remotion-output/scripts/component_kit.py`

### Review and curation

- [Curation controls](https://github.com/njrhts2kvv-star/fredtalk/blob/main/apps/library/src/Curation.jsx): `apps/library/src/Curation.jsx`
- [Component review](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/component-kit/review/server.py): `skills/fred-remotion-output/templates/component-kit/review/server.py`
- [Keyframe review](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/tools/push_keyframes.py): `skills/fred-remotion-output/templates/episode-skeleton/tools/push_keyframes.py`

### Video production

- [Episode composition](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/src/components/episode-kit/ckit.tsx): `skills/fred-remotion-output/templates/episode-skeleton/src/components/episode-kit/ckit.tsx`
- [Render planning](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/render/plan.py): `skills/fred-remotion-output/templates/episode-skeleton/render/plan.py`
- [Final render](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/fred-remotion-output/templates/episode-skeleton/render/final.py): `skills/fred-remotion-output/templates/episode-skeleton/render/final.py`
- [Audio rough-cut](https://github.com/njrhts2kvv-star/fredtalk/blob/main/skills/audio-subtitle-roughcut/scripts/init_review.py): `skills/audio-subtitle-roughcut/scripts/init_review.py`

### Assets and access

- [Asset management](https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/assets.py): `scripts/assets.py`
- [Member access](https://github.com/njrhts2kvv-star/fredtalk/blob/main/scripts/member_access.py): `scripts/member_access.py`

### Other components

- **Creator / agent**
- **Visual-library website**

## Connections

- Creator / agent → Library application: browse scenes (evidence: `README.md`)
- Library application → Library content: loads pages (evidence: `apps/library/src/App.jsx`)
- Library application → Library server: fetches design data (evidence: `apps/library/src/App.jsx`)
- Library application → Curation controls: uses review state (evidence: `apps/library/src/App.jsx`)
- Library application → Design guidance: renders guidance (evidence: `apps/library/src/App.jsx`)
- Library application → Principle guidelines: renders guidelines (evidence: `apps/library/src/App.jsx`)
- Library application → Scene browser: renders library (evidence: `apps/library/src/App.jsx`)
- Scene browser → Preview player: plays previews (evidence: `apps/library/src/ReferenceLibrary.jsx`)
- Scene browser → Curation controls: shows curation (evidence: `apps/library/src/ReferenceLibrary.jsx`)
- Creator / agent → Scene search: searches scenes (evidence: `README.md`)
- Creator / agent → Component catalog: queries components (evidence: `README.md`)
- Creator / agent → Narration matching: matches narration (evidence: `README.md`)
- Narration matching → Component catalog: uses registered data (evidence: `README.md`)
- Creator / agent → Component adaptation: adapts component (evidence: `README.md`)
- Component adaptation → Semantic motion: adapts scenes
- Component adaptation → Semantic motion: adapts scenes
- Component adaptation → Semantic motion: adapts scenes
- Component adaptation → Semantic motion: adapts scenes
- Creator / agent → Component kit: generates keyframes (evidence: `README.md`)
- Component kit → Component review: starts review (evidence: `skills/fred-remotion-output/templates/component-kit/review/server.py`)
- Creator / agent → Keyframe review: checks keyframes (evidence: `README.md`)
- Creator / agent → Episode composition: builds episode (evidence: `README.md`)
- Episode composition → Render planning: plans segments
- Creator / agent → Final render: renders video (evidence: `README.md`)
- Final render → Render planning: reads segment plan (evidence: `skills/fred-remotion-output/templates/episode-skeleton/render/final.py`)
- Creator / agent → Audio rough-cut: prepares audio (evidence: `README.md`)
- Creator / agent → Asset management: installs assets (evidence: `README.md`)
- Creator / agent → Member access: requests access
- Visual-library website → Member access: authorizes downloads
