FirefoxOS Virtual Assistant
$ git clone [email protected]:mozilla/vaani.git
$ cd vaani
$ npm install
$ npm run build
Once built you can flash the ./build
directory to your device using WebIDE.
To see the output from the debug
calls open your browser or WebIDE console and execute:
myDebug.enable('*');
Runs the lint and tests.
$ npm test
In dev mode we watch for changes and automatically re-build the app.
$ npm start
Custom Command is a feature to enable 3rd party apps to register their voice commands. Voice commands will be predefined actions in the short term. We may use Action of schema.org as base and extend it as action list. 3rd party apps should use JSON-LD to state which actions they support. Once the actions detected, Vaani calls the apps to handle that.
Learn how to implement custom commands.
Apache License, Version 2.0