# gt-big-data/graption architecture

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

- Interactive diagram: https://gitdiagram.com/gt-big-data/graption
- Repository: https://github.com/gt-big-data/graption

## Overview

Graption is planned as an iPhone app for real-time, speaker-aware captions and sound alerts, with tone tags supplied by a small server and AI summaries for past meetings. The README says the iOS app is currently blank, so this graph represents documented product capabilities rather than a verified, implemented runtime flow. Relationships are limited to those stated in the README; source excerpts show only the SwiftUI app entry point and placeholder view.

Main entry points: [`apps/ios/Graption/GraptionApp.swift`](https://github.com/gt-big-data/graption/blob/main/apps/ios/Graption/GraptionApp.swift) (Graption app), [`server`](https://github.com/gt-big-data/graption/tree/main/server) (Tone server), [`apps/ios`](https://github.com/gt-big-data/graption/tree/main/apps/ios) (Past-meetings dashboard), [`apps/ios/Graption/ContentView.swift`](https://github.com/gt-big-data/graption/blob/main/apps/ios/Graption/ContentView.swift) (App view)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ios["iPhone experience"]
  node_app["Graption app<br/>[GraptionApp.swift]"]
  node_view["App view<br/>[ContentView.swift]"]
end

subgraph group_device["On-device features"]
  node_captions["Live captions"]
  node_speakers["Speaker detection"]
  node_soundalerts["Sound alerts"]
end

subgraph group_tone["Tone service"]
  node_schemas["Message schemas"]
  node_toneserver["Tone server"]
  node_tonemodel["Tone model"]
end

subgraph group_meetings["Meeting summaries"]
  node_dashboard["Past-meetings dashboard"]
  node_summaries["AI summaries"]
end

node_user(("iPhone user"))

node_user -->|"uses"| node_app
node_app -->|"shows"| node_view
node_app -->|"provides"| node_captions
node_app -->|"highlights speakers"| node_speakers
node_app -->|"runs offline"| node_soundalerts
node_app -->|"gets tone tags"| node_toneserver
node_toneserver -->|"plugs in"| node_tonemodel
node_dashboard -->|"uses"| node_summaries

click node_app "https://github.com/gt-big-data/graption/blob/main/apps/ios/Graption/GraptionApp.swift"
click node_view "https://github.com/gt-big-data/graption/blob/main/apps/ios/Graption/ContentView.swift"
click node_captions "https://github.com/gt-big-data/graption/tree/main/apps/ios"
click node_speakers "https://github.com/gt-big-data/graption/tree/main/ml/asd"
click node_soundalerts "https://github.com/gt-big-data/graption/tree/main/apps/ios"
click node_schemas "https://github.com/gt-big-data/graption/tree/main/schemas"
click node_toneserver "https://github.com/gt-big-data/graption/tree/main/server"
click node_tonemodel "https://github.com/gt-big-data/graption/tree/main/ml/tone"
click node_dashboard "https://github.com/gt-big-data/graption/tree/main/apps/ios"
click node_summaries "https://github.com/gt-big-data/graption/tree/main/language"

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_view,node_user toneBlue
class node_captions,node_speakers,node_soundalerts toneAmber
class node_schemas,node_toneserver,node_tonemodel toneMint
class node_dashboard,node_summaries toneRose
```

## Components

### iPhone experience

- [Graption app](https://github.com/gt-big-data/graption/blob/main/apps/ios/Graption/GraptionApp.swift): `apps/ios/Graption/GraptionApp.swift`
- [App view](https://github.com/gt-big-data/graption/blob/main/apps/ios/Graption/ContentView.swift): `apps/ios/Graption/ContentView.swift`

### On-device features

- [Live captions](https://github.com/gt-big-data/graption/tree/main/apps/ios): `apps/ios`
- [Speaker detection](https://github.com/gt-big-data/graption/tree/main/ml/asd): `ml/asd`
- [Sound alerts](https://github.com/gt-big-data/graption/tree/main/apps/ios): `apps/ios`

### Tone service

- [Message schemas](https://github.com/gt-big-data/graption/tree/main/schemas): `schemas`
- [Tone server](https://github.com/gt-big-data/graption/tree/main/server): `server`
- [Tone model](https://github.com/gt-big-data/graption/tree/main/ml/tone): `ml/tone`

### Meeting summaries

- [Past-meetings dashboard](https://github.com/gt-big-data/graption/tree/main/apps/ios): `apps/ios`
- [AI summaries](https://github.com/gt-big-data/graption/tree/main/language): `language`

### Other components

- **iPhone user**

## Connections

- iPhone user → Graption app: uses (evidence: `README.md`)
- Graption app → App view: shows (evidence: `apps/ios/Graption/GraptionApp.swift`)
- Graption app → Live captions: provides (evidence: `README.md`)
- Graption app → Speaker detection: highlights speakers (evidence: `README.md`)
- Graption app → Sound alerts: runs offline (evidence: `README.md`)
- Graption app → Tone server: gets tone tags (evidence: `README.md`)
- Tone server → Tone model: plugs in (evidence: `README.md`)
- Past-meetings dashboard → AI summaries: uses (evidence: `README.md`)
