A simple voice-assisted desktop assistant made in Python. The assistant will have basic features supporting daily laptop usage.
- A Python-based desktop assistant configured to automate some of the day-to-day tasks and help save time.
- Voice assistance is used to provide a hands-free interface to the user as the assistant can run in the background while performing day-to-day tasks.
Extras.py
andSupport.py
files are for having additional globally required variables, and query functions handling individual queries respectively.- The
VoiceInterface.py
file contains the VoiceInterface class which handles the abstraction of user voice recognition and assistant speech. - The
Assistant.py
file contains the main code integrating everything together to run the assistant properly.
- Google and Wikipedia searches 🌐
- Run applications or websites from a predefined map/list 🚀
- Tell time of the day in hour : minute : second format ⏰
- Fork or download the project.
- Install the Python dependencies mentioned in the
requirements.txt
file using pip or pip3. - Run the main Python file named
Assistant.py
in the project root folder to run the assistant.
- The project is coded using
Python 3.11.0
, so it would be best to install an equivalent or later version. - The modules required are listed in the requirements.txt file which can be installed as discussed below.
-
Download and extract the zip file or clone the repository using the following command.
git clone https://github.com/vihar-s1/Desktop-Assistant
-
In the project root directory run following commands to create a virtual environment, activate it, and install the python module dependencies.
python -m venv .venv source .venv/Scripts/activate pip install -r requirements.txt
-
Once installed, simply run the
Assistant.py
file to start using the Assistant.python Assistant.py
-
If you want to contribute, follow the contribution guidelines here: Contributing Guidelines
-
Create a virtual environment for contributing to prevent unnecessary packages from being included in the
requirements.txt
file while updating it viaupdateRequirementsFile.sh
python -m venv .venv
source .venv/Scripts/activate
pip install -r requirements.txt
- Make Sure to update the
requirements.txt
file by runningupdateRequirementsFile.sh
in case any additional packages are installed.
bash updateRequirementsFile.sh
- If you encountered an issue or want to report a bug, following is the Bug Report Template you will be asked to follow.
- Any new feature requests will also appreciated if it follows the predefined Feature Request Template.
NOTE: The templates are predefined and integrated in the repository so you can easily go to the Issues Tab and start writing your bug report, or feature request without any problem.
To discuss about the project in depth with the contributors of the project about new features, bug requests, or just suggestions, join the Matrix Space or go to the Discussion Page of the repository.