Based on the Adafruit esptool with some custom mods. https://ed7coyne.github.io/Adafruit_WebSerial_ESPTool/