Skip to content
JavaScript VUI Framework πŸ‘½πŸš€
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github template: GitHub templates Nov 13, 2018
apps custom-config : fix wakeup effect config (#654) May 14, 2019
etc apps: remove log switch from framework (#645) Apr 18, 2019
include include, build: fix compile error of wrong parameter type (#406) Jan 28, 2019
packages loader: overridable component (#218) May 16, 2019
res custodian: add reconfig prompt media file (#487) Feb 21, 2019
runtime lifetime: add option `allowCut` to disable cut app when monopolized. (#… May 16, 2019
test loader: overridable component (#218) May 16, 2019
types runtime: hibernate device on sleep command (#65) Dec 5, 2018
.clang-format packages: tweak header order to fix compile failures Aug 23, 2018
.editorconfig test: re life cycles Sep 3, 2018
.gitattributes chore: treat all *.ogg files as binary (#448) Feb 12, 2019
.travis.yml build: enable local test sets on travis (#622) Apr 9, 2019
CMakeLists.txt @yodaos/application: in app process state storage (#410) Jan 29, 2019
CODEOWNERS meta: code owners (#430) Jan 30, 2019 meta: normalize license (#118) Dec 18, 2018 add for jenkins ci Sep 10, 2018
codecov.yml meta: add badges for ci and codecov (#74) Dec 6, 2018
package.json build: enable local test sets on travis (#622) Apr 9, 2019


Build Status codecov License

YODAOS runtime is the JavaScript layer in YODAOS. It provides the main functionalities includes:

  • Getting and handling NLP request
  • Playing music and TTS
  • Controling the volume
  • Controling the network state
  • Providing basic SDK for application development

And it is powered by ShadowNode, which provides the basic system API, you could visit API Documentation for details.


To run the unit tests on device, just try:

$ npm test
 123 -_-_-_-_-_-_-_-_-_,------,
 0   -_-_-_-_-_-_-_-_-_|   /\_/\
 0   -_-_-_-_-_-_-_-_-^|__( ^ .^)
     -_-_-_-_-_-_-_-_-  ""  ""

Ensure you have a connected YodaOS device via ADB v1.0.39.

Define your test.json

test.json is the configuration in JSON for your testing jobs. An example is here:

  "cloudgw": {
    "deviceId": "your device id",
    "deviceTypeId": "your device type id",
    "key": "your rokid cloud key",
    "secret": "your rokid cloud secret"
  "wifi": {
    "ssid": "your ssid of wifi",
    "psk": "your psk of wifi"

And put this file under the ./test directory.


In development, code changes are in a very frequent fashion and it might be hard to maintain synchronization between local codes and device codes. Try following commands to cope with the situation with ease:

$ npm restart

For more useful development tools, see tools.



You can’t perform that action at this time.