Using Python to Code by Voice
Why Hacker News recommends it
Recurs in threads about RSI, accessibility and voice coding as the go-to demo of a custom spoken command language.
What it is
Tavis Rudd describes how RSI forced him to program by voice, and shows the Python and Emacs Lisp system he built with voice recognition. A live demo creates and deploys a small system without touching the keyboard.
Recommended by 12 HN commenters across 9 different months, 2013 to 2025.
What Hacker News said
Strong rec thomasjames · 2013-05 · on “VimSpeak”
A similar project using Emacs and really clever use of Python and Dragon Naturally Speaking SDK was my favorite presentation at PyCon this past year. [this video]
Strong rec monsieurbanana · 2020-08 · on “Art of chording”
Maybe lisp could shine here? While writing lisp code in classic editors, you already shouldn't be editing or navigating code with classic commands, instead you will be using structured editing. Of course it isn't limited to lisp, but languages with C-like syntax are harder to use for structured editing. I highly recommend watching this video, where the speaker uses voice commands to write both in emacs-lisp and in python. [this video]
Strong rec arijun · 2020-08 · on “Art of chording”
I'm surprised that there seem to be no examples anywhere of anyone seriously using chorded typing for programming. After cheap chorded keyboards entered the market and the associated software became free, I assumed it would only be a matter of time before something like Travis Rudd's incredible demo of voice coding [1] came out. Perhaps that it hasn't speaks to how difficult it is to get real speed improvements with a chorded setup? [1] [this video]
Strong rec pugio · 2025-04 · on “The case against conversational interfaces”
> The second thing we need to figure out is how we can compress voice input to make it faster to transmit. What’s the voice equivalent of a thumbs-up or a keyboard shortcut? Can I prompt Claude faster with simple sounds and whistles? This reminds me of the amazing 2013 video of Travis Rudd coding python by voice: [this video] The number of times in the last few years I've wanted that level of "verbal hotkeys"... The latencies of many coding llms are still a little bit too low to allow for my ideal level of flow (though admittedly I haven't tried one's hosted on services like groq), but I can clearly envision a time when I'm issuing tight commands to a coder model that's chatting with me and watch
Recommends rjbwork · 2014-06 · on “Annyang.js – Let visitors control your site with voice commands”
You might be interested in watching this talk: [this video] Although, if I recall correctly, he uses Dragon Naturally Speaking, which is a commercial product.
Recommends srik · 2015-04 · on “Ask HN: Anyone using a “no hands” setup for programming?”
[This talk by Tavis Rudd]( [this video] ) about a system he used when his hands were afflicted with RSI is pretty interesting. Not entirely a no-hands approach, but I can't seem to remember the developer who made his first app in the hospital by typing with one/two fingers. He wrote a blogpost about his process that was really inspiring.
Recommends beeworker · 2015-04 · on “Ask HN: I can barely read, is there a way I could still learn to program?”
There was an interesting talk at PyCon 2013 about programming using only your voice: [this video] Might be worth looking into for your case. It's worth mentioning that the guy did this for himself due to severe RSI in the hands, but there was another talk on using a stenographic keyboard to program and I remember this guy stood up and said he wished he'd known about it earlier as it's another approach for people who suffer from RSI since there's less typing.
Recommends klibertp · 2017-05 · on “Something is wrong when the ‘telephone app’ on your phone becomes 3rd party”
See this: [this video] > In a fast-paced live demo, I will create a small system using Python, plus a few other languages for good measure, and deploy it without touching the keyboard. The demo gods will make a scheduled appearance. I hope to convince you that voice recognition is no longer a crutch for the disabled or limited to plain prose. It's now a highly effective tool that could benefit all programmers. Turns out it's doable, you just need to invent your own language.