ForgePages is a lightweight static site generator written in Lua.
It combines HTML pages with reusable template fragments, such as headers, navigation bars and footers. Page-specific variables can be defined inside HTML comments and referenced from pages or templates.
Static assets are copied into the generated site while preserving their directory structure. ForgePages can also generate a sitemap and automatically rebuild the site when files change.
This is free and open source software.
Key Features
- Builds static websites from HTML pages and reusable templates.
- Supports automatically discovered template placeholders.
- Provides page-specific variables for titles and other metadata.
- Copies images, stylesheets, downloads and other static assets.
- Preserves the directory structure of content folders.
- Generates an optional XML sitemap.
- Offers a watch mode that rebuilds the site when files change.
- Creates its configuration file and required directories on first run.
- Requires only Lua and a small collection of Lua modules.
Website: github.com/DrDuggi/ForgePages
Support:
Developer: DrDuggi
License: MIT License
ForgePages 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.