A simple and customizable voice assistant written in Python. Supports adding new commands via a configuration file and works entirely offline. Currently supports only Russian language voice input. Multilingual support is planned for the future.
- Clone or download this repository.
- Make sure you have Python 3.10+ installed.
- Install all dependencies by running:
- On Windows:
install.bat
- On linux/macOS:
install.sh
-
Launch the assistant:
python main.py -
Wakeword is: Ассистент You can change it in the env.py file
All voice commands are configured in the commands.yaml file. Each command includes an action, voice confirmation sounds, and a list of trigger phrases.
- command:
action: ahk # Indicates the use of AutoHotkey
exe_path: ahk/screenshot.exe # Path to the AHK executable
exe_args: # Optional arguments if needed
voice:
sounds:
- jarvis-og/ok1.wav
- jarvis-og/ok2.wav
- jarvis-og/ok3.wav
- jarvis-og/ok4.wav
phrases:
- Снимок экрана # trigger phrases
- Сними экран
- сделай скриншот
- command:
action: url # Indicates this command opens a URL
url_path: https://www.youtube.com/ # Url of website
voice:
sounds:
- jarvis-og/ok1.wav
- jarvis-og/ok2.wav
- jarvis-og/ok3.wav
- jarvis-og/ok4.wav
phrases:
- открой ютуб
- ютуб
- ютубчик
This project is licensed under the MIT License.
-
Use the code for personal or commercial projects
-
Modify it as you see fit
-
Distribute your own versions
-
Any modifications or forks are not affiliated with or endorsed by the original author. (Renamekk)
-
The original author bears no responsibility for any issues caused by modified versions.