12345678910111213141516171819202122232425262728 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Served by an ESP8266</title>
- </head>
- <body>
- <h1>Hello World!</h1>
- <div>
- <section>
- <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="args.lua">Arguments</a>: Parses arguments passed in the URL and prints them. (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="node_info.lua">NodeMCU info</a>: Shows some basic NodeMCU(Lua)</li>
- <li><a href="foo.html">Foo</a>: A file that isn't actually in the server. Should error (error)</li>
- </ul>
- </body>
- </html>
|