<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Vincent Botta</title>
    <description>The latest articles on Forem by Vincent Botta (@0asa).</description>
    <link>https://forem.com/0asa</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F92353%2F9e5d512b-831c-4c40-927f-6cf21d7b0fce.png</url>
      <title>Forem: Vincent Botta</title>
      <link>https://forem.com/0asa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/0asa"/>
    <language>en</language>
    <item>
      <title>Whisper Menu Bar</title>
      <dc:creator>Vincent Botta</dc:creator>
      <pubDate>Fri, 31 Oct 2025 16:33:55 +0000</pubDate>
      <link>https://forem.com/0asa/whisper-menu-bar-3fd4</link>
      <guid>https://forem.com/0asa/whisper-menu-bar-3fd4</guid>
      <description>&lt;p&gt;A minimal, clean speech-to-text menu bar application for macOS using OpenAI's Whisper. You can download the script &lt;a href="https://gist.github.com/0asa/3861da03d1f49106e8073416b39a32bd" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🎤 &lt;strong&gt;Push-to-talk&lt;/strong&gt;: Hold Option key to record, release to transcribe&lt;/li&gt;
&lt;li&gt;📋 &lt;strong&gt;Auto-clipboard&lt;/strong&gt;: Transcribed text automatically copied to clipboard&lt;/li&gt;
&lt;li&gt;🔄 &lt;strong&gt;Model selection&lt;/strong&gt;: Switch between tiny, base, small, and medium models&lt;/li&gt;
&lt;li&gt;🎯 &lt;strong&gt;Clean &amp;amp; minimal&lt;/strong&gt;: Simple interface, ~300 lines of code&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Requirements
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;macOS (tested on macOS 10.15+)&lt;/li&gt;
&lt;li&gt;Python 3.8 or higher&lt;/li&gt;
&lt;li&gt;Microphone access permissions&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Installation and Usage
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Copy the &lt;code&gt;whisper-push-to-talk.py&lt;/code&gt; somewhere&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install &lt;a href="https://docs.astral.sh/uv/" rel="noopener noreferrer"&gt;uv&lt;/a&gt; and run:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   uv run whisper-push-to-talk.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: On macOS, you may need to install PortAudio first for PyAudio:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   brew &lt;span class="nb"&gt;install &lt;/span&gt;portaudio
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Grant microphone permissions to Terminal/your Python app when prompted&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The app will:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Show a microphone icon (🎤) in your menu bar&lt;/li&gt;
&lt;li&gt;Load the Whisper model in the background (first run may take a moment)&lt;/li&gt;
&lt;li&gt;Display "Ready" when ready to use&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Recording
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Option key&lt;/strong&gt;: Hold to record, release to transcribe, &lt;strong&gt;Text appears in clipboard&lt;/strong&gt; → Ready to paste anywhere&lt;/li&gt;
&lt;li&gt;Click the menu bar icon → Model → Select your preferred model:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;tiny&lt;/strong&gt;: Fastest, lowest accuracy (~1GB)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;base&lt;/strong&gt;: Good balance (default, ~1GB)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;small&lt;/strong&gt;: Better accuracy (~2GB)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;medium&lt;/strong&gt;: Best accuracy (~5GB)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h4&gt;
  
  
  Quit
&lt;/h4&gt;

&lt;p&gt;Click the menu bar icon → Quit&lt;/p&gt;

&lt;h3&gt;
  
  
  License
&lt;/h3&gt;

&lt;p&gt;MIT License - Feel free to modify and distribute&lt;/p&gt;

&lt;h3&gt;
  
  
  Credits
&lt;/h3&gt;

&lt;p&gt;Built with OpenAI's Whisper model for speech recognition.&lt;/p&gt;

</description>
      <category>transcription</category>
      <category>whisper</category>
      <category>python</category>
      <category>macos</category>
    </item>
  </channel>
</rss>
