• Is it possible to run (ie host) the Web IDE in espruino?

    I wondered if there is something to read as to if done or possible.

  • If you're running Espruino with WiFi then it's possible - but I don't believe it has been done, but it's something I am planning to add to the firmware when I pull the ESP8266 drivers inside Espruino.

    There's quite a bit of code so it'd be better just to serve up an IFrame.

    About the closest is this I think: http://www.espruino.com/WiFi+Remote+Cons­ole

    Because of permissions issues you can't just open a socket connection, but you could use WebSockets (and there is already a WebSocket client in Espruino for the Espruino server code).

    You could even hack something up using the above link and simple HTTP requests.

  • It should be noted that bluetooth can be used to share an internet (ip connectivity) which I have done on for example a bluetooth phone.
    The process is probably not easy but doable for an nRF52 and with flash and ram anything is possible if time is available.
    There are reasons for doing this that have been discussed many times in micro:bit forums in classroom environments where there is a list of problems that are met IRL for teachers who wish an easy environment for play and learn with coding and interfacing to outside components.

    I was lucky in a sponsor for an Android tlf: so I have some more possibilities now to go thru some use cases for a POC

  • It should be noted that bluetooth can be used to share an internet (ip connectivity) which I have done on for example a bluetooth phone.

    That's Bluetooth, not Bluetooth LE

    There is something for Bluetooth LE called 'FatBeacon' - but it would be too slow to transfer everything from the Web IDE.

    If you don't have an internet connection and are trying to teach a class, set up a Raspberry Pi as a web server and serve your own version of the Web IDE off it.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Is it possible to run (ie host) the Web IDE in espruino?

Posted by Avatar for OwenBrotherwood @OwenBrotherwood

Actions