Be1zebub / LuvitWeb

A way to host webserver with mixed lua/html code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LuvitWeb

Module that handle mixed luahtml files with https://github.com/Be1zebub/LuaHTML & route it with luvit http/https modules.

Usage example:

local luahtml_server = require("luahtml_server")
luahtml_server("/var/www/mysite", "incredible-gmod.ru", 1000, 2000)
-- string website path, string domainname (to find a cert) - optional (can be nil), number http port, number https port - optional

Example Example 2

About

A way to host webserver with mixed lua/html code

License:MIT License


Languages

Language:Lua 92.2%Language:HTML 7.8%