I built a conversational voice interface for Claude Code — like the Claude mobile app's voice mode, but for the CLI. Now I can talk to it from my phone while walking around the house.
How it works:
- I speak into my phone browser
- Whisper transcribes locally
- The transcript is sent to a tmux session running Claude Code
- Claude's response is captured, tool calls and code blocks are filtered out, and the plain text is read back via TTS
To filter out background noise, commands end with "thank you" to send. Say "stop" to cancel. Anything else shows up with a manual Send button as a failsafe.
Built in about 1 hour. It's slow, but better than having to sit at the computer.
The pauses between speech are at 2x — I'd recommend watching at 2x speed. You'll also see me interrupt a response mid-sentence to give the second command.
Built with: FastAPI, OpenAI Whisper, tmux, macOS say, Web Audio API.
Open source: https://github.com/chezluc/voice-to-tmux
Download
0 formats
No download links available.
Conversational Voice Interface for Claude Code (watch at 2x) | NatokHD