Is there currently a way to use a local IDE (i.e. Atom) and then test on a Bangle? At the moment I've just been copying and pasting but I'm afraid of the growing code base. Any help would be much appreciated! 😁
Hi, yes - the easiest method right now is to use apploader.js from the BangleApps repo: https://github.com/espruino/BangleApps/blob/master/bin/apploader.js
So clone it, create your app, and do node apploader.js install appname - although this may only work easily on MacOS & Linux due to how noble work on windows.
node apploader.js install appname
There's also the Espruino CLI but that doesn't handle writing apps to storage very well: https://www.npmjs.com/package/espruino
Thank you! I will give it a go.
I was unaware of apploader.js! Doesn't look like it'll work on my windows laptop though, due to the aforementioned issues with noble.
On Windows I've just been hosting the web interface locally. I run npm start, open localhost:8080, and then remove/reinstall the app I'm working on as needed.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem