It's a simple virtual assistant for Linux (Ubuntu). You can start applications or ask the current time with voice instruction. I just made for fun.
Application uses Google Speech Recognition API free version. Supported language is only Hungarian.
Supported instructions:
- 'fájl' - open file browser (nautilus)
- 'level' or 'levél' - open email client (thunderbird)
- 'terminál' - open terminal(gnome-terminal)
- 'zene' or 'zené' - open spotify
- 'óra' or 'pontos idő' - say the current time (hours, minutes)
- 'keress rá' and after only 'keywords' - open chrome and start searching for keywords
- 'pihenj' - switch off virtual assistant
Always start instructions with 'ubuntu'. This activates the virtual assistant. Then continue with the instruction.
e.g.: 'Hé ubuntu, nyisd meg a terminált!' e.g.: 'Hé ubuntu, zenét akarok hallgatni!' e.g.: 'Ubuntu, mennyi a pontos idő?' e.g.: 'Ubuntu keress rá eger budapest buszmenetrend'- Clone the repo:
git clone https://github.com/tothgeza/VirtualAssistant.git
- Move to project folder:
cd VirtualAssistant
- Install virtual environment:
virtualenv -p python3 venv
- Start virtual environment:
source venv/bin/activate
- Install packages:
pip install -r requirements.txt
- Run application:
python3 main.py