index.html 1.6 KB

1234567891011121314151617181920212223242526272829303132
  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 align="center">
  10. <img src="underconstruction.gif">
  11. </div>
  12. <p>
  13. This page is served by <b>nodemcu-httpserver</b> running on an ESP8266 that uses the <a href="https://github.com/nodemcu/nodemcu-firmware">NodeMCU</a> firmware.
  14. 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!
  15. </p>
  16. <h3>Where's the source code?</h3>
  17. <p>You can find the Lua code for nodemcu-httpserver in <a href="https://github.com/marcoskirsch/nodemcu-httpserver">GitHub</a></p>
  18. <h3>Serve me some pages!</h3>
  19. <ul>
  20. <li><a href="index.html">Index</a>: This page (static)</li>
  21. <li><a href="zipped.html.gz">Zipped</a>: A compressed file (static)</li>
  22. <li><a href="args.lua">Arguments</a>: Parses arguments passed in the URL and prints them. (Lua)</li>
  23. <li><a href="post.lua">Post</a>: A form that uses POST method. Displays different content based on HTTP method. (Lua)</li>
  24. <li><a href="garage_door_opener.html">Garage door opener</a>: Control GPIO lines via the server. (Lua)</li>
  25. <li><a href="node_info.lua">NodeMCU info</a>: Shows some basic NodeMCU(Lua)</li>
  26. <li><a href="file_list.lua">List all server files</a>: Displays a list of all the server files. (Lua)</li>
  27. <li><a href="foo.html">Foo</a>: A file that doesn't exist. Should error (404 error)</li>
  28. </ul>
  29. </body>
  30. </html>