Show HN: Flash your ESP32 from the browser using JavaScript
github.com
github.com
Consider:
> Show HN: Trick people into flashing their ESP32s with your firmware by visiting your web page
You can try a demo here: https://unjavascripter-web-serial-example.glitch.me/
I ran into this specific API following the great blues wireless tutorial (cell connectivity cards and dev cards with ESP32 support) which only works in Chrome https://dev.blues.io/get-started/quickstart/notecarrier-af/
Much like the container tabs extension, in terms of requiring an addon for certain functionality. Or, if mozilla doesn't do it themselves, a (horrifying though warning) third-party-extension with an external helper application to connect to the serial device, and a API polyfill injected into every page.
Here to show a little library that makes it easier to write custom JavaScript code that flashes ESP32s.
The library uses the new WebSerial API available in Edge and Chrome browsers.
* Works on their x86 models, but depending on the specific application it's slower due to translation. Android apps runs best on ARM models.
- ChromeOS
- Project Fugu
- Microsoft collaboration regarding Chrome and PWA adoption
Edge having better support for new features than firefox.. Truly a brave new world
Wrapping functionality with the right security is key, but I browsers in general is already doing a good job in that regard IMO.
The whole platform looks really interesting.