lujnan / yoda.js

Application Framework that powered YodaOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YodaRT

Build Status codecov License

YodaOS Application Runtime is the JavaScript layer in YodaOS. It provides the main functionalities includes:

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

It is powered by ShadowNode, which provides the basic system API. See ShadowNode Documentation for details.

Test

To run the unit tests on device, just try:

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

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

Development

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.

License

Apache-2.0

About

Application Framework that powered YodaOS

License:Apache License 2.0


Languages

Language:JavaScript 66.7%Language:C++ 26.9%Language:CMake 2.4%Language:Shell 2.3%Language:C 1.5%Language:Dockerfile 0.1%