I can imagine being able to type something in code like WEBIDE_PROMPT('What's your name?') and having the IDE process that and pop up a window at upload-time.
That'd get really tiring after the 3rd time though :)
The other thing is there's Web Bluetooth (or Web Serial in 'beta' Chrome builds). If you want something custom that asks the user for info at upload time then you could use that, and get something that looks really good.
I actually have a Web Serial+Bluetooth version of the puck.js Web Bluetooth library that makes the whole process much easier. If there's demand for that I can polish it and release it sooner rather than later...
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 can imagine being able to type something in code like
WEBIDE_PROMPT('What's your name?')
and having the IDE process that and pop up a window at upload-time.That'd get really tiring after the 3rd time though :)
The other thing is there's Web Bluetooth (or Web Serial in 'beta' Chrome builds). If you want something custom that asks the user for info at upload time then you could use that, and get something that looks really good.
I actually have a Web Serial+Bluetooth version of the
puck.js
Web Bluetooth library that makes the whole process much easier. If there's demand for that I can polish it and release it sooner rather than later...