# shreyankkasable/ai_meeting_summarizer architecture

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

- Interactive diagram: https://gitdiagram.com/shreyankkasable/ai_meeting_summarizer
- Repository: https://github.com/shreyankkasable/ai_meeting_summarizer

## Overview

EchoDesk AI supports the host workflow from account access and meeting recording through transcription, AI processing, and meeting review, plus participant sharing and transcript chat. The frontend communicates through HTTP and Socket.IO; backend routes and several service relationships are not excerpted, so those links are documented only where the README or shown source supports them. Background embedding-job dispatch and storage integrations are documented capabilities but their runtime wiring is not shown.

Main entry points: [`backend/app/api/routes/main/api`](https://github.com/shreyankkasable/ai_meeting_summarizer/tree/main/backend/app/api/routes/main/api) (API routes), [`frontend/src/App.jsx`](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/App.jsx) (App navigation), [`backend/app/pkg/processing/service.js`](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/processing/service.js) (Meeting processing), [`frontend/src/services/api.service.js`](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/api.service.js) (HTTP client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Web application"]
  node_app["App navigation<br/>[App.jsx]"]
  node_dashboard["Meeting dashboard<br/>[index.js]"]
  node_recording_ui["Recording workflow<br/>[index.js]"]
  node_recorder["Audio capture"]
  node_meeting_view["Meeting review<br/>[index.js]"]
  node_share_view["Shared meeting view<br/>[index.js]"]
  node_settings_ui["Provider settings<br/>[index.js]"]
  node_api_client["HTTP client<br/>[api.service.js]"]
  node_meeting_client["Meeting API client<br/>[meeting.service.js]"]
  node_auth_client["Authentication client<br/>[auth.service.js]"]
  node_share_client["Share API client<br/>[share.service.js]"]
  node_socket_client["Live events client<br/>[socket.service.js]"]
end

subgraph group_api["Backend API"]
  node_api_routes["API routes"]
  node_audio_routes["Audio routes<br/>[audio.route.js]"]
  node_auth_service["Authentication<br/>[service.js]"]
  node_shares["Share access<br/>[service.js]"]
  node_settings_service["Provider settings<br/>[service.js]"]
end

subgraph group_meeting["Meeting processing"]
  node_meeting_service["Meeting management<br/>[service.js]"]
  node_transcription["Transcription<br/>[service.js]"]
  node_processing["Meeting processing<br/>[service.js]"]
  node_recording_storage["Recording storage"]
  node_compression["Audio compression"]
end

subgraph group_intelligence["AI capabilities"]
  node_summarizer["Summarization<br/>[service.js]"]
  node_action_items["Action extraction<br/>[service.js]"]
  node_chat["Meeting chat<br/>[service.js]"]
  node_rag["Transcript retrieval<br/>[service.js]"]
  node_notion["Notion export<br/>[service.js]"]
end

subgraph group_infrastructure["Persistence and jobs"]
  node_database[("PostgreSQL<br/>[database.js]")]
  node_embedding_queue["Embedding queue<br/>[embedding.queue.js]"]
  node_embedding_worker["Embedding worker"]
  node_websocket["Socket.IO<br/>[websocket.js]"]
end

node_host(("Host"))
node_participant(("Participant"))
node_audio_store[("Recording storage provider")]

node_host -->|"uses"| node_app
node_participant -->|"opens share"| node_app
node_app -->|"routes"| node_dashboard
node_app -->|"routes"| node_recording_ui
node_app -->|"routes"| node_meeting_view
node_app -->|"routes"| node_share_view
node_app -->|"routes"| node_settings_ui
node_recording_ui -.->|"captures audio"| node_recorder
node_dashboard -.->|"calls"| node_meeting_client
node_meeting_view -.->|"calls"| node_meeting_client
node_share_view -.->|"calls"| node_share_client
node_auth_client -->|"uses"| node_api_client
node_meeting_client -->|"uses"| node_api_client
node_share_client -->|"uses"| node_api_client
node_host -.->|"signs in"| node_auth_client
node_api_client -.->|"HTTP requests"| node_api_routes
node_api_routes -.->|"authenticates"| node_auth_service
node_api_routes -.->|"manages meetings"| node_meeting_service
node_api_routes -.->|"starts transcription"| node_transcription
node_api_routes -.->|"processes meeting"| node_processing
node_processing -.->|"generates summary"| node_summarizer
node_processing -.->|"extracts actions"| node_action_items
node_api_routes -.->|"serves chat"| node_chat
node_chat -.->|"retrieves context"| node_rag
node_api_routes -.->|"exports meeting"| node_notion
node_api_routes -.->|"manages access"| node_shares
node_api_routes -.->|"updates providers"| node_settings_service
node_api_routes -.->|"serves playback"| node_audio_routes
node_audio_routes -.->|"streams recording"| node_recording_storage
node_recording_storage -.->|"compresses audio"| node_compression
node_recording_storage -.->|"stores recordings"| node_audio_store
node_transcription -.->|"transcribed audio"| node_processing
node_meeting_service -.->|"persists meetings"| node_database
node_embedding_queue -.->|"dispatches jobs"| node_embedding_worker
node_embedding_worker -->|"loads transcript"| node_meeting_service
node_embedding_worker -->|"indexes transcript"| node_rag
node_rag -.->|"stores vectors"| node_database
node_app -.->|"starts live updates"| node_socket_client
node_socket_client -.->|"Socket.IO events"| node_websocket

click node_app "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/App.jsx"
click node_dashboard "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/HostDashboard/index.js"
click node_recording_ui "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/RecordMeeting/index.js"
click node_recorder "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/common/hooks/useAudioRecorder.js"
click node_meeting_view "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/MeetingContentView/index.js"
click node_share_view "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/MeetingContentViewParticipant/index.js"
click node_settings_ui "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/Settings/index.js"
click node_api_client "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/api.service.js"
click node_meeting_client "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/meeting.service.js"
click node_auth_client "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/auth.service.js"
click node_share_client "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/share.service.js"
click node_socket_client "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/socket.service.js"
click node_api_routes "https://github.com/shreyankkasable/ai_meeting_summarizer/tree/main/backend/app/api/routes/main/api"
click node_audio_routes "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/api/routes/main/data/audio.route.js"
click node_auth_service "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/auth/service.js"
click node_meeting_service "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/meetings/service.js"
click node_transcription "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/transcription/service.js"
click node_processing "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/processing/service.js"
click node_recording_storage "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/storage/recording.service.js"
click node_compression "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/audio/compression.service.js"
click node_summarizer "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/summarizer/service.js"
click node_action_items "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/extraction/service.js"
click node_chat "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/chat/service.js"
click node_rag "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/rag/service.js"
click node_notion "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/notion/service.js"
click node_shares "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/shares/service.js"
click node_settings_service "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/settings/service.js"
click node_database "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/connections/database.js"
click node_embedding_queue "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/queues/embedding.queue.js"
click node_embedding_worker "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/workers/embedding.worker.js"
click node_websocket "https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/connections/websocket.js"

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_dashboard,node_recording_ui,node_recorder,node_meeting_view,node_share_view,node_settings_ui,node_api_client,node_meeting_client,node_auth_client,node_share_client,node_socket_client toneBlue
class node_api_routes,node_audio_routes,node_auth_service,node_shares,node_settings_service,node_audio_store toneAmber
class node_meeting_service,node_transcription,node_processing,node_recording_storage,node_compression toneMint
class node_summarizer,node_action_items,node_chat,node_rag,node_notion toneRose
class node_database,node_embedding_queue,node_embedding_worker,node_websocket,node_host,node_participant toneIndigo
```

## Components

### Web application

- [App navigation](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Meeting dashboard](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/HostDashboard/index.js): `frontend/src/pages/HostDashboard/index.js`
- [Recording workflow](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/RecordMeeting/index.js): `frontend/src/pages/RecordMeeting/index.js`
- [Audio capture](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/common/hooks/useAudioRecorder.js): `frontend/src/common/hooks/useAudioRecorder.js`
- [Meeting review](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/MeetingContentView/index.js): `frontend/src/pages/MeetingContentView/index.js`
- [Shared meeting view](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/MeetingContentViewParticipant/index.js): `frontend/src/pages/MeetingContentViewParticipant/index.js`
- [Provider settings](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/pages/Settings/index.js): `frontend/src/pages/Settings/index.js`
- [HTTP client](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/api.service.js): `frontend/src/services/api.service.js`
- [Meeting API client](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/meeting.service.js): `frontend/src/services/meeting.service.js`
- [Authentication client](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/auth.service.js): `frontend/src/services/auth.service.js`
- [Share API client](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/share.service.js): `frontend/src/services/share.service.js`
- [Live events client](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/frontend/src/services/socket.service.js): `frontend/src/services/socket.service.js`

### Backend API

- [API routes](https://github.com/shreyankkasable/ai_meeting_summarizer/tree/main/backend/app/api/routes/main/api): `backend/app/api/routes/main/api`
- [Audio routes](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/api/routes/main/data/audio.route.js): `backend/app/api/routes/main/data/audio.route.js`
- [Authentication](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/auth/service.js): `backend/app/pkg/auth/service.js`
- [Share access](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/shares/service.js): `backend/app/pkg/shares/service.js`
- [Provider settings](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/settings/service.js): `backend/app/pkg/settings/service.js`

### Meeting processing

- [Meeting management](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/meetings/service.js): `backend/app/pkg/meetings/service.js`
- [Transcription](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/transcription/service.js): `backend/app/pkg/transcription/service.js`
- [Meeting processing](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/processing/service.js): `backend/app/pkg/processing/service.js`
- [Recording storage](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/storage/recording.service.js): `backend/app/pkg/storage/recording.service.js`
- [Audio compression](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/audio/compression.service.js): `backend/app/pkg/audio/compression.service.js`

### AI capabilities

- [Summarization](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/summarizer/service.js): `backend/app/pkg/summarizer/service.js`
- [Action extraction](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/extraction/service.js): `backend/app/pkg/extraction/service.js`
- [Meeting chat](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/chat/service.js): `backend/app/pkg/chat/service.js`
- [Transcript retrieval](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/rag/service.js): `backend/app/pkg/rag/service.js`
- [Notion export](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/pkg/notion/service.js): `backend/app/pkg/notion/service.js`

### Persistence and jobs

- [PostgreSQL](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/connections/database.js): `backend/app/connections/database.js`
- [Embedding queue](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/queues/embedding.queue.js): `backend/app/queues/embedding.queue.js`
- [Embedding worker](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/workers/embedding.worker.js): `backend/app/workers/embedding.worker.js`
- [Socket.IO](https://github.com/shreyankkasable/ai_meeting_summarizer/blob/main/backend/app/connections/websocket.js): `backend/app/connections/websocket.js`

### Other components

- **Host**
- **Participant**
- **Recording storage provider**

## Connections

- Host → App navigation: uses (evidence: `README.md`)
- Participant → App navigation: opens share (evidence: `README.md`)
- App navigation → Meeting dashboard: routes (evidence: `frontend/src/App.jsx`)
- App navigation → Recording workflow: routes (evidence: `frontend/src/App.jsx`)
- App navigation → Meeting review: routes (evidence: `frontend/src/App.jsx`)
- App navigation → Shared meeting view: routes (evidence: `frontend/src/App.jsx`)
- App navigation → Provider settings: routes (evidence: `frontend/src/App.jsx`)
- Recording workflow → Audio capture: captures audio
- Meeting dashboard → Meeting API client: calls
- Meeting review → Meeting API client: calls
- Shared meeting view → Share API client: calls
- Authentication client → HTTP client: uses (evidence: `frontend/src/services/auth.service.js`)
- Meeting API client → HTTP client: uses (evidence: `frontend/src/services/meeting.service.js`)
- Share API client → HTTP client: uses (evidence: `frontend/src/services/share.service.js`)
- Host → Authentication client: signs in
- HTTP client → API routes: HTTP requests
- API routes → Authentication: authenticates
- API routes → Meeting management: manages meetings
- API routes → Transcription: starts transcription
- API routes → Meeting processing: processes meeting
- Meeting processing → Summarization: generates summary
- Meeting processing → Action extraction: extracts actions
- API routes → Meeting chat: serves chat
- Meeting chat → Transcript retrieval: retrieves context
- API routes → Notion export: exports meeting
- API routes → Share access: manages access
- API routes → Provider settings: updates providers
- API routes → Audio routes: serves playback
- Audio routes → Recording storage: streams recording
- Recording storage → Audio compression: compresses audio
- Recording storage → Recording storage provider: stores recordings (evidence: `README.md`)
- Transcription → Meeting processing: transcribed audio
- Meeting management → PostgreSQL: persists meetings
- Embedding queue → Embedding worker: dispatches jobs
- Embedding worker → Meeting management: loads transcript (evidence: `backend/app/workers/embedding.worker.js`)
- Embedding worker → Transcript retrieval: indexes transcript (evidence: `backend/app/workers/embedding.worker.js`)
- Transcript retrieval → PostgreSQL: stores vectors (evidence: `README.md`)
- App navigation → Live events client: starts live updates
- Live events client → Socket.IO: Socket.IO events
