Skip to main content
link

The Alloy SDK for Pebble

Moddable is thrilled to be collaborating with Pebble to reimagine the watch developer experience using standard JavaScript.

It feels like my journey with JavaScript hardware is coming full circle. The OG Pebble was my first foray into developing applications for a platform other than the web, which I had only been doing for a year or two at that time anyway. From building watch faces in C with some JS integration code in the mobile app to full JS-driven experiences and early on-device JS runtime support really shaped my perspective on great developer experiences and what’s possible with hardware. It led to some of my first public speaking opportunities at local meetups in Orlando and New York; eventually leading to meeting the Tessel team at an open source collaboration event, where I saw a whole new entrypoint into JS-powered hardware.

From Tessel to participating in TC53, where I got to know the folks from Moddable. After Tessel dissolved, I found myself wanting a similar developer experience for the Moddable SDK and associated tooling: plug an MCU in, run a couple CLI commands, and start pushing code to the device. This led to building xs-dev and pushing the boundaries of my favorite language on devices yet again.

I told Peter Hoddie when I saw the Moddable Four (in 2023) that it reminded me so much of the experience when using the first e-paper Pebble. It's incredible to see that dream become a reality.

All sensors are available through ECMA-419 Sensor APIs. The high-level network APIs use web standards; the low-level networking APIs use ECMA-419 standards.

This is especially exciting, after years of standards work, to see such a beloved devices adopting these APIs. The peak era of Nodebots has come and gone, but there's potential for a revival with a new generation of developers being exposed to using familiar JavaScript patterns running on their wrists.