# rishabh-1617/calix architecture

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

- Interactive diagram: https://gitdiagram.com/rishabh-1617/calix
- Repository: https://github.com/rishabh-1617/calix

## Overview

Calix is a single-file, private-in-browser calisthenics form coach. Its principal workflow takes an uploaded video or sample through local pose tracking, movement scoring and coaching, then presents an interactive review and saves or exports session results. The README documents these capabilities and the external first-load model dependency; no source excerpts were provided, so implementation-level calls and finer-grained relationships cannot be verified.

Main entry points: [`index.html`](https://github.com/rishabh-1617/calix/blob/main/index.html) (Movement Scoring)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_analysis["Local Analysis"]
  node_video["Video or Demo Input<br/>[index.html]"]
  node_pose["Pose Tracking<br/>[index.html]"]
  node_tracking_cache[("Tracking Cache<br/>[index.html]")]
  node_movement_scoring["Movement Scoring<br/>[index.html]"]
  node_coaching["Coaching Cues<br/>[index.html]"]
end

subgraph group_review["Review &amp; Reports"]
  node_review_overlay["Skeleton Overlay<br/>[index.html]"]
  node_rhythm_chart["Rhythm Chart<br/>[index.html]"]
  node_rep_breakdown["Rep Breakdown<br/>[index.html]"]
  node_report_export["Text Report Export<br/>[index.html]"]
end

subgraph group_state["Session State"]
  node_session_history[("Session History<br/>[index.html]")]
end

node_athlete(("Athlete"))
node_mediapipe{{"MediaPipe Runtime &amp; Model"}}

node_athlete -->|"selects video or demo"| node_video
node_video -->|"analyzes locally"| node_pose
node_pose -->|"caches tracking data"| node_tracking_cache
node_tracking_cache -->|"reuses tracking data"| node_movement_scoring
node_pose -->|"scores landmarks"| node_movement_scoring
node_movement_scoring -->|"translates scores"| node_coaching
node_movement_scoring -->|"shows skeleton"| node_review_overlay
node_movement_scoring -->|"shows movement rhythm"| node_rhythm_chart
node_movement_scoring -->|"shows rep details"| node_rep_breakdown
node_movement_scoring -->|"saves session"| node_session_history
node_movement_scoring -->|"exports report"| node_report_export
node_athlete -->|"seeks to rep"| node_rep_breakdown
node_athlete -->|"exports report"| node_report_export
node_mediapipe -.->|"supplies runtime and model"| node_pose

click node_video "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_pose "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_tracking_cache "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_movement_scoring "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_coaching "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_review_overlay "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_rhythm_chart "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_rep_breakdown "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_session_history "https://github.com/rishabh-1617/calix/blob/main/index.html"
click node_report_export "https://github.com/rishabh-1617/calix/blob/main/index.html"

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_video,node_pose,node_tracking_cache,node_movement_scoring,node_coaching toneBlue
class node_review_overlay,node_rhythm_chart,node_rep_breakdown,node_report_export toneAmber
class node_session_history,node_mediapipe toneMint
class node_athlete toneIndigo
```

## Components

### Local Analysis

- [Video or Demo Input](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Pose Tracking](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Tracking Cache](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Movement Scoring](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Coaching Cues](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`

### Review & Reports

- [Skeleton Overlay](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Rhythm Chart](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Rep Breakdown](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`
- [Text Report Export](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`

### Session State

- [Session History](https://github.com/rishabh-1617/calix/blob/main/index.html): `index.html`

### Other components

- **Athlete**
- **MediaPipe Runtime & Model**

## Connections

- Athlete → Video or Demo Input: selects video or demo (evidence: `README.md`)
- Video or Demo Input → Pose Tracking: analyzes locally (evidence: `README.md`)
- Pose Tracking → Tracking Cache: caches tracking data (evidence: `README.md`)
- Tracking Cache → Movement Scoring: reuses tracking data (evidence: `README.md`)
- Pose Tracking → Movement Scoring: scores landmarks (evidence: `README.md`)
- Movement Scoring → Coaching Cues: translates scores (evidence: `README.md`)
- Movement Scoring → Skeleton Overlay: shows skeleton (evidence: `README.md`)
- Movement Scoring → Rhythm Chart: shows movement rhythm (evidence: `README.md`)
- Movement Scoring → Rep Breakdown: shows rep details (evidence: `README.md`)
- Movement Scoring → Session History: saves session (evidence: `README.md`)
- Movement Scoring → Text Report Export: exports report (evidence: `README.md`)
- Athlete → Rep Breakdown: seeks to rep (evidence: `README.md`)
- Athlete → Text Report Export: exports report (evidence: `README.md`)
- MediaPipe Runtime & Model → Pose Tracking: supplies runtime and model (evidence: `README.md`)
