esp8266_deauther/utils/web_converter
Spacehuhn 9362704ab3 Ignore py cache 2020-07-15 21:48:23 +02:00
..
css_html_js_minify Ignore py cache 2020-07-15 21:48:23 +02:00
readme.md Updated web files 2018-10-10 18:02:28 +02:00
webConverter.py Updated webConverter for new files 2020-07-15 21:47:15 +02:00

readme.md

Use this converter to minify and gzip everything in the web_interface folder and put it in esp8266_deauther/data/web/.
This script will also generate a new webfiles.h file and replace the old in esp8266_deauther.

Copyright goes to @xdavidhu.

A few notes:

  • you need python3 to run this script
  • you need to install the anglerfish package: sudo python3 -m pip install anglerfish
  • be sure to run the script from its current position
  • .lang files will always go in the /lang folder
  • .js files will always go int the /js folder
  • .json files will be ignored and not copied
  • only .html and .css will be minified before being gzipped (minifying JS can make problems)