How ankit145ar/poc-interview works
This is an interview-transcription prototype. The active interface lets a user upload audio, play it while capturing its playback stream for live AssemblyAI transcription, and request suggested interview questions from the transcript. The backend also exposes a separate uploaded-audio transcription endpoint and generates questions through OpenAI. Live microphone transcription and an upload-analyzer page are additional frontend branches; the README gives no product detail, and some referenced hooks are absent from the supplied tree, so those branches are only mapped where source evidence supports them.
Main entry points: UploadPlaybackTranscriberUI.jsx Upload playback UI · useAssemblyAI2.js Streaming hook · server.js Streaming token route · TranscriberUI.jsx Live transcript UI
Components 16
Frontend experience
- React entry
frontend/src/main.jsx - App shell
frontend/src/App.jsx - Upload playback UI
frontend/src/UploadPlaybackTranscriberUI.jsx - Live transcript UI
frontend/src/TranscriberUI.jsx - Live transcription page
frontend/src/pages/LiveTranscription.jsx - Upload analyzer page
frontend/src/pages/UploadAnalyzer.jsx
Transcription flows
- Playback capture
frontend/src/UploadPlaybackTranscriberUI.jsx - Live transcription hook
frontend/src/useAssemblyAI.js - Streaming hook
frontend/src/useAssemblyAI2.js
Backend services
- HTTP API
backend/server.js - Streaming token route
backend/server.js - Question generation
backend/server.js - Uploaded audio transcription
backend/server.js
External services
- AssemblyAI
- OpenAI
Other components
- User
Connections 19
- User → React entry: opens app
frontend/src/main.jsx - React entry → App shell: renders
frontend/src/main.jsx - App shell → Upload playback UI: renders
frontend/src/App.jsx - User → Upload playback UI: uploads audio
frontend/src/UploadPlaybackTranscriberUI.jsx - Upload playback UI → Playback capture: starts playback capture
frontend/src/UploadPlaybackTranscriberUI.jsx - Playback capture → AssemblyAI: streams audio
frontend/src/UploadPlaybackTranscriberUI.jsx - Upload playback UI → Streaming token route: requests token
frontend/src/UploadPlaybackTranscriberUI.jsx - Streaming token route → AssemblyAI: creates token
backend/server.js - Upload playback UI → Question generation: requests suggestions
frontend/src/UploadPlaybackTranscriberUI.jsx - Question generation → OpenAI: generates questions
backend/server.js - Live transcript UI → Streaming hook: uses hook
frontend/src/TranscriberUI.jsx - Live transcript UI → Question generation: requests suggestions
frontend/src/TranscriberUI.jsx - Streaming hook → Streaming token route: requests token
frontend/src/useAssemblyAI2.js - Streaming hook → AssemblyAI: streams microphone audio
frontend/src/useAssemblyAI2.js - Live transcription page → Streaming hook: uses hook
- Upload analyzer page → Uploaded audio transcription: uploads audio
- Uploaded audio transcription → AssemblyAI: uploads and transcribes
backend/server.js - Live transcription hook → Streaming token route: requests token
frontend/src/useAssemblyAI.js - Live transcription hook → AssemblyAI: streams audio
frontend/src/useAssemblyAI.js