Skip to content

Latest commit

 

History

History
149 lines (112 loc) · 9.96 KB

README.md

File metadata and controls

149 lines (112 loc) · 9.96 KB

JARVIS

BolisettySujith BolisettySujith

BolisettySujith Contrinutors License

Introduction 👨‍💻

It is a voice assistant which can be used to interact with your computer and also you have been seeing it in Iron man movies, but this JARVIS is not that much advanced as shown in movies.

Built with: PythonPython

  • Demo video for JARVIS is available here

Cool functionalities of JARVIS 😎 :)

I have wrote code which you can use JARVIS in the following ways :

  • It can tell count of Covid-19 cases for each state in India

  • It can do Screen Recording with voice recording stuff.

  • It can also do voice recording

  • It can access your mobile camera

  • It can access your web camera

  • It can find the location of a phone number

    Unfortunately there is no such thing as magic, and neither we, nor anyone else, have the ability to derive a phone’s location from an input string.

    Here is what is actually happening:

    The phone number is entered and a library is used to turn the country calling code into the name of the country. For example numbers starting with +91 becomes India, +880 is Bangladesh, +34 is Spain, etc.

    The country name is then sent to our geocoding API as a forward geocoding request (placename to coordinates). We then return the coordinates of the center of the country. For example we turn India into 22.3511148, 78.6677428, roughly in the middle of Uttar Pradesh.

    People get confused and angry as to why the coordinates are not actually where the phone is physically located.

    Reference: We can NOT convert a phone number into a location. Sorry.

  • It can read pdf's

  • It can work as a telephone dictionary(Add contacts, search contacts)

  • It can generate qr codes for Links/anyText.

  • It can check/find your Internet speed

  • It can tell your IP address

  • It can tell the latest news

  • It can check the system condition

  • It can send gmails

  • It can send whatsapp messages to Individual & group chats

  • It can play youtube songs

  • It can download youtube songs

  • It can download instagram profiles

  • It can find/tell your current location where ever you are

  • It can take screenshots with a custom filename

  • It can tell current time

  • It can tell current day

  • It can tell random progrmamming jokes

  • It can also tell your schedule for each day

  • It can be silent for a certain number of time if we mention how much time we want it to be silent

  • It can search in wikipedia and tell about it in 5 lines

  • It can tell procedure/instructions how to make something(Eg:How to make a cake)

  • It can search for information in browser which we want

  • It can control system volumes

  • It can control system power activities(Eg: shutdown, restart, sleep)

  • It can play music file in a particular directory where the songs are present

  • It can open your social media and open-source accounts

  • It can open your college meeting accounts

  • It can open your OTT platforms accounts

  • It can open your all google apps

  • It can open presentation tools like canva, google slide

  • It can open shopping websites

  • It can open all the URL links

  • It can open/close all the pc applications(NOTE: give correct path based on your OS)

  • It can sleep until you say wake up

  • Finally It can interact with you and you can also add more commands if you want😎

NOTE: Before running the code you must make sure you have all the modules installed in your python version(NOTE: python version can be >=3.6).

These are the following modules used in JARVIS📚 :

SpeechRecognisation | PyAudio | pyttsx3 | pywhatkit | datetime | wikipedia | pyjokes | cv2 | cv2 tools | requests | smtplib | psutil | random | instaloader | PyAutoGUI | PyPDF2 | bs4 | PyQt5 | pywikihow | speed test | pytube | numpy | urllib | covid | phonenumbers | folium | opencage | pillow | Pywave | win32api | mscvrt

API keys 🔑

To run this project you should need some API key's for reading news, for finding phone number location. Register for your API key by clicking the following

Note : supported OS : Windows, working on the making the JARVIS for Linux, but it many take some time.

Installation 💻

  • You need to first fork this repository and clone the repository to your local system

    $ git clone https://github.com/<your-github-username>/J.A.R.V.I.S.git
    
  • Make sure to install all the required python modules mentioned above or you can simply install them by

    $ pip install -r requirements.txt
    

    Note: For any errors while installing the python modules refer ERRORS.md because I got some errors while installing and using them.

  • Add the correct system paths in JARVIS.py to open the system applications

  • Add your gmail id and password to send emails(line:797,798)

  • Make sure you have registerd in NewsAPI and replace the apiKey=YOUR_NEWS_API_KEY with your API key(Line: 852) and in Open cage and replace the API_key = "_OPEN_CAGE_GEOCODE_API_KEY_" with your API key(PhoneNumber.py(lineNo: 13))

  • For using mobile camera you need to first install an app in mobile called IP Webcam after installing go to START SERVER it will open your mobile camara at the bottom of the screen you can see IPv4 there you can find the IP address and replace _IP_Webcam_IP_address_ with the IP address in JARVIS.py MobileCamera function(line: 332)

  • Add the correct system paths to gifs or for background images in JarvisUi.py and JARVIS.py. If you got any elements missing(RED SCREEN) refer ERRORS.md file.

  • Finally to launch Jarvis, use the following commands:

    GUI Version of Jarvis

    $ python Jarvis.py
    

    Terminal Version of Jarvis

    $ python JarvisWithoutGUI.py
    

That's it #Enjoy speaking with your computer friend 😁

Demo video for JARVIS is available here

FINAL GUI of JARVIS😎

JARVIS

Note: For any errors while installing the python modules refer ERRORS.md because I got some errors while installing and using them.

Motivation for this project🙃

Due to covid19 in my house I'm in a seperate room, without talking with anyone, so thought to talk with my laptop which I will use everyday, and came up with this project.

How to Contribute 🤔

To contribute to this project please read the CONTRITUTING.md file.

Want to run JARVIS as an Application?

Read this, to convert a .py file to .exe file.

Future plans😇

In the present JARVIS GUI we cannot see the commands running but they are visible on the terminal, so plan to bring up the commands to display on the GUI.

If you like the repository FORK && clone 🍴 the repository, start using JARVIS, and don't forget to the repository.