Lwan is a high-performance & scalable web server. With its low disk and memory footprints, it's suitable to be used from embedded devices to robust servers. Both static and dynamic content can be served, as it can also be used as a library. Dynamic content can be generated by code written in either C or Lua. Connections are handled individually by coroutines, which are transparently and efficiently juggled by a per-CPU cooperative scheduler, giving the illusion of blocking I/O to handlers. Lwan isn't just a simple static file server: it can be used as a library to build web services on top of it. In fact, the static file server isn't a special case: it just uses the same APIs that are available when Lwan is used as a library.
Lwan is a high-performance & scalable web server. With its low disk and memory footprints, it's suitable to be used from embedded devices to robust servers. Both static and dynamic content can be served, as it can also be used as a library. Dynamic content can be generated by code written in either C or Lua. Connections are handled individually by coroutines, which are transparently and efficiently juggled by a per-CPU cooperative scheduler, giving the illusion of blocking I/O to handlers. Lwan isn't just a simple static file server: it can be used as a library to build web services on top of it. In fact, the static file server isn't a special case: it just uses the same APIs that are available when Lwan is used as a library.
To install lwan, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install lwan
To see what files were installed by lwan, run:
port contents lwan
To later upgrade lwan, run:
sudo port selfupdate && sudo port upgrade lwan
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.