{"id":13584846,"url":"https://github.com/apeatling/ollama-voice-mac","last_synced_at":"2025-04-05T07:03:14.176Z","repository":{"id":214394367,"uuid":"736419116","full_name":"apeatling/ollama-voice-mac","owner":"apeatling","description":"Mac compatible Ollama Voice","archived":false,"fork":false,"pushed_at":"2024-03-26T14:49:04.000Z","size":448,"stargazers_count":468,"open_issues_count":8,"forks_count":54,"subscribers_count":12,"default_branch":"trunk","last_synced_at":"2025-03-29T06:04:25.143Z","etag":null,"topics":["ai","assistant","chatbot","llm","macos","mistral","ollama","speech-recognition","voice","whisper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apeatling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-27T21:20:33.000Z","updated_at":"2025-03-28T19:00:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"eaf57c1a-5406-45b0-a7f6-80d847497ba9","html_url":"https://github.com/apeatling/ollama-voice-mac","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.4,"last_synced_commit":"e101dec18d09e7e60bcb89f4d989b59a07f36e41"},"previous_names":["apeatling/ollama-voice-mac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apeatling%2Follama-voice-mac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apeatling%2Follama-voice-mac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apeatling%2Follama-voice-mac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apeatling%2Follama-voice-mac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apeatling","download_url":"https://codeload.github.com/apeatling/ollama-voice-mac/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299831,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","assistant","chatbot","llm","macos","mistral","ollama","speech-recognition","voice","whisper"],"created_at":"2024-08-01T15:04:33.657Z","updated_at":"2025-04-05T07:03:14.153Z","avatar_url":"https://github.com/apeatling.png","language":"Python","funding_links":[],"categories":["Python","HarmonyOS","By Platform"],"sub_categories":["Windows Manager","macOS"],"readme":"# ollama-voice-mac\nA completely offline voice assistant using Mistral 7b via Ollama and Whisper speech recognition models. This builds on the [excellent work of maudoin](https://github.com/maudoin/ollama-voice) by adding Mac compatibility with various improvements.\n\nhttps://github.com/apeatling/ollama-voice-mac/assets/1464705/996abeb7-7e99-451b-8d3b-feb3fecbb82e\n\n## Installing and running\n\n1. Install [Ollama](https://ollama.ai) on your Mac.\n2. Download the Mistral 7b model using the `ollama pull mistral` command.\n3. Download an [OpenAI Whisper Model](https://github.com/openai/whisper/discussions/63#discussioncomment-3798552) (base.en works fine).\n4. Clone this repo somewhere.\n5. Place the Whisper model in a /whisper directory in the repo root folder.\n6. Make sure you have [Python](https://www.python.org/downloads/macos/) and [Pip](https://pip.pypa.io/en/stable/installation/) installed.\n7. For Apple silicon support of the PyAudio library you'll need to install [Homebrew](https://brew.sh) and run `brew install portaudio`.\n8. Run `pip install -r requirements.txt` to install.\n9. Run `python assistant.py` to start the assistant.\n\n## Improving the voice\n\nYou can improve the quality of the voice by downloading a higher quality version. These instructions work on MacOS 14 Sonoma:\n\n1. In System Settings select Accessibility \u003e Spoken Content\n2. Select System Voice and Manage Voices...\n3. For English find \"Zoe (Premium)\" and download it.\n4. Select Zoe (Premium) as your System voice.\n\n## Other languages\nYou can set up support for other languages by editing `assistant.yaml`. Be sure to download a different Whisper model in your language and change the default `modelPath`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapeatling%2Follama-voice-mac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapeatling%2Follama-voice-mac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapeatling%2Follama-voice-mac/lists"}