I just got the Web IDE working with node-webkit (now nw.js) - which means that soon it'll be available as a native (downloadable) app on Windows/Mac/Linux!
I don't have any packaged versions yet (all I have is x64 Linux, which I bet won't be helpful for many of you!) - unfortunately as it needs the platform-specific node-serialport library I have to work out how to include a build of that for each platform in the package (I wonder if anyone can help here?).
Make sure the EspruinoTools submodule was in there (afaik it should be)
Install the serialport module with npm install serialport - it turns out there's a bit more to it (see extras/create_nodewebkit.sh for the magic commands)
Run extras/create_nodewebkit.sh
And you now have a node-webkit package that you can run with nw extras/espruino.nw - and it should work just like the normal Web IDE - except hopefully with a working serial port :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just got the Web IDE working with node-webkit (now nw.js) - which means that soon it'll be available as a native (downloadable) app on Windows/Mac/Linux!
I don't have any packaged versions yet (all I have is x64 Linux, which I bet won't be helpful for many of you!) - unfortunately as it needs the platform-specific
node-serialport
library I have to work out how to include a build of that for each platform in the package (I wonder if anyone can help here?).For now, to make your own package you need to:
sudo npm install -g nw
npm install serialport
- it turns out there's a bit more to it (seeextras/create_nodewebkit.sh
for the magic commands)extras/create_nodewebkit.sh
And you now have a node-webkit package that you can run with
nw extras/espruino.nw
- and it should work just like the normal Web IDE - except hopefully with a working serial port :)