Skip to content

tool for converting web files (html, css, js) into C-code Arduino.

License

Notifications You must be signed in to change notification settings

syeysk/tool_webdata2esp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webdata2esp

The Webdata2esp ministers to load your web data into ESP8266 module. It's useful if you do web-interface for your device based on ESP.

Install

pip install --user git+https://github.com/syeysk/tool_webdata2esp.git

or

web2esp --input "path to your webdata" --output "path to your arduino project" --lang en

This command will minify and archivate your *.css, *.js and *.html files. Also thecommand will generate three *.ino files and move them into your arduino-project:

  • webpage.ino - contains the functions for responsing to client by browser's request;
  • set_handlers.ino - contains the functions for setting handlers on urls (url are equal for file name);
  • constants.ino - contains the arrays with your archived web files.

You can use the template *.sh for fast running:

./fast_run/example.sh

For minifying the js-code you should install Google Closure Compiler:

About

tool for converting web files (html, css, js) into C-code Arduino.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published