Skip to content

liyander/Personal-Desktop-ai-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tony - Personal Desktop Assistant

This is a Personal Desktop Assistant project built using Python. The assistant can perform various tasks, including voice recognition, text-to-speech responses, opening applications, searching online, performing calculations, answering queries, and more.

Features

Voice Recognition:

Listens for and processes user voice commands using the speech_recognition library.

Text-to-Speech:

Converts text responses to speech using pyttsx3.

Online Searches:

Conducts searches online using webbrowser and fetches information from Wikipedia.

Application Control:

Opens and interacts with various applications installed on your system.

Web Automation:

Performs automated web tasks, including fetching content using requests and parsing HTML using BeautifulSoup.

Geolocation Services:

Finds locations and calculates distances using the geopy library.

System Monitoring:

Provides information on CPU and memory usage with psutil.

Jokes and Entertainment:

Tells jokes using pyjokes.

Automation and Controls:

Automates tasks like keystrokes with pyautogui.

Math and Computation:

Solves mathematical queries using WolframAlpha's API.

Screen Capturing:

Utilizes OpenCV for screen capturing and other tasks.

Prerequisites

Ensure you have Python installed on your system. The recommended version is Python 3.x.

Libraries Used

The project uses the following Python libraries. They can be installed using pip:

Copy code pip install SpeechRecognition pyttsx3 geopy psutil requests beautifulsoup4 wolframalpha pyautogui opencv-python pyjokes

Installation

Clone the repository: Copy code

git clone https://github.com/username/personal-desktop-assistant.git

cd personal-desktop-assistant

Install the required packages:

Copy code pip install -r requirements.txt

Run the assistant:

Copy code python tony.py

Usage

Listening for Commands:

The assistant starts listening for your voice commands once you run the script. Ensure your microphone is properly connected and working.

Example Commands:

"Open Chrome" - Opens the Google Chrome browser. "Search Wikipedia for Python" - Searches for Python on Wikipedia and reads out the summary. "What's the weather?" - Provides weather information if the API key is correctly set. "Tell me a joke" - Tells a random joke. "Calculate 5 plus 3" - Provides the result of the mathematical operation.

Additional Functionalities:

Geolocation Services: Fetches location details and calculates distances. System Information: Retrieves and displays CPU and memory usage data. Web Automation: Automates browser tasks and web scraping.

Customization

Feel free to extend the assistant's capabilities by adding more commands and integrating new libraries or APIs. The listen() and speak() functions provide a foundation for adding new functionalities.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the license terms.

Contribution

Contributions are welcome! Feel free to submit a pull request or open an issue to suggest improvements or report bugs.

About

this is an automated ai voice assistant for desktop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages