Skyla is a Voice Recognition automation assistant | Script Handler that runs on #node.js using #puppeteer.
The challenge which made this project interesting was that we weren't allowed to create a server, So I had to manage a few workarounds that I never thought even existed So that I could run backend script through client-side Dom-manipulation or Js.
I have tried to write it in a way such that you can write your own Puppeteer scripts and voice commands to expand the capabilities of Skyla
Skyla uses puppeteer-extra and its plugin puppeteer-extra-plugin-stealth To Install these Dependencies us this.
npm install puppeteer puppeteer-extra puppeteer-extra-plugin-stealth
Download a zip or clone in your working directory.
- Download and Install Latest Version of Node JS
- git clone https://github.com/shivam534d/Skyla
- npm install
// Add these variables according to your machine.
// Location to chrome Installation
const chromeExeFilePath = 'CHROME_EXE_FILEPATH';
//'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'
// Set your Starting Point to get directions from home to destination.
const homeLocation = 'HOME_LOCATION_STRING';
module.exports = {
id: 'emailt@gmail.com', // Replace with test google account credentials
pass: 'password', // Replace with test google account credentials
};
node runMe.js
As of now Skyla has a few built in puppeteer scripts and can be executed by saying
To Do | Say |
---|---|
Crypto Trades | How is Crypto doing today |
Weather | How's the Weather Outside |
Covid Cases | Show Covid cases in Delhi or Maharashtra |
Ask Google | Search for Dynamic Behavior |
Ask Questions | How many died in world war 1 |
Play Songs and Videos | Play Watermelon Sugar |
Get Directions on your phone | Get Directions to Manali or Get Directions to Manali and Send it to my phone |
Take Google Keep Notes | Take a note shop some maggie tomorrow with title Shopping List |
Search for notes in your Google Keep | Search in my note for Shopping List |