A Personal Assistant for Linux, MacOS and Windows
Jarvis is a simple personal assistant for Linux, MacOS and Windows which works on the command line. He can talk to you if you enable his voice. He can tell you the weather, he can find restaurants and other places near you. He can do some great stuff for you.
In order to install Jarvis, follow these steps:
- Clone this repository with
git clone https://github.com/sukeesh/Jarvis.git
- Run the command
python installer
(orpython3 installer
if that doesn't work) from the terminal.
Run Jarvis from anywhere by command jarvis
, or ./jarvis
from within the project directory to start up Jarvis!
You can start by typing help
within the Jarvis command line to check what Jarvis can do for you.
Question: When I run Jarvis, it shows an error relating to module not found
Platform: Windows
Solution 1: Uninstall and/or install the module package
Example:
Error: ImportError: DLL load failed while importing win32api: The specified module could not be found.
Solution:
pip uninstall pywin32
pip install pywin32
or conda instapll pywin32
Solution 2: add the package to your environment variables system PATH.
Question: After cloning the repo in terminal it gives an error when running python3 installer saying please install virtual environemnt Solution:
- Install virtual env using this command "python3 -m pip install virtualenv"
- OR: On Linux use package manager (e.g. Ubuntu sudo apt install python3-venv)
- Restart Installer
If you find other issues and/or have found solutions to them on any platform, please consider adding to this list!
Check out our CONTRIBUTING.md to learn how you can contribute!
Create new file custom/hello_world.py
from plugin import plugin
@plugin("helloworld")
def helloworld(jarvis, s):
"""Repeats what you type"""
jarvis.say(s)
Check it out!
./jarvis
Jarvis' sound is by default disabled.
In order to let Jarvis talk out loud type: enable sound
Type 'help' for a list of available actions.
~> Hi, what can I do for you?
helloworld Jarvis is cool!
jarvis is cool
Click here to learn more about plugins.
Creating a test is optional but never a bad idea ;).
Click here to learn more about testing.
Run test.sh
./test.sh
- Any pyttsx3 text-to-speech engine (
sapi5, nsss or espeak
) for Jarvis to talk out loud (e.g. Ubuntu dosudo apt install espeak
) - Portaudio + python-devel packages for voice control
notify-send
on Linux if you want to receive nice and desktop-notification instead of ugly pop up windows (e.g. Ubuntu dosudo apt install libnotify-bin
)ffmpeg
if you wantmusic
to download songs as .mp3 instead of .webm
Run with docker (docker needs to be installed and running):
[sudo] make build_docker
[sudo] make run_docker
sukeesh
See also the list of contributors who have participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.