Python script to join, serialize and adapt a web project with HTML+CSS+JS into a .h file compatible with ESP32 microcontroller, making easier web server front end development.
- Python3
- pip
- minify_html
pip install minify-html
First make sure you HTML, CSS and JS files are on the same folder. And project files naming should be the next:
- html.main
- style.css
- script.js
Execute the next command where the scripts lives:
python convertWeb2ESP32 -i <relative_path_web_project> -o <path_where_save_header_file>