Go to file
2026-05-10 22:48:16 -04:00
.claude start of testing and adding all display support 2026-05-10 22:48:16 -04:00
resources/images Working Golf Score 2026-05-10 21:18:21 -04:00
src/c start of testing and adding all display support 2026-05-10 22:48:16 -04:00
tests start of testing and adding all display support 2026-05-10 22:48:16 -04:00
.gitignore Working Golf Score 2026-05-10 21:18:21 -04:00
LICENSE Working Golf Score 2026-05-10 21:18:21 -04:00
package.json Working Golf Score 2026-05-10 21:18:21 -04:00
README.md start of testing and adding all display support 2026-05-10 22:48:16 -04:00
score_screenshot.png start of testing and adding all display support 2026-05-10 22:48:16 -04:00
settings.png start of testing and adding all display support 2026-05-10 22:48:16 -04:00
SPEC.md Working Golf Score 2026-05-10 21:18:21 -04:00
wscript Working Golf Score 2026-05-10 21:18:21 -04:00

golf_score

A Pebble watchapp/watchface written in C using the Pebble SDK.

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

targetPlatforms in package.json controls which watches you build for. The modern Pebble hardware is emery (Pebble Time 2), gabbro (Pebble Round 2), and flint (Pebble 2 Duo); the original Pebble platforms (aplite, basalt, chalk, diorite) are included by default for backwards compatibility.

Project layout

src/c/           C source for the watchapp
src/pkjs/        PebbleKit JS (phone-side) source, if any
worker_src/c/    Background worker source, if any
resources/       Images, fonts, and other bundled resources
package.json     Project metadata (UUID, platforms, resources, message keys)
wscript          Build rules — usually no need to edit

By default this project is configured as a watchapp. To make it a watchface, set pebble.watchapp.watchface to true in package.json.

Documentation

Full SDK docs, tutorials, and API reference: https://developer.repebble.com