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 |
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. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.