master
gamarjoba
A Pebble Alloy project — embedded JavaScript on the watch, powered by Moddable XS, alongside C.
Building & running
pebble build # build for all targetPlatforms
pebble install --emulator emery # install on the emery emulator
pebble install --phone <ip> # install to a paired phone
Target platforms
Alloy targets the modern Pebble hardware: emery (Pebble Time 2) and gabbro (Pebble Round 2). Other platforms are currently not supported.
Project layout
src/c/mdbl.c C glue around the Moddable runtime
src/embeddedjs/main.js JavaScript that runs on the watch
src/embeddedjs/manifest.json Moddable manifest
src/pkjs/index.js PebbleKit JS (phone-side) code
package.json Project metadata (UUID, platforms, resources)
wscript Build rules — usually no need to edit
Documentation
Full SDK docs and tutorials: https://developer.repebble.com
Description
Languages
Python
64.4%
JavaScript
30.2%
C
5.4%