gpio_viewer icon indicating copy to clipboard operation
gpio_viewer copied to clipboard

Is it possible to host the code locally?

Open happytm opened this issue 1 year ago • 7 comments

Thank you for sharing this great project.

Is it possible to host all web files locally on ESP32 itself instead of Github so it does not require internet connection?

Thanks.

happytm avatar Jan 06 '24 00:01 happytm

Yes it could be possible, you need a web server setup locally on the same network as the ESP32 to serve the assets of the web application. However, currently the URL to get the assets are hardcoded in the library. I will consider it for a future release as well as instructions on how to do it. I need to do some testing to see how it could work out.

thelastoutpostworkshop avatar Jan 06 '24 00:01 thelastoutpostworkshop

However, serving the assets from the ESP32 itself is not possible, the assets are too large, right now they are at 26MB.

thelastoutpostworkshop avatar Jan 06 '24 00:01 thelastoutpostworkshop

OK. understood. Thanks.

happytm avatar Jan 06 '24 00:01 happytm

I would like to see a compile-time option to select the board resources and host the (lower-resolution?) resources for that particular device inside the ESP32 filesystem.

wulph111 avatar May 07 '24 20:05 wulph111