Pebble watchface Primitives series, entry 02 - The series uses simple shapes to make an artistic, abstract, somewhat cryptic display.
Find a file
2026-09-20 12:51:28 -04:00
docs clean uuid, add screenshots 2026-09-20 01:25:35 -04:00
src fix the digit 5 which was a 2 2026-09-20 12:51:28 -04:00
.gitignore initial commit 2026-09-19 17:34:00 -04:00
package-lock.json clean uuid, add screenshots 2026-09-20 01:25:35 -04:00
package.json clean uuid, add screenshots 2026-09-20 01:25:35 -04:00
README.md initial commit 2026-09-19 17:34:00 -04:00
tsconfig.json clean uuid, add screenshots 2026-09-20 01:25:35 -04:00
wscript initial commit 2026-09-19 17:34:00 -04:00

pebble-primitives-pies

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