In this video, I demonstrate how to set up a web server on an ESP32 and serve content from the SPIFFS filesystem. have moved the Upload FS command and made it quite hard to find - see here if you are struggling -

We set up and endpoint so that we can switch an LED on and off. You can add WiFi control to any of your projects.

I show you how to build a simple User Interface using HTML and JavaScript.

And then we serve that UI directly from the ESP32 using files stored in the SPIFFS filesystem. This makes our device completely self-contained.

I also show how you can compress the content to save valuable space.

The GitHub repo with the sample code can be found here:

If you enjoyed this video please subscribe to the atomic14 channel by clicking here: