Skip to content

martijnthe/rockyjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Rocky.js

Pebble is developing a framework for building embedded JavaScript watchapps. In April, we shipped a firmware update for our smartwatches that included an embedded JerryScript engine, and a JavaScript implementation of TicToc, our default watchface.

This repository currently contains some of our previous explorations with JavaScript, in which we transpiled our smartwatch firmware to JavaScript, and ran virtual smartwatches in the browser.

We will be updating this repository as we progress towards enabling developers to write embedded JavaScript applications.

Next Steps

We are now in the process of implementing JavaScript APIs for our developers, and creating the tools and resources developers will need to create and test embedded JavaScript applications for Pebble smartwatches.

We are planning to release a preview SDK later this summer, with everything developers will need to create watchfaces written in JavaScript!

APIs

Pebble is designing its JavaScript APIs with the existing JavaScript ecosystem in mind. Wherever possible, standard web APIs will be used - the display will be treated as a canvas, the compass and accelerometer will be queried with the device orientation API, and you'll interact with your PebbleKit JS code by passing messages in a manner similar to web workers.

Learn More

If you're interested in staying up to date with our Rocky.js development efforts, you can subscribe to our JSApps newsletter, and follow @pebbledev (or simply star this repository).

LICENSE

Rocky.js is licensed under the PEBBLE JAVASCRIPT LICENSE AGREEMENT.

About

JS Powered Pebbles in Your Browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.1%
  • CSS 1.1%
  • HTML 0.8%