Sitegen is a static site generator written in MoonScript and Lua.
Sitegen assembles static webpages through a pipeline consisting of templates and pages. If you’re looking for something dynamic try out Lapis.
Pages and templates can be written in html or markdown. The site is defined through the site.moon file, which is written in MoonScript. It describes all pages that need to be brought in, it can also specify configuration variables accessible within pages and templates.
Pages can be assigned any number of types, which lets your aggregate pages into groups. Enabling you to create blogs, among other things.
Sitegen has a plugin system that lets you transform the page as it travels through the pipeline. Letting you do things like syntax highlighting and automatically generated headers.
Sitegen uses the cosmo templating language to inject variables, run functions, and trigger actions in the body of the page as it is being created.
Website: leafo.net/sitegen
Support: GitHub Code Repository
Developer: leaf
License: MIT License
Sitegen is written in Lua. Learn Lua with our recommended free books and free tutorials.
Related Software
| Lua Static Site Generators | |
|---|---|
| Satelito | Uses Markdown (and HTML) for basic content and Lua files for metadata |
| luasmith | Small, simple, and flexible static site generator similar in design to Metalsmith |
| Sitegen | Assembles static pages through a pipeline consisting of templates and pages |
| LuaWebGen | Somewhat inspired by Hugo |
| Luapress | Simple and fast static site/blog generator with Markdown extensions |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

