Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spignelon/virtual-assistant
Speech recognition virtual assistant written in python
https://github.com/spignelon/virtual-assistant
hacktoberfest hacktoberfest-accepted hacktoberfest2022 virtual-assistant
Last synced: about 2 months ago
JSON representation
Speech recognition virtual assistant written in python
- Host: GitHub
- URL: https://github.com/spignelon/virtual-assistant
- Owner: spignelon
- License: mit
- Created: 2022-09-04T18:23:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-24T09:48:02.000Z (about 1 year ago)
- Last Synced: 2023-10-24T10:36:23.430Z (about 1 year ago)
- Topics: hacktoberfest, hacktoberfest-accepted, hacktoberfest2022, virtual-assistant
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 2
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Virtual-assistant
A simple virtual assistant written in python---
## Setup:
### Cloning the repo:
```
git clone https://github.com/spignelon/virtual-assistant.git
cd virtual-assistant
```
### Setting up the environment:
```
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
## Usage:
```python main.py```## You can say:
* "what is your name"
* "what time is it" to know the current time
* "search" and then after it say whatever you want to google
* "youtube" to search anything on youtube
* "wikipedia" to show results from wikipedia
* "find location" and then the location you want it to show you
* "toss a coin" to flip a coin for head and tail
* "tell a joke" for one liner jokes
* "shutdown" it will confirm once and shutdown the system
* "brightness" to increase/decrease brightness of your desktop
* "volume" to inc/dec current volume
* "exit" to exit## Libraries/Modules used for this project
* os - operating system module - to establish the interaction between the user and the operating system
* random - used to generate random numbers
* time - used to represent time in code, such as objects, numbers, and strings. It also provides functionality other than representing time, like waiting during code execution
* webbrowser - for google search
* gtts import gTTS - google text to speech...to convert the text to speech
* playsound - to play audio files
* pyjokes - Provides one line jokes
* speech_recognition - for speech to text
* wikipedia - allows us to search a query supplied as an argument using the search() method
* screen_brightness_control - to control screen brightness
* alsaaudio - This package contains wrappers for accessing the ALSA API from Python. It is fairly complete for PCM devices and Mixer access.