jczic / MicroWebSrv

A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
https://github.com/jczic/MicroWebSrv
MIT License
641 stars 116 forks source link

Big python compatible #18

Closed JK-de closed 6 years ago

JK-de commented 6 years ago

Rework to use the same code in MicroPython (on ESP, PyCom) and in CPython (on RaspberryPi, *Pi, PC)

So you can develop, test and debug the server and apps on your PC with your favorite environment (Atom, VisualStudioCode...). The code can flashed without modifications to the target device (ESP...)

This pull request includes #16 and #17

jczic commented 6 years ago

Merged :) Good job Jochen, thanks ! 👍 Do you use this code in yours own projects? If yes, which ones are they? :)

JK-de commented 6 years ago

@jczic I am planning to use your web server in a web configurable IoT project like the ESPEasy-project. It is called ezPiC and is in a feasibility phase and was initially designed fr Raspberry Pi but with your server it can be possible also on ESP32

jczic commented 6 years ago

Great :) And you can also make a "captive portal" with DNS server to open popup when a wifi connection occurs if you want.