The flashing piece was a bit above my pay grade at the time. But it will configure the wifi, so you can then connect over telnet directly from the Espruino IDE
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.
That's where I wanted to go with this.
https://github.com/olliephillips/esp-up
The flashing piece was a bit above my pay grade at the time. But it will configure the wifi, so you can then connect over telnet directly from the Espruino IDE