J.A.R.V.I.S is a simple AI-powered voice assistant that can perform various tasks, including opening websites, playing YouTube songs, fetching news, and answering your questions using an AI model. You can enhance its capabilities by modifying the existing code.
Follow these steps to set up and run J.A.R.V.I.S on your system:
Ensure you have Python installed, then run the following command to install all required dependencies:
pip install -r requirements.txtExecute the following command to start J.A.R.V.I.S:
python main.pyOnce the program is running, say "Jarvis" to wake up the assistant.
J.A.R.V.I.S can open frequently used websites such as:
- YouTube
You can extend this functionality by adding more websites in the processCommand function.
J.A.R.V.I.S can play songs on YouTube. To play a song, use the command:
play "songname"The assistant currently has five predefined songs in the musicLibrary.py file, but you can add more.
J.A.R.V.I.S can read the latest news headlines using the News API. To use this feature, integrate your own NewsAPI key.
J.A.R.V.I.S can answer your questions using an AI model. To enable this, add your own Gemini API key.
- Add More Websites: Modify
processCommandinmain.py. - Expand Music Library: Edit
musicLibrary.pyand add more songs. - Enable News Feature: Add your API key in the news-fetching function.
- Improve AI Model: Replace the existing API key with your own Gemini API key.
Feel free to improve J.A.R.V.I.S by adding new features and optimizing the code. Pull requests are welcome!
This project is open-source and available for personal and educational use.