No description
  • TypeScript 75.5%
  • Python 11.1%
  • JavaScript 9.1%
  • C 2.4%
  • Just 1.9%
Find a file
2026-10-22 17:17:18 -06:00
src fix: start to setup date as a complication 2026-10-22 17:17:18 -06:00
test fix: start to setup date as a complication 2026-10-22 17:17:18 -06:00
.gitignore feat: create simple monospace TUI watchface 2026-10-16 12:39:00 -06:00
eslint.config.ts fix: start to setup date as a complication 2026-10-22 17:17:18 -06:00
jest.config.mjs feat(test): setup jest on the codebase 2026-10-20 18:58:06 -06:00
Justfile fix: start to setup date as a complication 2026-10-22 17:17:18 -06:00
package-lock.json fix: start to setup date as a complication 2026-10-22 17:17:18 -06:00
package.json fix: start to setup date as a complication 2026-10-22 17:17:18 -06:00
README.md feat: create simple monospace TUI watchface 2026-10-16 12:39:00 -06:00
tsconfig.json feat(test): setup jest on the codebase 2026-10-20 18:58:06 -06:00
wscript feat: create simple monospace TUI watchface 2026-10-16 12:39:00 -06:00

tui-watchface

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