Pogo is a Python-based personal virtual assistant that allows you to control your computer using voice commands. It is designed to assist you with various tasks using natural language interactions.
Pogo is an intelligent virtual assistant programmed to understand and execute a variety of commands to help you with daily tasks. It utilizes speech recognition and text-to-speech synthesis to interact with users. Whether you want to open applications, check the weather, listen to the news, play music, or search the web, Pogo is here to assist you!
- Wake Word: Listens for the wake word "Pogo" to activate the assistant.
- Open Notepad: Launches the Notepad application.
- Open Calculator: Opens the Calculator application.
- Open Paint: Launches Microsoft Paint.
- Open File Explorer: Opens the File Explorer.
- Open Google: Opens Google in your default web browser.
- Open Facebook: Opens Facebook in the browser.
- Open YouTube: Opens YouTube in the browser.
- Open LinkedIn: Opens LinkedIn in the browser.
- Open GitHub: Opens GitHub in the browser.
- Open Twitter: Opens Twitter in the browser.
- Open ChatGPT: Opens ChatGPT website for AI.
- Play Music: Plays music by searching for the song in a predefined music library(You can create your own library by editing the musicLibrary.py file).
- News: Fetches and speaks the latest news headlines from various sources.
- Weather in [City]: Retrieves and speaks the current weather for the specified city.
- Search [Query]: Performs a Google search based on the user's query.
- Stop: Stops the assistant and exits.
Watch the demo video of my personal voice assistant:
click here
👇👇👇
-
Clone the repository:
git clone https://github.com/kindo-tk/virtual_assistant.git
-
Navigate to the project directory:
cd .\virtual_assistant\
-
Create a virtual environment:
python -m venv .venv
-
Activate the virtual environment:
.venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Run the assistant:
python main.py
-
Wait for the wake word "Pogo" to activate the assistant.
-
Give voice commands to perform various tasks.
-
To exit give stop as command.
-
API Keys:
- Please use your own API keys for the news and weather APIs. Replace the placeholders in the code with your own API keys to access these services.
-
Speech Recognition:
- Sometimes the assistant may have difficulty recognizing speech accurately. If you encounter recognition issues, try speaking clearly and ensure there is minimal background noise. Additionally, you can adjust the microphone settings for better recognition.
-
I have added an executable file
pogo.exe
that allows you to use the voice assistant directly without any installation process.(your antivirus may show this as a threat, but it is completely safe).
One area for potential improvement is the integration of OpenAI into Pogo. Incorporating OpenAI would enhance Pogo's capabilities, making it a true AI assistant with advanced natural language understanding and more powerful features. However, this is currently limited by the paid nature of the APIs.
Contributions to improve Pogo are welcome! If you have any bug fixes, feature requests, or enhancements, feel free to submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a pull request.
This project is licensed under the MIT License.
For any inquiries or feedback, please contact: