Skip to content

TheLuaOSProject/LuaWebsiteTemplate

Repository files navigation

Lua Website Template

Do you HATE HTML? Do you also HATE JS?

Do YOU love a small, fast, ergonomic, and simple language developed in Brazil in 1993?

Then this is the template for you! This template lets you write websites written in Lua!

Dependencies

Minimum

Usage

Add .html.lua files to site/. These will be compiled/served as HTML files. You can also add .css, .html, .lua and .js files to site/. and they will just be copied over to the output directory.

Run luarocks init and luarocks make to install the development files. You can then use ./luarocks-client to install dependencies that will be able to be used on the browser, and ./luarocks-server (or just ./luarocks) to install dependencies that would be used on the server.

Development server

To run the development server run ./lua scripts/serve.lua in the root directory. This will start a server on port 8123. You can change the port by editing config.lua.

Writing HTML

See the LuaXMLGenerator documentation

About

Template for making a website with Lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published