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 |
| ForgePages | Lightweight static site generator |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.