Thanks for sharing, didn't know this implementation.
Seems like they use a fork of https://github.com/adafruit/Adafruit_WebSerial_ESPTool/ which was the first implementation of this as far as I know.
19 karma · joined June 1, 2021
Wrapping functionality with the right security is key, but I browsers in general is already doing a good job in that regard IMO.
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.