Jarvis is a Python-based AI Assistant that can perform various tasks, such as searching Wikipedia, playing music, opening websites, sending emails, providing weather updates, and more. The AI Assistant uses speech recognition and text-to-speech technology to interact with the user.
- Greet the user based on the time of the day (Good Morning/Afternoon/Evening)
- Change the voice of the AI Assistant
- Search Wikipedia for information
- Play music on YouTube
- Open websites like Google, Gmail, Facebook, WhatsApp, etc.
- Show the history of your last commands
- Open the Control Panel on your system
- Open the File Explorer on your system
- Play music from a specified music directory
- Display the current time
- Open Visual Studio Code application
- Get information about the AI Assistant
- Display the current date
- Display today's date and day
- Display today's day
- Send an email to a specified recipient
- Get information about the AI Assistant
- Play the AI Assistant's favorite song
- Open Turbo C application
- Schedule a WhatsApp message to be sent later
- Close the music player
- Close the File Explorer
- Close the Google Chrome browser
- Schedule the computer to shut down after a specified time
- Cancel the scheduled shutdown
Here are the commands you can use with the Jarvis AI Assistant:
- Wikipedia : Search Wikipedia for information on the given query.
- Change voice: Change the voice of the AI Assistant.
- Quit or Exit: Exit the AI Assistant.
- Play : Play the specified song on YouTube.
- Open Google: Open the Google homepage in the default web browser.
- Open Gmail: Open Gmail in the default web browser.
- Open Facebook: Open Facebook in the default web browser.
- Open WhatsApp: Open WhatsApp Web in the default web browser.
- Show my last: Show the history of your last commands.
- Open Control Panel: Open the Control Panel on your system.
- Open File: Open the File Explorer on your system.
- Music or Gana: Play music from a specified music directory.
- Time: Display the current time.
- Open Visual Studio or Open VS Code: Open Visual Studio Code application.
- About: Get information about the AI Assistant.
- Date: Display the current date.
- Today: Display today's date and day.
- Day: Display today's day.
- Send Email: Send an email to a specified recipient.
- Who are you or Your name: Get information about the AI Assistant.
- Favourite song: Play the AI Assistant's favorite song.
- Open Turbo C: Open Turbo C application.
- WhatsApp: Schedule a WhatsApp message to be sent later.
- Close music: Close the music player.
- Close file: Close the File Explorer.
- Close Chrome: Close the Google Chrome browser.
- Turn off PC: Schedule the computer to shut down after a specified time.
- Cancel: Cancel the scheduled shutdown.
You can interact with the AI Assistant using voice commands, and it will perform the corresponding actions based on your requests.
- Python 3.x
- Required Python libraries: pyttsx3, speech_recognition, wikipedia, webbrowser, os, smtplib, pywhatkit, selenium, time, requests
- Clone this repository to your local machine.
- Install the required Python libraries mentioned in the Prerequisites section.
- Download the Chrome WebDriver from here and place it in the
C:\\Users\\diwakar singh\\Downloads
folder.
-
Run the
jarvis.py
script using the following command:python jarvis.py
-
Once the script starts, Jarvis will greet you and listen for your commands.
-
Speak clearly and distinctly to give your commands.
-
Jarvis will perform the specified actions based on your commands.
Contributions to this project are welcome. If you find any issues or want to add new features, feel free to open a pull request.