How innovatorved/realtime-interview-copilot works
Realtime Interview Copilot is a desktop interview-assistance app: users capture system audio for live transcription, then request AI answers from transcript text, typed questions, or screenshots. The desktop shell hosts full and compact interfaces; shared context, authentication, notes, and history support the session. A Worker API provides completion, transcription, and account features, with a database-backed admin surface. The README documents the main capabilities; several UI and route implementations were not sampled, so those relationships are omitted or marked unverified.
Main entry points: index.ts Worker dispatcher · main.tsx App workspace · deepgramSession.ts Live transcription · main.ts Electron shell
Components 24
Desktop runtime
- Electron shell
electron/main.ts - Desktop IPC
electron/ipc
Interview experience
- App workspace
components/main.tsx - Audio capture
components/recorder.tsx - Live transcription
lib/transcription/deepgramSession.ts - Transcript display
components/TranscriptionContext.tsx - Copilot and Ask
components/QuestionAssistant.tsx - Compact overlay
components/CompactCopilot.tsx - Compact generation
components/compact/useCompactGenerate.ts - Interview context
components/InterviewContextProvider.tsx - Notes and export
hooks/useNotes.ts - Answer history
components/History.tsx
Worker API
- Worker dispatcher
realtime-worker-api/src/index.ts - AI completion
realtime-worker-api/src/routes/completion.ts - Transcription service route
realtime-worker-api/src/routes/deepgram.ts - Session and context routes
realtime-worker-api/src/routes/sessions.ts - Notes and export routes
realtime-worker-api/src/routes/notes.ts
Account and operations
- Authentication
lib/auth-client.ts - Sign-in flow
components/auth/auth-wizard.tsx - Admin operations
realtime-worker-api/src/plugins/self-hosted-admin - Worker database
realtime-worker-api/src/db/schema.ts
Other components
- Interview user
- AI providers
- Deepgram
Connections 25
- Interview user → App workspace: uses
README.md - Electron shell → Desktop IPC: registers handlers
electron/main.ts - Electron shell → App workspace: loads interface
electron/main.ts - App workspace → Audio capture: presents capture
- Audio capture → Live transcription: streams audio
- Live transcription → Deepgram: transcribes audio
- Live transcription → Transcript display: updates transcript
- App workspace → Copilot and Ask: renders
components/main.tsx - App workspace → Compact overlay: renders
components/main.tsx - Compact overlay → Compact generation: uses generation
- Compact generation → Worker dispatcher: requests completion
- Copilot and Ask → Worker dispatcher: requests answers
- Worker dispatcher → AI completion: routes requests
realtime-worker-api/src/index.ts - AI completion → AI providers: forwards prompts
- Worker dispatcher → Transcription service route: routes requests
realtime-worker-api/src/index.ts - Interview context → Worker dispatcher: loads and saves context
components/InterviewContextProvider.tsx - Worker dispatcher → Session and context routes: routes sessions
realtime-worker-api/src/index.ts - Notes and export → Worker dispatcher: requests notes
- Worker dispatcher → Notes and export routes: routes notes
realtime-worker-api/src/index.ts - Interview user → Sign-in flow: signs in
README.md - Sign-in flow → Authentication: authenticates
components/auth/auth-wizard.tsx - Authentication → Worker dispatcher: uses auth endpoint
lib/auth-client.ts - Admin operations → Worker database: queries users
realtime-worker-api/src/plugins/self-hosted-admin/endpoints/ai-gateway-routes.ts - Admin operations → AI providers: checks provider health
- Answer history → App workspace: shown in workspace
components/main.tsx