This pebble watchface will check against an eating window you define and tell you if you can currently eat during your intermittant fast.
Find a file
2026-07-24 11:59:05 +01:00
src Fix settings not being applied (Still waits until next draw) 2026-07-24 11:59:05 +01:00
.gitignore Initial commit 2026-06-25 11:54:24 +01:00
package-lock.json Merged official boilerplates to get working settings 2026-06-25 12:45:16 +01:00
package.json Renamed fasting window to eating window as to make more sense 2026-06-25 15:35:05 +01:00
README.md Gave the readme the goals of the project 2026-06-25 15:30:23 +01:00
wscript Initial commit 2026-06-25 11:54:24 +01:00

Eat or Don't Eat

A Pebble watchapp/watchface written in C using the Pebble SDK. This watch aims to allow users to enter an eating window for an intermittant fast in the settings of the watchface and have the watch tell them if they're allowed to eat at the current moment. Everything beyond that is just me making it a watchface I personally want to use.

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