This is the example that is possible to create VSCode like editor on ESP32 based on Monaco editor.
Connecting to WiFi...
Connected to WiFi
IP address: 192.168.0.175
SPIFFS mounted
{"action":"list","files":["/example.ts","/Xtest.ts"]}
Opening file: /Xtest.ts
{"action":"load","content":"console.log(\"Hi there!\");\n"}
- Build firmware and upload them to the ESP32 - use PIO
- Upload
arduino-webserver
->data/
usingpio run -t uploadfs
- Open
html-webserver
->index.html
in browser (or serv them locally -http-server ./
) and connect to the ESP32 (have to be configured WS address -webSocketAddress
)
- server does not serve the editor page page - will be added later (or you can do it and create PR)
html-webserver
that containsMonaco editor
andTS Compiler
is smaller than 4 MB - it will be possible to save them inSPIFFS
on ESP32.