You can create your WebServers with ease by using this script.
- It takes every HTML file in
pages
folder and adds them into a .cpp file in a proper way. - Then you can upload it to your Arduino, NodeMCU etc...
- You can see example result from this page
- Check LEARN.md for more details!
- Don't use index.html as a file name because it creates a problem, use anything other instead.
- I tested the results with PlatformIO so there might be problems when using Arduino IDE you can report them by using
Issues
.
- Put your HTML files in
pages
folder. - Modify config.json
- Run the script and that's it.
- SSID = Your WiFi Name
- Password = Your WiFi Password
- BaudRate = BaudRate
- Port = Server Port