xxd -i html.gz > html.h
not only does it layout the array ...
unsigned char html_gz[] = {
0x1f, 0x8b, 0x08, 0x08, 0x4f, 0x66, 0xda, 0x54, 0x00, 0x03, 0x6e, 0x65,
...
but it also defines a variable for the size ...
unsigned int html_gz_len = 44297;
Explore... Chat... Share...
sfranzyshen wrote:Yes! I have looked into esphttpd as well as WebBase ... both handle httpd server very well ... neither support https (ssl). I am starting this project to create a lighterweight alternative to the full blown web server environment. my main goal here is to provide a small web app configuration utility ... that can be added to various projects ... starting with this ... http://www.esp8266.com/viewtopic.php?f=6&t=1441 ...
Sprite_tm wrote:I'm just wondering: in what way do you think esphttpd is not lightweight? I've actually written the thing to be used exactly in the fashion you describe: a lightweight webserver thingamabob you can use to configure your esp projects with. If you think it overshoots that target, I'd love to know how.
bjpirt wrote:What @sprite_tm said - esphttpd is already quite lightweight and works very well. It's easily configurable which means you can easily strip things out if you need to. Unless you just like the challenge, I'd avoid reinventing the wheel if I were you.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]