# the-potential-dropout/invisible-meeting-notetaker architecture

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

- Interactive diagram: https://gitdiagram.com/the-potential-dropout/invisible-meeting-notetaker
- Repository: https://github.com/the-potential-dropout/invisible-meeting-notetaker

## Overview

The Potential Dropout Notetaker is a local-first desktop meeting recorder and searchable notes vault. Users accept the consent gate, create or select a meeting, record microphone and system audio, then review live and finalized transcripts, notes, search results, and optional summaries. Meeting detection can offer a recording prompt, while settings cover speech models, audio, startup, and AI providers. The sampled source supports the main UI, command, capture, transcription, and storage relationships; some wiring is documented only at a high level, so those edges are marked unverified.

Main entry points: [`src-tauri/src/commands.rs`](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/commands.rs) (Command handlers), [`src-tauri/src/recorder.rs`](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/recorder.rs) (Recording coordinator), [`src/lib/api.ts`](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/lib/api.ts) (Desktop API bridge), [`src/App.tsx`](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/App.tsx) (App shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Desktop interface"]
  node_app["App shell<br/>[App.tsx]"]
  node_legal["Consent gate<br/>[Legal.tsx]"]
  node_meeting_ui["Meeting workspace<br/>[MeetingView.tsx]"]
  node_sidebar["Meeting list and search<br/>[Sidebar.tsx]"]
  node_mini["Floating recorder<br/>[MiniRecorder.tsx]"]
  node_settings_ui["Settings and models<br/>[SettingsDialog.tsx]"]
  node_ai_settings["AI provider setup<br/>[AiSettings.tsx]"]
  node_api["Desktop API bridge<br/>[api.ts]"]
end

subgraph group_recording["Meeting recording"]
  node_commands["Command handlers<br/>[commands.rs]"]
  node_watch["Meeting detection<br/>[meeting_watch.rs]"]
  node_tray["Tray and startup<br/>[tray.rs]"]
  node_recorder["Recording coordinator<br/>[recorder.rs]"]
  node_capture["Dual-channel capture<br/>[capture.rs]"]
  node_resample["Audio resampling<br/>[resample.rs]"]
  node_vad["Speech chunking<br/>[vad.rs]"]
end

subgraph group_vault["Transcript vault"]
  node_transcriber["Local transcription<br/>[transcriber.rs]"]
  node_db[("SQLite transcript vault<br/>[db.rs]")]
  node_recordings[("Recording files<br/>[recordings.rs]")]
  node_settings["Runtime settings<br/>[settings.rs]"]
end

subgraph group_insights["Notes and AI"]
  node_summary["Summary and meeting Q&amp;A<br/>[summary.rs]"]
  node_ai["AI provider clients<br/>[ai.rs]"]
end

node_user(("Meeting participant"))
node_speech_engine["whisper.cpp"]
node_ai_providers["Optional AI providers"]

node_user -->|"uses"| node_app
node_app -->|"shows consent"| node_legal
node_app -->|"renders"| node_sidebar
node_app -->|"renders"| node_meeting_ui
node_app -->|"requests status"| node_api
node_meeting_ui -.->|"requests meeting data"| node_api
node_sidebar -.->|"searches vault"| node_api
node_mini -.->|"controls recording"| node_api
node_settings_ui -.->|"renders"| node_ai_settings
node_settings_ui -.->|"updates settings"| node_api
node_api -.->|"invokes commands"| node_commands
node_commands -->|"reads and writes"| node_db
node_commands -->|"starts recording"| node_recorder
node_commands -->|"requests summaries"| node_summary
node_watch -->|"signals detection"| node_commands
node_tray -->|"registers actions"| node_commands
node_recorder -->|"captures audio"| node_capture
node_recorder -->|"resamples streams"| node_resample
node_recorder -->|"chunks speech"| node_vad
node_recorder -->|"queues chunks"| node_transcriber
node_recorder -->|"stores recording state"| node_db
node_transcriber -->|"decodes speech"| node_speech_engine
node_transcriber -->|"stores transcript"| node_db
node_commands -->|"manages audio files"| node_recordings
node_summary -->|"loads meeting text"| node_db
node_summary -->|"requests enhancement"| node_ai
node_ai -->|"reads provider config"| node_settings
node_ai -->|"sends text prompts"| node_ai_providers
node_user -.->|"enables background detection"| node_watch
node_commands -.->|"loads preferences"| node_settings

click node_app "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/App.tsx"
click node_legal "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/Legal.tsx"
click node_meeting_ui "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/MeetingView.tsx"
click node_sidebar "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/Sidebar.tsx"
click node_mini "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/MiniRecorder.tsx"
click node_settings_ui "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/SettingsDialog.tsx"
click node_ai_settings "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/AiSettings.tsx"
click node_api "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/lib/api.ts"
click node_commands "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/commands.rs"
click node_watch "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/meeting_watch.rs"
click node_tray "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/tray.rs"
click node_recorder "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/recorder.rs"
click node_capture "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/audio/capture.rs"
click node_resample "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/audio/resample.rs"
click node_vad "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/audio/vad.rs"
click node_transcriber "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/transcriber.rs"
click node_db "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/db.rs"
click node_recordings "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/recordings.rs"
click node_settings "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/settings.rs"
click node_summary "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/summary.rs"
click node_ai "https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/ai.rs"

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_legal,node_meeting_ui,node_sidebar,node_mini,node_settings_ui,node_ai_settings,node_api toneBlue
class node_commands,node_watch,node_tray,node_recorder,node_capture,node_resample,node_vad toneAmber
class node_transcriber,node_db,node_recordings,node_settings toneMint
class node_summary,node_ai toneRose
class node_user,node_speech_engine,node_ai_providers toneIndigo
```

## Components

### Desktop interface

- [App shell](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/App.tsx): `src/App.tsx`
- [Consent gate](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/Legal.tsx): `src/components/Legal.tsx`
- [Meeting workspace](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/MeetingView.tsx): `src/components/MeetingView.tsx`
- [Meeting list and search](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/Sidebar.tsx): `src/components/Sidebar.tsx`
- [Floating recorder](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/MiniRecorder.tsx): `src/components/MiniRecorder.tsx`
- [Settings and models](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/SettingsDialog.tsx): `src/components/SettingsDialog.tsx`
- [AI provider setup](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/components/AiSettings.tsx): `src/components/AiSettings.tsx`
- [Desktop API bridge](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src/lib/api.ts): `src/lib/api.ts`

### Meeting recording

- [Command handlers](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/commands.rs): `src-tauri/src/commands.rs`
- [Meeting detection](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/meeting_watch.rs): `src-tauri/src/meeting_watch.rs`
- [Tray and startup](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/tray.rs): `src-tauri/src/tray.rs`
- [Recording coordinator](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/recorder.rs): `src-tauri/src/recorder.rs`
- [Dual-channel capture](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/audio/capture.rs): `src-tauri/src/audio/capture.rs`
- [Audio resampling](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/audio/resample.rs): `src-tauri/src/audio/resample.rs`
- [Speech chunking](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/audio/vad.rs): `src-tauri/src/audio/vad.rs`

### Transcript vault

- [Local transcription](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/transcriber.rs): `src-tauri/src/transcriber.rs`
- [SQLite transcript vault](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/db.rs): `src-tauri/src/db.rs`
- [Recording files](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/recordings.rs): `src-tauri/src/recordings.rs`
- [Runtime settings](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/settings.rs): `src-tauri/src/settings.rs`

### Notes and AI

- [Summary and meeting Q&A](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/summary.rs): `src-tauri/src/summary.rs`
- [AI provider clients](https://github.com/the-potential-dropout/invisible-meeting-notetaker/blob/main/src-tauri/src/ai.rs): `src-tauri/src/ai.rs`

### Other components

- **Meeting participant**
- **whisper.cpp**
- **Optional AI providers**

## Connections

- Meeting participant → App shell: uses (evidence: `README.md`)
- App shell → Consent gate: shows consent (evidence: `src/App.tsx`)
- App shell → Meeting list and search: renders (evidence: `src/App.tsx`)
- App shell → Meeting workspace: renders (evidence: `src/App.tsx`)
- App shell → Desktop API bridge: requests status (evidence: `src/App.tsx`)
- Meeting workspace → Desktop API bridge: requests meeting data (evidence: `src/components/MeetingView.tsx`)
- Meeting list and search → Desktop API bridge: searches vault (evidence: `src/components/Sidebar.tsx`)
- Floating recorder → Desktop API bridge: controls recording (evidence: `src/components/MiniRecorder.tsx`)
- Settings and models → AI provider setup: renders (evidence: `src/components/SettingsDialog.tsx`)
- Settings and models → Desktop API bridge: updates settings (evidence: `src/components/SettingsDialog.tsx`)
- Desktop API bridge → Command handlers: invokes commands
- Command handlers → SQLite transcript vault: reads and writes (evidence: `src-tauri/src/commands.rs`)
- Command handlers → Recording coordinator: starts recording (evidence: `src-tauri/src/commands.rs`)
- Command handlers → Summary and meeting Q&A: requests summaries (evidence: `src-tauri/src/commands.rs`)
- Meeting detection → Command handlers: signals detection (evidence: `src-tauri/src/meeting_watch.rs`)
- Tray and startup → Command handlers: registers actions (evidence: `src-tauri/src/tray.rs`)
- Recording coordinator → Dual-channel capture: captures audio (evidence: `src-tauri/src/recorder.rs`)
- Recording coordinator → Audio resampling: resamples streams (evidence: `src-tauri/src/recorder.rs`)
- Recording coordinator → Speech chunking: chunks speech (evidence: `src-tauri/src/recorder.rs`)
- Recording coordinator → Local transcription: queues chunks (evidence: `src-tauri/src/recorder.rs`)
- Recording coordinator → SQLite transcript vault: stores recording state (evidence: `src-tauri/src/recorder.rs`)
- Local transcription → whisper.cpp: decodes speech (evidence: `src-tauri/src/transcriber.rs`)
- Local transcription → SQLite transcript vault: stores transcript (evidence: `src-tauri/src/transcriber.rs`)
- Command handlers → Recording files: manages audio files (evidence: `src-tauri/src/commands.rs`)
- Summary and meeting Q&A → SQLite transcript vault: loads meeting text (evidence: `src-tauri/src/summary.rs`)
- Summary and meeting Q&A → AI provider clients: requests enhancement (evidence: `src-tauri/src/summary.rs`)
- AI provider clients → Runtime settings: reads provider config (evidence: `src-tauri/src/ai.rs`)
- AI provider clients → Optional AI providers: sends text prompts (evidence: `src-tauri/src/ai.rs`)
- Meeting participant → Meeting detection: enables background detection (evidence: `README.md`)
- Command handlers → Runtime settings: loads preferences (evidence: `src-tauri/src/commands.rs`)
