https://github.com/whitehatboy005/virtual-voice-assistant
It's Python-based virtual assistant capable of performing various tasks using voice commands. It utilizes speech recognition, web scraping, automation, and external APIs to provide a wide range of functionalities.
https://github.com/whitehatboy005/virtual-voice-assistant
calculations gemini-api ironman jarvis-ai keyboard-controls latest-news mouse-controls personal-assistant play-games play-songs python speech-recognition speech-to-text system-control translator voice-assistant voice-recognition weather-forecast webbrowser wishes
Last synced: 2 months ago
JSON representation
It's Python-based virtual assistant capable of performing various tasks using voice commands. It utilizes speech recognition, web scraping, automation, and external APIs to provide a wide range of functionalities.
- Host: GitHub
- URL: https://github.com/whitehatboy005/virtual-voice-assistant
- Owner: whitehatboy005
- License: mit
- Created: 2024-06-01T05:25:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-28T17:03:28.000Z (8 months ago)
- Last Synced: 2025-06-05T03:55:22.192Z (5 months ago)
- Topics: calculations, gemini-api, ironman, jarvis-ai, keyboard-controls, latest-news, mouse-controls, personal-assistant, play-games, play-songs, python, speech-recognition, speech-to-text, system-control, translator, voice-assistant, voice-recognition, weather-forecast, webbrowser, wishes
- Language: Python
- Homepage:
- Size: 127 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🤖 Virtual Voice Assistant (Jarvis)
[](LICENSE.md)It's Python-based virtual voice assistant capable of performing various tasks using voice commands. It utilizes speech recognition, web scraping, automation, and external APIs to provide a wide range of functionalities.
## 🚀 Features
- **Voice Activation**
- Activates upon recognizing a predefined password.
- Greets the user and awaits commands.- **Voice Commands**
- Interprets voice commands for tasks like opening applications, searching the web, playing music, managing files, and more.- **Automation**
- Automates tasks such as sending messages, controlling mouse movements, typing text, and interacting with applications.- **Information Retrieval**
- Fetches weather updates, current temperature, latest news, Wikipedia summaries, IP address, and system information.- **Entertainment**
- Plays music from a predefined directory and streams songs from YouTube.
- Offers interactive games like Stone-Paper-Scissors and Number Guessing Game.- **System Operations**
- Controls system operations like shutdown, restart, and sleep.
- Manages volume controls and monitors battery status.- **Web Interaction**
- Opens websites based on user commands (e.g., Facebook, Instagram profiles).
- Searches Google and retrieves results.- **Utility Functions**
- Takes screenshots, hides/unhides files, calculates mathematical expressions, translates text into different languages.- **User Interaction**
- Responds to user queries, greets, and interacts based on predefined conversation patterns.
- Provides feedback on executed commands and waits for further instructions.## Technologies Used
- **Python**: Core programming language for implementing functionalities.
- **SpeechRecognition**: Converts speech to text for interpreting user commands.
- **pyautogui**: Automates mouse and keyboard actions.
- **BeautifulSoup**: Parses HTML for web scraping.
- **Requests**: Makes HTTP requests to fetch data from web services.
- **psutil**: Retrieves system information such as battery status.
- **pywhatkit**: Interacts with YouTube for music playback.## Usage
To use Jarvis, ensure you have Python installed along with the necessary libraries listed in `requirements.txt`. Run the `jarvis.py` script and follow the voice activation prompt. Speak commands clearly and wait for Jarvis to execute tasks accordingly.
# Model Output

#
## Obtaining API Keys### GEMINI_API_KEY
To obtain the `GEMINI_API_KEY` required for our project:
1. Visit [Google AI Studio](https://aistudio.google.com/app/apikey).
2. Follow the instructions to create a new API key.
3. Copy the API key provided.### NEWS_API_KEY
To obtain the `NEWS_API_KEY` required for our project:
1. Visit [Media Stack](https://mediastack.com/).
2. Sign up or log in to your account.
3. Generate an API key for your project.
4. Copy the API key provided.### WEATHER_API_KEY
To obtain the `WEATHER_API_KEY` required for our project:
1. Visit [OpenWeather](https://openweathermap.org/api).
2. Sign up or log in to your account.
3. Go to API keys section.
4. Copy the API key provided.
#
## ⚙️ Installation
## Clone the Repository
```bash
git clone https://github.com/whitehatboy005/Virtual-Voice-Assistant
cd Virtual-Voice-Assistant
```
## Install Dependencies
```bash
pip install -r requirements.txt
```
## Configure Environment Variables
```bash
notepad config.env
```
## Run the Program
```bash
python jarvis.py
```
#
## 📝 LicenseThis project is licensed under the terms of the [MIT license](LICENSE.md).