1234567891011121314151617181920212223242526272829303132 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Served by an ESP8266</title>
- </head>
- <body>
- <h1>Hello World!</h1>
- <div align="center">
- <img src="underconstruction.gif">
- </div>
- <p>
- This page is served by <b>nodemcu-httpserver</b> running on an ESP8266 that uses the <a href="http://nodemcu.com/index_en.html">NodeMCU</a> firmware.
- NodeMCU puts a <a href="http://www.lua.org">Lua</a> interpreter inside the ESP8266. This is surely one of the smallest web servers to date!
- </p>
- <h3>Where's the source code?</h3>
- <p>You can find the Lua code for nodemcu-httpserver in <a href="https://github.com/marcoskirsch/nodemcu-httpserver">GitHub</a></p>
- <h3>Serve me some pages!</h3>
- <ul>
- <li><a href="index.html">Index</a>: This page (static)</li>
- <li><a href="zipped.html.gz">Zipped</a>: A compressed file (static)</li>
- <li><a href="args.lua">Arguments</a>: Parses arguments passed in the URL and prints them. (Lua)</li>
- <li><a href="post.lua">Post</a>: A form that uses POST method. Displays different content based on HTTP method. (Lua)</li>
- <li><a href="garage_door_opener.html">Garage door opener</a>: Control GPIO lines via the server. (Lua)</li>
- <li><a href="node_info.lua">NodeMCU info</a>: Shows some basic NodeMCU(Lua)</li>
- <li><a href="file_list.lua">List all server files</a>: Displays a list of all the server files. (Lua)</li>
- <li><a href="foo.html">Foo</a>: A file that doesn't exist. Should error (404 error)</li>
- </ul>
- </body>
- </html>
|