This project is an AI-powered voice assistant that allows you to run commands, open apps, or ask for information—all while interacting with a personality!
Before you get started, make sure you have the following:
mpg123 (for audio playback):
sudo dnf install mpg123
sudo apt update
sudo apt install mpg123
brew install mpg123
Ollama (for natural language processing):
Vosk Language Models (for offline speech recognition):
models/
directory in the project root. Make sure to update const li = new Listener(timeout, model name, activation word);
function in index.ts
.Internet Connection (for Text-to-Speech):
Clone the repository:
git clone git@github.com:omarellahi/vox-ai-assistant.git
cd vox-ai-assistant
Install required dependencies:
Download the Vosk language model and place it in the models/
directory.
To run the voice assistant:
npm build //run this to transpile ts to js
node .
The assistant will wait for your voice commands. You can ask it to run commands, open apps, or give you information.
history.context
file in the root of the project.Enjoy your new AI voice assistant with a personality! As of now it has only been tested on my personal machine with Fedora. So please feel free to open an Issue or create PR for feature or bug fixes. I would appreciate it!