Giter Club home page Giter Club logo

virtual-assistant's Introduction

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.

virtual-assistant's People

Contributors

spignelon avatar kawaeee avatar vibhoooo avatar aayushtcp avatar akadeepesh avatar issac5693 avatar sagamantus avatar uniocto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.