thelastoutpostworkshop / gpio_viewer

GPIOViewer Arduino Library to see live GPIO Pins on ESP32 boards
https://youtu.be/JJzRXcQrl3I
MIT License
1.07k stars 110 forks source link

Is it possible to host the code locally? #55

Open happytm opened 10 months ago

happytm commented 10 months ago

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.

thelastoutpostworkshop commented 10 months ago

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 commented 10 months ago

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

happytm commented 10 months ago

OK. understood. Thanks.

wulph111 commented 6 months ago

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.