Coder Social home page Coder Social logo

desktopassistant's Introduction

Desktop Assistant

Siri like desktop assistant written in Python which uses google's speech-to-text library to process voice input.

  • Install the dependencies in a virtual environment (using conda or virtualenv) to avoid any issues. Use either pip2 or pip3 for python2 and python3 respectively.

If you are a linux user install the say command using

sudo apt-get install gnustep-gui-runtime
pip2 install -r requirements.txt
pip3 install -r requirements.txt
  • Usage
python desktopAssistant.py

Supported commands :

  • Open reddit subreddit : Opens the subreddit in default browser.
  • Open website xyz.com : self-explanatory
  • Send email/email : Follow up questions such as recipient name, content will be asked in order.
  • Tell a joke/another joke : Says a random dad joke.
  • Current weather in {cityname} : Tells you the current condition and temperture
  • weather forecast in {cityname} : Tells you the condition, highest and lowest temperture of the next two days
  • What's up

desktopassistant's People

Contributors

arpan45 avatar atulkmr avatar dependabot[bot] avatar jg-fisher avatar jgfish avatar neyerdav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

desktopassistant's Issues

Please be more specific

  1. Provide the requirements file, dependencies. For eg. this page says that I need to have PyAudio in order for the microphone to work, this was never mentioned.
  2. Instructions on how to run the program.
  3. Comments about functions should rather be mentioned as docstrings for accessibility reasons.

Exit script?

I thought it may be important to end the script. Here is my way. Is this a good way?

> import sys

> elif 'exit program' in command:
>         talkToMe('Goodbye, I am shutting down.')
>         sys.exit()

"OK Jarvis" initial command

I understand that this assistant is always listening on the background.

I think an initial signal would be useful to the script doesnt take a user's conversation with another person as a command to execute, unless an initial phrase is spoken first, just like the famous "OK Google".

Name is not defined

When I try to run it, it gives the error "line 24, in my command
command = r.recognize_google(audio)
NameError: name 'audio' is not defined"

No sound

So everything works great but I have no sound and I'm not sure where to start any help would be great

can't speak

'say' is not recognized as an internal or external command,
operable program or batch file.

Spanish support

I suppose that this doesn't work in spanish "out-of-the-box", right?
How would one adjust the script for it to function with another language?

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.