https://github.com/rhasspy/rhasspy Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Compare all + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} rhasspy / rhasspy Public * Notifications * Fork 129 * Star 1.5k Offline private voice assistant for many human languages community.rhasspy.org/ License MIT license 1.5k stars 129 forks Star Notifications * Code * Issues 92 * Pull requests 3 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights rhasspy/rhasspy This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 3 branches 9 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/r] Use Git or checkout with SVN using the web URL. [gh repo clone rhassp] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @synesthesiam synesthesiam Merge pull request #295 from montydrei/master ... b9a0e4c Sep 28, 2022 Merge pull request #295 from montydrei/master Corrected pronunciation guide b9a0e4c Git stats * 733 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time bin Add --http-root option to rhasspy-voltron to change web server url pr... Sep 27, 2020 debian Fixes for Docker build Apr 1, 2021 docker Use latest version in Docker script Jul 7, 2020 docs Merge pull request #231 from ChrisB85/master Sep 28, 2022 etc Fixes for build scripts and Debian build Jun 30, 2020 examples Small typo. Aug 7, 2022 m4 Switching to autoconf May 12, 2020 rhasspy-asr @ d5c5d94 Multiple wakeword support in Raven Jul 28, 2020 rhasspy-asr-deepspeech @ 2c36494 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-asr-deepspeech-hermes @ 4edc405 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-asr-kaldi @ 4354e7c Add cancel word for Kaldi Aug 5, 2021 rhasspy-asr-kaldi-hermes @ be7190f Add cancel word for Kaldi Aug 5, 2021 rhasspy-asr-pocketsphinx @ bfc756b Don't force JSON to include only ASCII Sep 20, 2020 rhasspy-asr-pocketsphinx-hermes @ 89c33a0 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-asr-vosk-hermes @ 94282d7 Loosen vosk requirements Jul 8, 2021 rhasspy-dialogue-hermes @ 0d697cb Dialogue manager and speakers service can play more than just WAV files Jul 6, 2021 rhasspy-fuzzywuzzy @ 203a018 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-fuzzywuzzy-hermes @ 800f664 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-hermes @ badd692 Pull from github Aug 20, 2021 rhasspy-homeassistant-hermes @ f699012 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-microphone-cli-hermes @ 490e9b6 Pull in changes from submodules Mar 31, 2021 rhasspy-microphone-pyaudio-hermes @ 2293eb5 Pull in changes from submodules Mar 31, 2021 rhasspy-nlu @ 06d118c Fix fsticuffs bug for dropping multiple words: [foo | bar]: Jul 14, 2021 rhasspy-nlu-hermes @ 09333aa Add cancel word for Kaldi Aug 5, 2021 rhasspy-profile @ cd45d1a Add 4 more English Larynx voices Aug 20, 2021 rhasspy-rasa-nlu-hermes @ 704b2a7 Pass custom entities through /api/listen-for-command to NLU intent Apr 8, 2021 rhasspy-remote-http-hermes @ eaca6ab Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-server-hermes @ ba9ce18 Pull from github Aug 20, 2021 rhasspy-silence @ 553ef19 Multiple changes (see CHANGELOG) May 24, 2021 rhasspy-snips-nlu @ c46857f Add Rhasspy Raven wake word system Jul 17, 2020 rhasspy-snips-nlu-hermes @ 0bfd7f0 Pass custom entities through /api/listen-for-command to NLU intent Apr 8, 2021 rhasspy-speakers-cli-hermes @ 1076ccd Dialogue manager and speakers service can play more than just WAV files Jul 6, 2021 rhasspy-supervisor @ 47d5a0a Add cancel word for Kaldi Aug 5, 2021 rhasspy-tts-cli-hermes @ 3adf80a Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-tts-larynx-hermes @ b7536f2 Fixes for Docker build Apr 1, 2021 rhasspy-tts-wavenet-hermes @ 1fe2e2d Add volume options for feedback sounds and TTS systems Nov 4, 2020 rhasspy-wake-pocketsphinx-hermes @ a0f60d6 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-wake-porcupine-hermes @ 91af83b Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-wake-precise-hermes @ ee63755 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-wake-raven @ 9847924 Update Debian download links Sep 10, 2021 rhasspy-wake-raven-hermes @ 41ff418 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy-wake-snowboy-hermes @ 72d9703 Add ption to allow "unknown" words to be recognized with Kaldi Jul 1, 2021 rhasspy Add Larynx to Dockerfiles Oct 12, 2020 scripts Add Vosk to Docker build Jul 7, 2021 .dockerignore Add Vosk to Docker build Jul 7, 2021 .gitignore Don't exclude debian/ in gitignore anymore Jun 5, 2020 .gitmodules Multiple changes (see CHANGELOG) May 24, 2021 .projectile Working on PyInstaller-based Docker build Jan 14, 2020 .python-version Upgrade to Python 3.7 Mar 25, 2020 CHANGELOG Add new Larynx voices Aug 20, 2021 Dockerfile Fixing Dockerfiles Aug 5, 2021 Dockerfile.debian Fix Debian build for armv6 Sep 10, 2021 Dockerfile.nobuildx Merge branch 'develop' of pumpkin.lan:Mike/Projects/rhasspy-voltron i... Apr 8, 2021 LICENSE Switching to autoconf May 12, 2020 Makefile.in Copy Raven extension .so file into the right place Jul 2, 2021 Makefile.service.template Support for Mycroft Precise Mar 15, 2020 README.md Corrected pronunciation guide Aug 19, 2022 RHASSPY_DIRS Multiple changes (see CHANGELOG) May 24, 2021 RHASSPY_LIBRARIES Add create-venv scripts Feb 3, 2020 RHASSPY_SERVICES Multiple changes (see CHANGELOG) May 24, 2021 TODO.md Add ability to record Raven examples in web UI Jul 22, 2020 VERSION Bump version Jul 1, 2021 __main__.py Add debian build and docs Feb 5, 2020 aclocal.m4 Switching to autoconf May 12, 2020 architecture.sh cleanup bash scripts May 7, 2020 bootstrap.sh Switching to autoconf May 12, 2020 config.guess Switching to autoconf May 12, 2020 config.sub Switching to autoconf May 12, 2020 configure Enable DeepSpeech on arm64 Jul 14, 2021 configure.ac Enable DeepSpeech on arm64 Jul 14, 2021 get-rhasspy.sh Further testing on get-rhasspy.sh script that uses docker compose Jul 1, 2020 install-sh Switching to autoconf May 12, 2020 missing Switching to autoconf May 12, 2020 mkdocs.yml Add master plan to docs Jan 21, 2021 mypy.ini Working on ASR training and packaging Jan 22, 2020 pylintrc Working on ASR training and packaging Jan 22, 2020 requirements.txt Update requirements Mar 31, 2021 requirements_dev.txt Update needed pylint version to 2.5.3 Jan 31, 2021 rhasspy.sh.in Multiple site ids for some HTTP API calls. Fixes for venv install. May 28, 2020 rhasspy.spec.in No more pyinstaller in Debian build Nov 13, 2020 rhasspysatellite.spec Add debian satellite build Mar 11, 2020 run-docker-alsa.sh Preview version almost ready Feb 23, 2020 setup.cfg Working on ASR training and packaging Jan 22, 2020 setup.py.in Disable Vosk on arm64 and armv6l Jul 7, 2021 View code [ ] Rhasspy Voice Assistant Learn More Web Interface Getting Started Getting Help Supported Languages Services Intended Audience Contributing Development Status README.md Rhasspy Voice Assistant Rhasspy 2.5 logo Rhasspy ('raespi) is an open source, fully offline set of voice assistant services for many human languages that works well with: * Hermes protocol compatible services (Snips.AI) * Home Assistant and Hass.io * Node-RED * Jeedom * OpenHAB You specify voice commands in a template language: [LightState] states = (on | off) turn (){state} [the] light and Rhasspy will produce JSON events that can trigger action in home automation software, such as a Node-RED flow: { "text": "turn on the light", "intent": { "name": "LightState" }, "slots": { "state": "on" } } Rhasspy is optimized for: * Working with external services via MQTT, HTTP, and Websockets + Home Assistant and Hass.IO have built-in support * Pre-specified voice commands that are described well by a grammar + You can also do open-ended speech recognition * Voice commands with uncommon words or pronunciations + New words are added phonetically with automated assistance Learn More * Video Demonstration + Rhasspy In-Depth Series * Documentation + Getting Started Guide + Why Rhasspy? + Whitepaper * Community Discourse Web Interface Rhasspy comes with a snazzy web interface that lets you configure, program, and test your voice assistant remotely from your web browser. All of the web UI's functionality is exposed in a comprehensive HTTP API. Test page in web interface Getting Started Ready to try Rhasspy? Follow the steps below or check out the Getting Started Guide. 1. Make sure you have the necessary hardware 2. Choose an installation method 3. Access the web interface to download a profile 4. Author your custom voice commands and train Rhasspy 5. Connect Rhasspy to other software like Home Assistant or a Node-RED flow by: + Sending and receiving Hermes MQTT messages + Using Rhasspy's HTTP API + Connecting a Websocket to one of Rhasspy's websocket Getting Help If you have problems, please stop by the Rhasspy community site or open a GitHub issue. Supported Languages Rhasspy supports the following languages: * English (en) + Kaldi + Pocketsphinx + DeepSpeech * German (Deutsch, de) + Kaldi + Pocketsphinx + DeepSpeech * Spanish (Espanol, es) + Pocketsphinx + Kaldi + DeepSpeech * French (Francais, fr) + Kaldi + Pocketsphinx + DeepSpeech * Italian (Italiano, it) + Pocketsphinx + Kaldi + DeepSpeech * Dutch (Nederlands, nl) + Kaldi + Pocketsphinx * Russian (Russkii, ru) + Pocketsphinx + Kaldi * Greek (Ellenika, el) + Pocketsphinx * Hindi (Devanagari, hi) + Pocketsphinx * Mandarin (Zhong Wen , zh) + Pocketsphinx * Vietnamese (vi) + Kaldi * Portuguese (Portugues, pt) + Pocketsphinx * Swedish (sv) + Kaldi * Catalan (ca) + Pocketsphinx * Czech (cs) + Kaldi * Polish (pl) + DeepSpeech Services As of version 2.5, Rhasspy is composed of independent services that coordinate over MQTT using a superset of the Hermes protocol. Rhasspy services You can easily extend or replace functionality in Rhasspy by using the appropriate messages. Many of these messages can be also sent and received over the HTTP API and the Websocket API. Intended Audience Rhasspy is intended for savvy amateurs or advanced users that want to have a private voice interface to their chosen home automation software. There are many other voice assistants, but none (to my knowledge) that: 1. Can function completely disconnected from the Internet 2. Are entirely free/open source with a permissive license 3. Work well with freely available home automation software If you feel comfortable sending your voice commands through the Internet for someone else to process, or are not comfortable customizing software to handle intents, I recommend taking a look at Mycroft. Contributing Community contributions are welcomed! There are many different ways to contribute, both as a developer and a non-developer. Open source --------------------------------------------------------------------- Development Status The various repositories also have their own issue tracker to follow and discuss development of these specific components. Here's the status of all repositories: Repository Tests Open issues Open pull requests rhasspy Tests Open issues Open pull requests rhasspy-asr Tests Open issues Open pull requests rhasspy-asr-deepspeech Tests Open issues Open pull requests rhasspy-asr-deepspeech-hermes Tests Open issues Open pull requests rhasspy-asr-kaldi Tests Open issues Open pull requests rhasspy-asr-kaldi-hermes Tests Open issues Open pull requests rhasspy-asr-pocketsphinx Tests Open issues Open pull requests rhasspy-asr-pocketsphinx-hermes Tests Open issues Open pull requests rhasspy-client Tests Open issues Open pull requests rhasspy-dialogue-hermes Tests Open issues Open pull requests rhasspy-fuzzywuzzy Tests Open issues Open pull requests rhasspy-fuzzywuzzy-hermes Tests Open issues Open pull requests rhasspy-hermes Tests Open issues Open pull requests rhasspy-hermes-app Tests Open issues Open pull requests rhasspy-homeassistant-hermes Tests Open issues Open pull requests rhasspy-microphone-cli-hermes Tests Open issues Open pull requests rhasspy-microphone-pyaudio-hermes Tests Open issues Open pull requests rhasspy-nlu Tests Open issues Open pull requests rhasspy-nlu-hermes Tests Open issues Open pull requests rhasspy-profile Tests Open issues Open pull requests rhasspy-python-template Tests Open issues Open pull requests rhasspy-rasa-nlu-hermes Tests Open issues Open pull requests rhasspy-remote-http-hermes Tests Open issues Open pull requests rhasspy-server-hermes Tests Open issues Open pull requests rhasspy-silence Tests Open issues Open pull requests rhasspy-snips-nlu Tests Open issues Open pull requests rhasspy-snips-nlu-hermes Tests Open issues Open pull requests rhasspy-speakers-cli-hermes Tests Open issues Open pull requests rhasspy-supervisor Tests Open issues Open pull requests rhasspy-tag-action Tests Open issues Open pull requests rhasspy-tts-cli-hermes Tests Open issues Open pull requests rhasspy-update-repo-action Tests Open issues Open pull requests rhasspy-wake-pocketsphinx-hermes Tests Open issues Open pull requests rhasspy-wake-porcupine-hermes Tests Open issues Open pull requests rhasspy-wake-precise-hermes Tests Open issues Open pull requests rhasspy-wake-raven Tests Open issues Open pull requests rhasspy-wake-raven-hermes Tests Open issues Open pull requests rhasspy-wake-snowboy-hermes Tests Open issues Open pull requests About Offline private voice assistant for many human languages community.rhasspy.org/ Topics privacy node-red voice-commands speech-recognition home-assistant voice-assistants Resources Readme License MIT license Stars 1.5k stars Watchers 38 watching Forks 129 forks Releases 9 v2.5.11 Latest Aug 8, 2021 + 8 releases Packages 0 No packages published Contributors 26 * @synesthesiam * @koenvervloesem * @maxbachmann * @Romkabouter * @balloob * @adamaze * @Kamilcuk * @coduinix * @WPettersson * @ChrisB85 + 15 contributors Languages * Shell 55.5% * M4 22.0% * Makefile 9.9% * Dockerfile 6.5% * Python 6.1% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.