Use CasesAccessible Coding with OpenCode

Accessible Coding with OpenCode

The Problem

RSI, carpal tunnel, and other conditions make extended typing painful. Existing voice coding tools have steep learning curves.

The Solution

OpenCode interrupt provides a natural voice interface for AI-assisted coding. Walkie-talkie mode captures speech, AI handles code generation, TTS reads results aloud.

Workflow

  1. Set up OpenCode with interrupt plugin and whisper (local STT means everything stays offline).
  2. Configure a large whisper model (medium or large) for maximum accuracy — you don't want to repeat commands.
  3. Navigate code by asking the AI: /ptt "What does the calculateTotal function do?"
  4. Hear the explanation via TTS. Ask follow-ups with another /ptt.
  5. Request code changes: /ptt "Add input validation to the createUser function."
  6. The AI generates the code. Review by hearing it read back with /tts-speak, then request refinements.
Tips
• For accessibility-focused setups, use whisper medium or large model — accuracy matters more than speed.
• OpenAI API (set OPENAI_API_KEY) provides the most accurate transcription for critical workflows.
• Pair with system-level voice dictation for times when you need to type specific text outside of OpenCode.

Want to try this workflow?

Install interrupt →