index.html 1.2 KB

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Served by an ESP8266</title>
  6. </head>
  7. <body>
  8. <h1>Hello World!</h1>
  9. <div>
  10. <section>
  11. <p>
  12. 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.
  13. 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!
  14. </p>
  15. <h3>Where's the source code?</h3>
  16. <p>You can find the Lua code for nodemcu-httpserver in <a href="https://github.com/marcoskirsch/nodemcu-httpserver">GitHub</a></p>
  17. <h3>Serve me some pages!</h3>
  18. <ul>
  19. <li><a href="index.html">Index</a>: This page (static)</li>
  20. <li><a href="args.lua">Arguments</a>: Parses arguments passed in the URL and prints them. (Lua)</li>
  21. <li><a href="file_list.lua">List all server files</a>: Displays a list of all the server files. (Lua)</li>
  22. <li><a href="node_info.lua">NodeMCU info</a>: Shows some basic NodeMCU(Lua)</li>
  23. <li><a href="foo.html">Foo</a>: A file that isn't actually in the server. Should error (error)</li>
  24. </ul>
  25. </body>
  26. </html>