Show HN: Open-source macOS AI copilot using vision and voice (opens in a new tab)github.com
430 pointsIt's pretty simple:
- Use a keyboard shortcut to take a screenshot of your active macOS window and start recording the microphone.
- Speak your question, then press the keyboard shortcut again to send your question + screenshot off to OpenAI Vision
- The Vision response is presented in-context/overlayed over the active window, and spoken to you as audio.
- The app keeps running in the background, only taking a screenshot/listening when activated by keyboard shortcut.
It's built with NodeJS/Electron, and uses OpenAI Whisper, Vision and TTS APIs under the hood (BYO API key).
There's a simple demo and a longer walk-through in the GH readme https://github.com/elfvingralf/macOSpilot-ai-assistant, and I also posted a different demo on Twitter: https://twitter.com/ralfelfving/status/1732044723630805212
Comments (159) 49 threads
Earlier commentsThanks for sharing!
1. Download LLaVA from https://github.com/Mozilla-Ocho/llamafile
2. Run Whisper locally for speech to text
3. Save screenshots and send to the model, with a script like https://til.dave.engineer/openai/gpt-4-vision/
The pilot name comes from Microsoft's use of "Copilot" for their AI assistant products, and I tried to play on it with macOSpilot which is maco(s)pilot. I think that naming has completely flown over everyone's heads :D
Do you know of a simple setup that I can run locally with support for both images and text?
All comments shown.
Couldn't load more comments. Check your connection and try again.