Yurik72 / ESPHap

ESP32/ESP8266 Arduino library for native Apple Homekit Accessory Protocol (HAP)
MIT License
265 stars 60 forks source link

QUESTION: Best way to convert html files to PROGMEM string? #55

Closed Ceda closed 3 years ago

Ceda commented 3 years ago

Hi, i am looking for tool to convert html files to PROGMEM string. Which are you use for create index_html.h file? I found https://github.com/SukkoPera/Webbino/blob/master/tools/html2h.py which prepare compressed content.

Thx for info

Yurik72 commented 3 years ago

I have used https://www.buildmystring.com/build.php

But this is not work since month ago, I suppose you can easily ask google there are a lot of online

Try https://tomeko.net/online_tools/cpp_text_escape.php?lang=en , seems it’s works correct

From: Tonda Pleskac notifications@github.com Sent: Friday, February 19, 2021 10:03 PM To: Yurik72/ESPHap ESPHap@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [Yurik72/ESPHap] QUESTION: Best way to convert html files to PROGMEM string? (#55)

Hi, i am looking for tool to convert html files to PROGMEM string. Which are you use for create index_html.h file? I found https://github.com/SukkoPera/Webbino/blob/master/tools/html2h.py which prepare compressed content.

Thx for info

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/55 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXMH3OUGPY3WC3CKLO3S727XVANCNFSM4X46K5DQ . https://github.com/notifications/beacon/AKDREXIRB5CZWAJB4AQSKIDS727XVA5CNFSM4X46K5D2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MDKWFZQ.gif

Ceda commented 3 years ago

Thank you! ;)

Ceda commented 3 years ago

Looks nice https://dinobusca.com/stringbuilder/ and found repo BuildMyString.com https://github.com/JeffreyBane/BuildMyString