I don't know if is clear to understand, but, the thing is that the esp32 is connected to my WIFI network and if you put the ip address of the esp on the address you get a little super basic HTML webpage that is on the ESP32... i need to know if i can make this page more "beautyful", if i can implement frameworks like boostrap or materialize, like putting a link for the styles or something, a example will be appreciated. can somebody help me?
On my last post it was like sending a http message to a hosted page and i think that doesn't gonna work... thanks anyway.
How can i implement a framework like boostrap in my ESP32 with a http server?...
Re: How can i implement a framework like boostrap in my ESP32 with a http server?...
If I am understanding you correctly, you have an ESP32 that is network connected to your access point and on the ESP32 you are running an HTTP server that responds to browsers using the HTTP protocol and returns HTML that is then rendered on the browser. Your question is "Can I serve up arbitrary web page content from the device?". The answer is a solid yes.
Ask yourself the question ... if this wasn't an ESP32 but was instead a desktop PC that was running an HTTP server, could I achieve this task and how would I go about it? I think you'll find that the answer is yes and you would design your HTML web pages using your HTML editors of choice. You would then make the "files" that comprise the web content known to your web server and they would "just" be served up by the HTTP server.
On a normal ESP32, you have 4MBytes of flash memory available to you into which you can store your data. If we loosely assume that 1 MByte is allocated to your app binary, then you have about 3 left for storage. This is an upper bound constraint on the size of your data you can serve. If you need more than this, you can attach a microSD card via circuitry and go much further (GBytes).
Ask yourself the question ... if this wasn't an ESP32 but was instead a desktop PC that was running an HTTP server, could I achieve this task and how would I go about it? I think you'll find that the answer is yes and you would design your HTML web pages using your HTML editors of choice. You would then make the "files" that comprise the web content known to your web server and they would "just" be served up by the HTTP server.
On a normal ESP32, you have 4MBytes of flash memory available to you into which you can store your data. If we loosely assume that 1 MByte is allocated to your app binary, then you have about 3 left for storage. This is an upper bound constraint on the size of your data you can serve. If you need more than this, you can attach a microSD card via circuitry and go much further (GBytes).
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: How can i implement a framework like boostrap in my ESP32 with a http server?...
Thanks of the reply and for you'r help!
Who is online
Users browsing this forum: No registered users and 153 guests