How aman678317/talkflow works
GlobalTalk AI is a multilingual communication platform whose central flow captures speech, creates an immutable source transcript, translates it independently for each listener, and delivers speech or captions. The web app also exposes text translation, writing, documents, meetings, chat, glossaries, and account/usage features. The graph focuses on the documented product and the sampled services/api runtime; the repository also contains a separate apps/api implementation, so its relationships are not inferred here. Some feature paths are directory-level because their source was not sampled.
Main entry points: app/main.py API application · pipeline.py Realtime audio pipeline · main.tsx Web application · document-worker/main.py Document worker
Components 20
Web experience
- Web application
apps/web/src/main.tsx - Live meeting room
apps/web/src/pages/MeetingRoom.tsx - Voice studio
apps/web/src/pages/Voice.tsx - Translate and write
apps/web/src/pages/Translate.tsx
API and product services
- API application
services/api/app/main.py - Realtime audio pipeline
services/api/app/realtime/pipeline.py - Translation service
services/api/app/services/translation_service.py - Document translation
services/api/app/services/document_service.py - Writing assistant
services/api/app/services/write_service.py - Translated chat
services/api/app/services/chat_service.py - Meeting services
services/api/app/services/meeting_service.py
AI runtime
- AI provider runtime
services/api/app/ai.py - Model router
ai/model_router/router.py - Speech and language providers
ai/providers
State and integrations
- Application database
services/api/app/db/session.py - Object storage
services/api/app/storage.py - Job queue
services/api/app/queue.py - Document worker
workers/document-worker/main.py - LiveKit media
Other components
- Participants and users
Connections 26
- Participants and users → Web application: uses
README.md - Web application → Live meeting room: routes to
apps/web/src/main.tsx - Web application → Voice studio: routes to
apps/web/src/main.tsx - Web application → Translate and write: routes to
apps/web/src/main.tsx - Live meeting room → Realtime audio pipeline: streams audio
- Voice studio → Realtime audio pipeline: streams audio
- Web application → API application: calls API
README.md - API application → Realtime audio pipeline: serves realtime
- Realtime audio pipeline → AI provider runtime: requests inference
services/api/app/realtime/pipeline.py - AI provider runtime → Model router: routes tasks
services/api/app/ai.py - Model router → Speech and language providers: selects provider
ai/model_router/router.py - Realtime audio pipeline → Application database: persists transcripts
services/api/app/realtime/pipeline.py - Realtime audio pipeline → Object storage: stores audio
services/api/app/realtime/pipeline.py - Realtime audio pipeline → Meeting services: broadcasts events
services/api/app/realtime/pipeline.py - Translate and write → Translation service: requests translation
- API application → Translation service: routes requests
- API application → Document translation: routes jobs
- API application → Writing assistant: routes requests
- API application → Translated chat: serves chat
- API application → Meeting services: serves meetings
- Document translation → Job queue: enqueues jobs
- Document worker → Job queue: consumes jobs
workers/document-worker/main.py - Document worker → Document translation: runs processing
workers/document-worker/main.py - Document worker → AI provider runtime: uses AI
workers/document-worker/main.py - Document worker → Object storage: uses storage
workers/document-worker/main.py - Live meeting room → LiveKit media: joins media