How tech4seven/backtalk-mobile works
Backtalk Mobile is a local browser companion for voice and typed conversations with a read-only Codex CLI session. The main workflow runs from the mobile interface through the local HTTP service: audio is transcribed, the turn is sent to Codex, and the reply is returned as text and streamed speech; typed messages use the same conversation with optional speech. The excerpts show browser requests, audio capture and playback, configuration, transcription, and Codex invocation. Speech synthesis and some server routing details are documented but not visible in the sampled code.
Main entry points: app.js Conversation interface · server.py Turn handling
Components 12
Mobile browser
- Conversation interface
static/app.js - Audio capture
static/app.js - Audio playback
static/app.js
Local service
- HTTP API
server.py - Mobile settings
server.py - Turn handling
server.py
Conversation and speech
- Speech transcription
server.py - Backtalk speech stack
- Codex conversation
- Session state
server.py - Speech synthesis
Other components
- Mobile user
Connections 14
- Mobile user → Conversation interface: uses
README.md - Conversation interface → Audio capture: starts recording
static/app.js - Audio capture → Conversation interface: submits audio
static/app.js - Conversation interface → HTTP API: sends turns
static/app.js - HTTP API → Mobile settings: serves config
server.py - HTTP API → Turn handling: handles requests
server.py - Turn handling → Speech transcription: transcribes audio
README.md - Speech transcription → Backtalk speech stack: uses speech models
README.md - Turn handling → Codex conversation: runs read-only turns
server.py - Turn handling → Session state: loads and saves
server.py - Turn handling → Speech synthesis: synthesizes replies
README.md - HTTP API → Conversation interface: streams replies
static/app.js - Conversation interface → Audio playback: plays audio
static/app.js - Audio playback → Mobile user: outputs speech
README.md