{"by":"ralfelfving","descendants":159,"id":38611700,"kids":[38614699,38613010,38612317,38618425,38748038,38617321,38616737,38614287,38625025,38618686,38613234,38618159,38613924,38613911,38621754,38619198,38621329,38626371,38612298,38617144,38615930,38616087,38616751,38618582,38618450,38613851,38616732,38625286,38612140,38613741,38615907,38613259,38613682,38622801,38626026,38621544,38612880,38612622,38613220,38615516,38615899,38612490,38613111,38612306,38612504,38612435,38613600,38612283,38620747],"score":430,"text":"Heeey! I built a macOS copilot that has been useful to me, so I open sourced it in case others would find it useful too.<p>It&#x27;s pretty simple:<p>- Use a keyboard shortcut to take a screenshot of your active macOS window and start recording the microphone.<p>- Speak your question, then press the keyboard shortcut again to send  your question + screenshot off to OpenAI Vision<p>- The Vision response is presented in-context&#x2F;overlayed over the active window, and spoken to you as audio.<p>- The app keeps running in the background, only taking a screenshot&#x2F;listening when activated by keyboard shortcut.<p>It&#x27;s built with NodeJS&#x2F;Electron, and uses OpenAI Whisper, Vision and TTS APIs under the hood (BYO API key).<p>There&#x27;s a simple demo and a longer walk-through in the GH readme <a href=\"https:&#x2F;&#x2F;github.com&#x2F;elfvingralf&#x2F;macOSpilot-ai-assistant\">https:&#x2F;&#x2F;github.com&#x2F;elfvingralf&#x2F;macOSpilot-ai-assistant</a>, and I also posted a different demo on Twitter: <a href=\"https:&#x2F;&#x2F;twitter.com&#x2F;ralfelfving&#x2F;status&#x2F;1732044723630805212\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;twitter.com&#x2F;ralfelfving&#x2F;status&#x2F;1732044723630805212</a>","time":1702387051,"title":"Show HN: Open-source macOS AI copilot using vision and voice","type":"story","url":"https://github.com/elfvingralf/macOSpilot-ai-assistant"}