Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gloria is a static website generator, based on NodeJS.
Gloria is a NodeJS-based static site generator (a CLI tool) that turns Markdown content and Tailwind CSS into static HTML websites, and it positions itself as a substitute for Jekyll that does not require Ruby.
Gloria is a static website generator built on NodeJS, designed to help you create static websites without depending on Ruby (unlike Jekyll). It takes Markdown files and optional frontmatter metadata as input, runs them through a pipeline of CLI commands, and outputs static HTML styled with Tailwind CSS. The project is open source (participating in Hacktoberfest) and is available from the npm registry and GitHub Packages. The author describes V2 as deprecating many old functions and moving toward TypeScript, while noting that parts of the project are a satire of other generators.
yarn add gloriajs or npm install gloriajs, making it easier for JavaScript developers to adopt.collect, copy, extract, prebuild, build, css:tailwind, scripts, write, cleanup) that each handle one step and can be run independently.css:tailwind command runs Tailwind on the generated HTML, and the project states it should be extendable to other CSS pre-processors._config.yml, and publish your site to GitHub Pages for free; custom domains are also supported (including free domains from JS.org).prebuilt with html and css fields, which plugins and templates can read and modify.gloriajs and via GitHub Packages as @gloriajs/gloria (requires adding the scope to your .npmrc)._config.yml and add Markdown pages, then publish to GitHub Pages for free.package.json, and build/test the site offline before deploying.Gloria's build process is a sequence of commands that each mutate a shared project object. First, collect traverses include-paths and saves information about available files; extract finds metadata and frontmatter from collected files; prebuild creates output placeholders; build interpolates content into the layout; css:tailwind runs Tailwind on the HTML output; and write writes the production version to disk. Each command works independently, and the data structure is designed to be extended by plugins.
Pros:
Cons:
scripts, cleanup) are still marked as TODO.No. Gloria is built on NodeJS and is meant to be a replacement for Jekyll, so you can generate a static site using only JavaScript tooling.
Run yarn add gloriajs or npm install gloriajs from the npm registry. Alternatively, add the @gloriajs scope to your .npmrc and install @gloriajs/gloria from GitHub Packages.
Yes. Fork the quick start theme repo, modify _config.yml and your Markdown pages, then publish to GitHub Pages for free. Custom domains are also supported, and JS.org offers free domains for open-source projects.
Gloria's CLI includes collect, copy, extract, prebuild, build, css:tailwind, scripts, write, and cleanup. Each command performs a different step in the static site pipeline, and they can be run individually or in sequence.
