Hello World!
This page is served by nodemcu-httpserver running on an ESP8266 that uses the NodeMCU firmware.
NodeMCU puts a Lua interpreter inside the ESP8266. This is surely one of the smallest web servers to date!
Where's the source code?
You can find the Lua code for nodemcu-httpserver in GitHub
Serve me some pages!
- Index: This page (static)
- A text file: Simple text, to verify MIME type is ok. (static)
- Nice cars: Stress test, loads several "large" images. Makes the chip panic and restart :( (static)
- Zipped: File is actually saved as zipped.html.gz. A compressed file! (static but gzipped)
- Zipped: Same exact file as served above. Server is smart enough to treat the .gz extension correctly (static but gzipped)
- Arguments: Parses arguments passed in the URL and prints them. (Lua)
- Post: A form that uses POST method. Displays different content based on HTTP method. (Lua)
- Garage door opener: Control GPIO lines via the server. (Lua)
- NodeMCU info: Shows some basic NodeMCU(Lua)
- List all server files: Displays a list of all the server files. (Lua)
- Foo: A file that doesn't exist. Should error (404 error)
- Upload: update, remove, list files on the server. By ATAMAH.