-
Notifications
You must be signed in to change notification settings - Fork 47
Home
Vignesh edited this page Nov 3, 2020
·
78 revisions
I created a virtual bot to act like Jarvis. With the current state of things, Jarvis can recognize and respond to keywords like,
Jarvis works by automatically detecting the Operating System it is being run, so all you have to do is to run the right installs file in the lib directory.
Jarvis can:
- If anything apart from the below is requested, Jarvis uses google's
Places APIto match the requested phrase and suggest options. If the requested phrase doesn't resolve onPlaces API, it then uses google search engine parser to get results for the phrase. If anything beyond that, Jarvis will launch a google search on your default browser.
- Shutdown your PC
- Put itself on sentry mode and wait to hear back from the user to wake up
- Take notes and saves it to a notes.txt file
- Tell a joke
- Print the list of google home devices in your IP range
- Set up a reminder at a said time and sends a message to your phone at the said time
- Show the list of alarms on screen and deletes the one requested
- Set an alarm with the desired time, AM or PM is mandatory
- Get you the distance between two places or distance from your location to a particular place.
- Create a database named tasks.db for TO-DO
- Add a new item and category as a task in your todo (Also tells if you it is a duplicate)
- Remove existing tasks from DB.
- Get all the items in tasks table.
- Delete the entire database.
- Scan your Music folder for .mp3 and plays them (uses Windows Media Player by default for Windows OS)
- Look for unread emails in your gmail account and speaks the sender and subject line alone.
- Initiate chatter bot (currently doesn't support Windows OS)
- Locate your iPhone and also provides options to ring the phone and enable lost mode.
- Get your current location
- Get the weather information for your location (tracks location using your IP)
- Get the news update from fox news (news source can be changed in the news() function)
- Get your investment details using Robinhood api (Refer notes for setup)
- Get your system hard drive
- Get facts from Wikipedia using wiki api
- Open up the webpage you want in your default browser
- Open any installed app
- Get the current date
- Get the current time
- Speak the current date, time, weather and latest news.
- Repeat what ever it hears.
-
api_key- OpenWeatherMap API key -
news_api- News api key -
user,pass,qr- Robinhood Username (user), Password (pass) and QR (qr) code -
icloud_user,icloud_pass- iCloud credentials. Addrecovery=<RECOVERY_PHONE_NUMBER>if you like to activate theft mode. -
gmail_user,gmail_pass- Gmail credentials. Requires access to less secure apps or app specific access can also be enabled. -
remind- Phone number to which reminders would be sent. -
maps_api- For phrases that do not match existing features.
Please note that these environment variables are required only if you need the mentioned features. If not Jarvis can work with less features.
- To run Jarvis on a Windows OS, make sure
pip3command works in yourcmd - With current state of things, Jarvis lacks chatbot functionality due to version conflicts in requirements.
- If you want Jarvis to speak the weather info, you need an api key from OpenWeatherMap
- If you want Jarvis to speak today's news, you need an api key from News API
- If you want Jarvis to speak your investment details, you need to have a Robinhood account and follow the below steps for authentication purpose.
- Login to your Robinhood Web App.
- Go to Account -> Settings or click me
- Turn on Two-Factor Authentication.
- Select “Authentication App”
- Click “Can’t Scan It?”, and copy the 16-character QR code.
- Jarvis uses a pre-trained model for punctuations. The model file comes from my S3 bucket, which is downloaded automatically when the file is not found.
The API keys can be generated for free once you sign up except for Robinhood, which you know how it works. If not probably you shouldn't be using it.