Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

yodaos-project/yoda.js

Repository files navigation

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

AltStyle によって変換されたページ (->オリジナル) /