How vaishnavi-newalkar/voxify-meeting-lecture-summarizer works
Purpose and runnable entry points
Voxify is a stateless meeting/lecture analysis application: browser audio or pasted transcript becomes transcription, structured notes, action items, optional speaker labels, and downloadable reports. The verified backend entry point is FastAPI application api.py, run as uvicorn api:app; the browser entry is React mounted by frontend/src/main.jsx. The production SPA is served/proxied by nginx via nginx.conf.
Browser workspace and API boundary
The root UI coordinates file upload, MediaRecorder-based microphone capture, pasted transcripts, settings, and result state in frontend/src/App.jsx. It calls the backend through fetch wrappers in frontend/src/api.js; API base URL is Vite-injected. Results render Markdown and expose exports in frontend/src/components/ResultsPanel.jsx; model, engine, credential, and feature options are set in frontend/src/components/SettingsDrawer.jsx. Audio stays browser-local until explicit submission.
FastAPI orchestration layer
api.py is the committed synchronous REST boundary. It validates requests/file size, accepts transcription or direct transcript workflows, invokes utility services, and streams export responses. It is intentionally stateless: no committed identity, persistence, queue, or local inference layer exists. CORS and API credentials are runtime/environment concerns.
Speech-to-text stage
utils/transcriber.py encapsulates external STT providers. Groq Whisper is the primary engine and returns timestamps/language/segments; HuggingFace is an alternate provider with reduced metadata. WAV input is normalized for transcription, while uploaded media is constrained to supported audio/video formats and the 25 MB limit. External service calls, not local models, define this boundary.
LLM analysis stage
utils/summarizer.py performs independent Groq Chat completions over a transcript, truncated for context safety. The first pass generates Markdown summaries at selected brief/standard/detailed depth; the second requests JSON-only action items and falls back safely to an empty list when parsing cannot recover. Optional speaker labels use the same LLM for conversational heuristics, not acoustic diarization. Groq-hosted LLaMA models are the principal inference dependency.
Report generation
utils/exporter.py converts the analysis bundle—summary, action items, and transcript—into downloadable TXT or server-generated PDF reports. PDF creation uses fpdf2 and encoding-safe output handling. This remains behind the backend rather than generating client-side files, ensuring a single report format contract.
Deployment and repository-state constraints
The intended runtime is Python 3.11/FastAPI/Uvicorn plus React 19/Vite; containers are described by backend.Dockerfile, frontend.Dockerfile, docker-compose.yml, and render.yaml. The frontend container/nginx route is viable, but committed backend Docker/Compose/Render commands target missing app/ modules rather than api.py; fresh-clone container deployment therefore fails without correction. Compose also declares Redis and a worker, but their corresponding committed backend implementation is absent. PostgreSQL, OAuth/JWT, ARQ, persistence, and RAG chat are roadmap references—not current architecture.
Quality and evaluation boundary
Offline quality measurement is separate from request serving: eval/evaluate_model.py runs evaluation data through the summarization path and applies RAGAS faithfulness scoring. CI/CD definitions live in .github/workflows/ci.yml and .github/workflows/deploy.yml, but their container/deployment path inherits the missing-app/ limitation.
Main entry points: api.py FastAPI REST boundary · App.jsx Meeting workspace · api.js API client · transcriber.py Transcription service
Components 16
Browser SPA
- React entry
frontend/src/main.jsx - Meeting workspace · Captures audio, accepts transcripts, and owns result state.
frontend/src/App.jsx - API client · Uses the Vite-injected API base URL.
frontend/src/api.js - Settings drawer · Selects engines, models, credentials, and features.
frontend/src/components/SettingsDrawer.jsx - Results and exports · Renders Markdown and exposes downloads.
frontend/src/components/ResultsPanel.jsx
Stateless API
- FastAPI REST boundary · Synchronous, stateless request orchestration in api:app.
api.py - Transcription service · Normalizes WAV and enforces supported media and 25 MB limits.
utils/transcriber.py - Analysis service · Creates summary, action items, and optional speaker labels.
utils/summarizer.py - Report generator · Generates server-side TXT or fpdf2 PDF reports.
utils/exporter.py
External AI
- Groq Whisper · Primary transcription provider with segments and timestamps.
- HuggingFace STT · Alternate provider with reduced metadata.
- Groq LLaMA Chat · Provides summary, action-item, and speaker-label inference.
Delivery & Quality
- SPA proxy · Serves the production frontend and proxies API traffic.
nginx.conf - Offline evaluation · Runs summaries against evaluation data for faithfulness scoring.
eval/evaluate_model.py - CI pipeline · Container and deployment paths inherit the missing app/ backend target.
.github/workflows/ci.yml - Deployment manifests · Backend Docker, Compose, and Render commands incorrectly target absent app/ modules.
docker-compose.yml
Connections 16
- React entry → Meeting workspace: mounts
- Meeting workspace → API client: submits audio or transcript
- Meeting workspace → Settings drawer: configures
- Meeting workspace → Results and exports: displays analysis
- API client → SPA proxy: production requests
- SPA proxy → FastAPI REST boundary: proxies API
- API client → FastAPI REST boundary: REST requests
- FastAPI REST boundary → Transcription service: audio workflow
- FastAPI REST boundary → Analysis service: transcript workflow
- FastAPI REST boundary → Report generator: export workflow
- Transcription service → Groq Whisper: primary STT
- Transcription service → HuggingFace STT: alternate STT
- Analysis service → Groq LLaMA Chat: two-pass analysis
- Offline evaluation → Analysis service: evaluates summarization path
- CI pipeline → Deployment manifests: builds and deploys
- Deployment manifests → FastAPI REST boundary: broken app/ target · Declared container commands do not invoke api.py.