How jrtrj/live-stream works
VoxAction is a browser call app that turns spoken SEND, BOOK, and SHARE phrases into action cards and receipts. The principal path is call setup, transcript publication, intent extraction and gating, dispatch, then action display. The README describes replay through a shared event bus and several future storage and speech integrations; the current app excerpt still uses fake transcription, and the documented storage upgrades are not implemented here. Some backend and integration links are therefore omitted or marked unverified.
Main entry points: app.ts App composition · bus.ts Event bus · App.tsx Call and action UI · webrtc.ts WebRTC peers
Components 21
Live call
- App composition
src/app.ts - Peer interface
src/core/peer.ts - WebRTC peers
src/core/webrtc.ts - Signalling server
server/signal.ts - Room management
server/room.ts - Fake transcription
src/core/transcriber.ts
Event and intent pipeline
- Event contract
src/contract/events.ts - Payload schemas
src/contract/payload.ts - Event bus
src/core/bus.ts - In-memory event store
src/core/store.ts - Intent extraction
src/core/extractor.ts - Intent gates
src/core/gates.ts
Action handlers
- Action dispatcher
src/core/dispatcher.ts - Calendar booking
src/core/calendar.ts - Date parsing
src/core/when.ts - Code sharing
src/core/share.ts
Call interface
- Call and action UI
src/ui/App.tsx
Optional services
- Speech service
services/stt/server.py - HTTP model client
src/core/modelClient.ts - Model proxy
server/model.ts
Other components
- Call participant
Connections 28
- Call participant → Call and action UI: starts call
src/ui/App.tsx - Call and action UI → App composition: creates app
src/ui/App.tsx - App composition → Event bus: creates bus
src/app.ts - App composition → WebRTC peers: joins peers
src/app.ts - App composition → Fake transcription: transcribes audio
src/app.ts - App composition → Intent extraction: extracts intents
src/app.ts - App composition → HTTP model client: configures client
src/app.ts - App composition → Action dispatcher: creates dispatcher
src/app.ts - App composition → Calendar booking: registers handler
src/app.ts - App composition → Code sharing: registers handler
src/app.ts - WebRTC peers → Peer interface: implements
src/core/webrtc.ts - WebRTC peers → Signalling server: exchanges signals
src/core/webrtc.ts - Signalling server → Room management: uses rooms
server/signal.ts - Fake transcription → Event bus: publishes transcript
src/app.ts - App composition → Event bus: subscribes transcripts
src/app.ts - Event bus → In-memory event store: persists events
src/core/bus.ts - Event bus → Event contract: uses event types
src/core/bus.ts - App composition → Event bus: publishes intents
src/app.ts - Intent extraction → Intent gates: validates results
src/core/extractor.ts - Intent gates → Payload schemas: checks schema
src/core/gates.ts - App composition → Event bus: dispatches intents
src/app.ts - Action dispatcher → Event contract: uses event types
src/core/dispatcher.ts - App composition → Event bus: publishes actions
src/app.ts - Calendar booking → Date parsing: resolves dates
src/core/calendar.ts - Call and action UI → Event bus: renders event log
src/ui/App.tsx - Call and action UI → Event contract: filters event types
src/ui/App.tsx - App composition → Model proxy: configures proxy URL
- Fake transcription → Speech service: could use service