My first pebble smart watch app
- Python 67.5%
- JavaScript 26.9%
- C 5.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| wscript | ||
fuzzy-dutch
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