A Lua Web Server with WSAPI support


Xavante is a Lua HTTP 1.1 Web server that uses a modular architecture based on URI mapped handlers. Xavante currently offers a file handler, a redirect handler and a WSAPI handler. Those are used for general files, URI remapping and WSAPI applications respectively.

Xavante is free software and uses the same license as Lua.


Current version is 2.4.0 and works with Lua 5.1, 5.2 and 5.3.


Xavante can be downloaded from its Github page, at the Downloads tab.

You can also install Xavante using LuaRocks:

luarocks install xavante

The "xavante" package installs Xavante as a library. To run Xavante as an application please install WSAPI:

luarocks install wsapi-xavante


Xavante dependencies can be separated by the used handlers:

Xavante Core
File Handler (optional)

The portability of Xavante is determined by its binary components (LuaSocket and LuaFileSystem) and Lua itself. The other components are written in Lua and are as portable as Lua itself.


Xavante is maintained by Fábio Mascarenhas and the community of contributors. See the GitHub logs for detailed credits.

Xavante circa 1.3 was implemented by Javier Guerra, André Carregal, and Fábio Mascarenhas with the help of Ignacio Burgueño, Zachary P. Landau, Mauricio Bomfim, Matthew Burke, Thomas Harning and others.

Xavante 1.2 was implemented by Javier Guerra, André Carregal, Fábio Mascarenhas and Leonardo Godinho.

Xavante 1.1 was redesigned and implemented by Javier Guerra and André Carregal. It merged Javier's work with luahttpd and André's work with Copas and Xavante 1.0. luahttpd is now part of Xavante.

Xavante 1.0 was designed and implemented by André Carregal as part of the Kepler Project with contributions from Renato Crivano and Danilo Tuler. Xavante 1.0 development was sponsored by Fábrica Digital and Hands.