I am working on a more-or-less standards compliant web server wrapper for `hs.httpserver` with cgilua-like template support for lua files... originally I had no real plans to suggest its inclusion in core, since I mainly intended it as a way to view documentation for things that were provided as html files, but the lua template support has reached the point where it can dynamically generate Hammerspoon module documentation from the json file included with the application.
It's still in need of documentation, doesn't fully support POST for the lua templates yet, and has a *very* minimalistic Markdown conversion support (it will use an external converter, if available, but this introduces a noticeable slowdown) -- the built in support basically does some string substitutions to render things more or less in <pre></pre> and <code></code> blocks so it's readable, but it definitely needs work.
With a few additions to the basic example, `hs.webview` could be used to provide a fully integrated, no external software required documentation component to Hammerspoon... what are the thoughts on adding this to the core application?
--
A-Ron