# naod6473/ondine architecture

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

- Interactive diagram: https://gitdiagram.com/naod6473/ondine
- Repository: https://github.com/naod6473/ondine

## Overview

Ondine is a Windows desktop companion centered on a small interactive island at the top of the screen. The user opens the island to access tools; its module registry supplies domain features, while the Rust/Tauri backend exposes Windows capabilities and persistent settings. The README also documents voice, AI, team networking, games, and system integrations. The graph groups related features rather than listing every tab. Some feature-to-backend links are documented but their implementation was not sampled, so those edges are dashed.

Main entry points: [`src/modules/index.ts`](https://github.com/naod6473/ondine/blob/main/src/modules/index.ts) (Module catalog), [`src-tauri/src/platform/mod.rs`](https://github.com/naod6473/ondine/blob/main/src-tauri/src/platform/mod.rs) (Windows platform), [`src/main.ts`](https://github.com/naod6473/ondine/blob/main/src/main.ts) (App startup), [`src/core`](https://github.com/naod6473/ondine/tree/main/src/core) (Core services)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App runtime"]
  node_frontend["App startup<br/>[main.ts]"]
  node_core["Core services"]
  node_module_catalog["Module catalog<br/>[index.ts]"]
  node_tauri["Tauri backend<br/>[lib.rs]"]
  node_settings["Settings UI<br/>[main.ts]"]
end

subgraph group_island["Island experience"]
  node_island_ui["Island interface<br/>[island.ts]"]
  node_mascot["Mascot state and rendering<br/>[mascot-state.ts]"]
  node_mascot_actor["Mascot renderer<br/>[renderer.ts]"]
end

subgraph group_tools["Island tools"]
  node_home["Home dashboard<br/>[index.ts]"]
  node_productivity["Everyday tools<br/>[index.ts]"]
  node_capture_clipboard["Capture and clipboard<br/>[index.ts]"]
  node_media_controls["Media and controls<br/>[index.ts]"]
  node_system_tools["System tools<br/>[index.ts]"]
  node_other_modules["Other modules"]
end

subgraph group_voice["Voice and AI"]
  node_agents["AI agents<br/>[index.ts]"]
  node_ask["Ask Ondine<br/>[index.ts]"]
  node_voice_tools["Dictation and call notes<br/>[index.ts]"]
  node_team["Team networking<br/>[index.ts]"]
end

subgraph group_system["System capabilities"]
  node_windows["Windows platform<br/>[mod.rs]"]
end

node_user(("User"))

node_user -->|"starts app"| node_frontend
node_frontend -->|"initializes services"| node_core
node_frontend -->|"opens interface"| node_island_ui
node_frontend -->|"loads modules"| node_module_catalog
node_module_catalog -->|"registers"| node_home
node_module_catalog -->|"registers"| node_productivity
node_module_catalog -->|"registers"| node_capture_clipboard
node_module_catalog -->|"registers"| node_media_controls
node_module_catalog -->|"registers"| node_system_tools
node_module_catalog -->|"registers"| node_agents
node_module_catalog -->|"registers"| node_ask
node_module_catalog -->|"registers"| node_voice_tools
node_module_catalog -->|"registers"| node_team
node_module_catalog -->|"registers"| node_other_modules
node_user -->|"interacts with"| node_island_ui
node_settings -->|"updates settings"| node_core
node_core -->|"calls commands"| node_tauri
node_tauri -->|"uses platform APIs"| node_windows
node_island_ui -.->|"displays mascot"| node_mascot
node_mascot -->|"delegates rendering"| node_mascot_actor
node_core -.->|"publishes events"| node_mascot
node_voice_tools -.->|"uses speech services"| node_windows
node_ask -.->|"uses local speech"| node_windows
node_team -.->|"uses network services"| node_windows
node_system_tools -.->|"controls system"| node_windows

click node_frontend "https://github.com/naod6473/ondine/blob/main/src/main.ts"
click node_core "https://github.com/naod6473/ondine/tree/main/src/core"
click node_module_catalog "https://github.com/naod6473/ondine/blob/main/src/modules/index.ts"
click node_tauri "https://github.com/naod6473/ondine/blob/main/src-tauri/src/lib.rs"
click node_settings "https://github.com/naod6473/ondine/blob/main/src/settings/main.ts"
click node_island_ui "https://github.com/naod6473/ondine/blob/main/src/island/island.ts"
click node_mascot "https://github.com/naod6473/ondine/blob/main/src/mascot/mascot-state.ts"
click node_home "https://github.com/naod6473/ondine/blob/main/src/modules/home/index.ts"
click node_productivity "https://github.com/naod6473/ondine/blob/main/src/modules/agenda/index.ts"
click node_capture_clipboard "https://github.com/naod6473/ondine/blob/main/src/modules/capture/index.ts"
click node_media_controls "https://github.com/naod6473/ondine/blob/main/src/modules/media/index.ts"
click node_system_tools "https://github.com/naod6473/ondine/blob/main/src/modules/system/index.ts"
click node_agents "https://github.com/naod6473/ondine/blob/main/src/modules/agents/index.ts"
click node_ask "https://github.com/naod6473/ondine/blob/main/src/modules/askclaude/index.ts"
click node_voice_tools "https://github.com/naod6473/ondine/blob/main/src/modules/dictation/index.ts"
click node_team "https://github.com/naod6473/ondine/blob/main/src/modules/team/index.ts"
click node_other_modules "https://github.com/naod6473/ondine/tree/main/src/modules"
click node_windows "https://github.com/naod6473/ondine/blob/main/src-tauri/src/platform/mod.rs"
click node_mascot_actor "https://github.com/naod6473/ondine/blob/main/src/mascot/renderer.ts"

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_frontend,node_core,node_module_catalog,node_tauri,node_settings,node_user toneBlue
class node_island_ui,node_mascot,node_mascot_actor toneAmber
class node_home,node_productivity,node_capture_clipboard,node_media_controls,node_system_tools,node_other_modules toneMint
class node_agents,node_ask,node_voice_tools,node_team toneRose
class node_windows toneIndigo
```

## Components

### App runtime

- [App startup](https://github.com/naod6473/ondine/blob/main/src/main.ts): `src/main.ts`
- [Core services](https://github.com/naod6473/ondine/tree/main/src/core): `src/core`
- [Module catalog](https://github.com/naod6473/ondine/blob/main/src/modules/index.ts): `src/modules/index.ts`
- [Tauri backend](https://github.com/naod6473/ondine/blob/main/src-tauri/src/lib.rs): `src-tauri/src/lib.rs`
- [Settings UI](https://github.com/naod6473/ondine/blob/main/src/settings/main.ts): `src/settings/main.ts`

### Island experience

- [Island interface](https://github.com/naod6473/ondine/blob/main/src/island/island.ts): `src/island/island.ts`
- [Mascot state and rendering](https://github.com/naod6473/ondine/blob/main/src/mascot/mascot-state.ts): `src/mascot/mascot-state.ts`
- [Mascot renderer](https://github.com/naod6473/ondine/blob/main/src/mascot/renderer.ts): `src/mascot/renderer.ts`

### Island tools

- [Home dashboard](https://github.com/naod6473/ondine/blob/main/src/modules/home/index.ts): `src/modules/home/index.ts`
- [Everyday tools](https://github.com/naod6473/ondine/blob/main/src/modules/agenda/index.ts): `src/modules/agenda/index.ts`
- [Capture and clipboard](https://github.com/naod6473/ondine/blob/main/src/modules/capture/index.ts): `src/modules/capture/index.ts`
- [Media and controls](https://github.com/naod6473/ondine/blob/main/src/modules/media/index.ts): `src/modules/media/index.ts`
- [System tools](https://github.com/naod6473/ondine/blob/main/src/modules/system/index.ts): `src/modules/system/index.ts`
- [Other modules](https://github.com/naod6473/ondine/tree/main/src/modules): `src/modules`

### Voice and AI

- [AI agents](https://github.com/naod6473/ondine/blob/main/src/modules/agents/index.ts): `src/modules/agents/index.ts`
- [Ask Ondine](https://github.com/naod6473/ondine/blob/main/src/modules/askclaude/index.ts): `src/modules/askclaude/index.ts`
- [Dictation and call notes](https://github.com/naod6473/ondine/blob/main/src/modules/dictation/index.ts): `src/modules/dictation/index.ts`
- [Team networking](https://github.com/naod6473/ondine/blob/main/src/modules/team/index.ts): `src/modules/team/index.ts`

### System capabilities

- [Windows platform](https://github.com/naod6473/ondine/blob/main/src-tauri/src/platform/mod.rs): `src-tauri/src/platform/mod.rs`

### Other components

- **User**

## Connections

- User → App startup: starts app (evidence: `README.md`)
- App startup → Core services: initializes services (evidence: `src/main.ts`)
- App startup → Island interface: opens interface (evidence: `src/main.ts`)
- App startup → Module catalog: loads modules (evidence: `src/main.ts`)
- Module catalog → Home dashboard: registers (evidence: `src/modules/index.ts`)
- Module catalog → Everyday tools: registers (evidence: `src/modules/index.ts`)
- Module catalog → Capture and clipboard: registers (evidence: `src/modules/index.ts`)
- Module catalog → Media and controls: registers (evidence: `src/modules/index.ts`)
- Module catalog → System tools: registers (evidence: `src/modules/index.ts`)
- Module catalog → AI agents: registers (evidence: `src/modules/index.ts`)
- Module catalog → Ask Ondine: registers (evidence: `src/modules/index.ts`)
- Module catalog → Dictation and call notes: registers (evidence: `src/modules/index.ts`)
- Module catalog → Team networking: registers (evidence: `src/modules/index.ts`)
- Module catalog → Other modules: registers (evidence: `src/modules/index.ts`)
- User → Island interface: interacts with (evidence: `README.md`)
- Settings UI → Core services: updates settings (evidence: `src/settings/main.ts`)
- Core services → Tauri backend: calls commands (evidence: `src/core/bridge.ts`)
- Tauri backend → Windows platform: uses platform APIs (evidence: `src-tauri/src/lib.rs`)
- Island interface → Mascot state and rendering: displays mascot
- Mascot state and rendering → Mascot renderer: delegates rendering (evidence: `src/mascot/renderer.ts`)
- Core services → Mascot state and rendering: publishes events (evidence: `src/mascot/mascot-state.ts`)
- Dictation and call notes → Windows platform: uses speech services
- Ask Ondine → Windows platform: uses local speech
- Team networking → Windows platform: uses network services
- System tools → Windows platform: controls system
