<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OpenCode | Scott Edwards</title><link>https://scottedwards.tech/tags/opencode/</link><atom:link href="https://scottedwards.tech/tags/opencode/index.xml" rel="self" type="application/rss+xml"/><description>OpenCode</description><generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-gb</language><copyright>© 2019 - 2026 - Scott Edwards</copyright><lastBuildDate>Sat, 21 Nov 2026 17:05:00 +0000</lastBuildDate><image><url>https://scottedwards.tech/img/icon-192.png</url><title>OpenCode</title><link>https://scottedwards.tech/tags/opencode/</link></image><item><title>Giving OpenCode a Voice</title><link>https://scottedwards.tech/post/opencode-voice/</link><pubDate>Sat, 21 Nov 2026 17:05:00 +0000</pubDate><guid>https://scottedwards.tech/post/opencode-voice/</guid><description>
&lt;p&gt;When I use OpenCode, it sometimes responds with a wall of text. There can be important details in these responses, and it helps me to hear them spoken aloud.&lt;/p&gt;
&lt;p&gt;I built on &lt;a href=&#34;https://github.com/semirhuduti/opencode-tts-voice&#34; target=&#34;_blank&#34;&gt;Semir Huduti&amp;rsquo;s OpenCode text-to-speech plugin&lt;/a&gt;, which provides the speech generation and playback foundation. I&amp;rsquo;ve made substantial changes and now maintain this fork independently; it is not an official version of his repo, nor is endorsed by him.&lt;/p&gt;
&lt;p&gt;You can install &lt;a href=&#34;https://www.npmjs.com/package/@scotteza/opencode-spoken-replies&#34; target=&#34;_blank&#34;&gt;my published OpenCode Spoken Replies package from npm&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you find this tool useful, please consider &lt;a href=&#34;https://www.buymeacoffee.com/semirhuduti&#34; target=&#34;_blank&#34;&gt;buying Semir a coffee&lt;/a&gt;. He deserves a &amp;ldquo;thank you&amp;rdquo; for building the foundation that my plugin builds upon.&lt;/p&gt;
&lt;h2 id=&#34;installation&#34;&gt;Installation&lt;/h2&gt;
&lt;p&gt;The plugin is published on npm and can be added to OpenCode with one command:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;opencode plugin add @scotteza/opencode-spoken-replies
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See the &lt;a href=&#34;https://www.npmjs.com/package/@scotteza/opencode-spoken-replies&#34; target=&#34;_blank&#34;&gt;npm package page&lt;/a&gt; for prerequisites, configuration options, and usage details.&lt;/p&gt;
&lt;h2 id=&#34;what-i-added&#34;&gt;What I added&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Ctrl+F9 pop-up menu:&lt;/strong&gt; A menu that brings the existing voice and playback options together and shows their shortcuts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Speech-speed controls:&lt;/strong&gt; Keyboard shortcuts to slow down or speed up speech, in quarter-step increments from 0.25× to 5×.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Remembered selections:&lt;/strong&gt; The plugin remembers the speed and voice you selected, so you don&amp;rsquo;t have to edit configuration files each time. Explicit configuration still takes precedence.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Searchable voice picker:&lt;/strong&gt; Search 28 English voices by name, accent, gender, or ID; preview a voice with Ctrl+O and select it with Enter.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tests and scripts:&lt;/strong&gt; Automated tests, an audio test, and a build-and-deploy script.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Quick Start Guide:&lt;/strong&gt; Instructions for building and loading the plugin locally, including macOS and WSL/Ubuntu. The published npm package provides a simple installation path for OpenCode users.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;what-i-improved&#34;&gt;What I improved&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;OpenCode V2 support:&lt;/strong&gt; Updated the plugin integration for V2, including TUI integration, message streaming, history retrieval, session handling, and state communication.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dependency maintenance:&lt;/strong&gt; Updated dependencies and added npm &lt;code&gt;overrides&lt;/code&gt; for &lt;code&gt;glob&lt;/code&gt;, &lt;code&gt;minimatch&lt;/code&gt;, and &lt;code&gt;sharp&lt;/code&gt; in response to npm audit advisories. This records the changes made; it is not a claim that all vulnerabilities are resolved or that a fresh audit has no findings.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;final-thoughts&#34;&gt;Final thoughts&lt;/h2&gt;
&lt;p&gt;This is the kind of improvement I enjoy: making a useful tool work better for the people using it (including myself).&lt;/p&gt;</description></item></channel></rss>