šŸ”„Lume

Lume on JsDelivr Contributor Covenant

Lume is the Galician word for fire but also a (yet another) static site generator for Deno.

It’s inspired by other general-purpose static site generators, such as Jekyll and Eleventy, but it’s faster, simpler and easier to use and configure, besides being super flexible.

  • Supports multiple file formats, like Markdown, YAML, JavaScript, TypeScript, JSX, Vento and Nunjucks, and it’s easy to extend.
  • You can hook any processor to transform assets, like Terser for Javascript or PostCSS for CSS.
  • It’s Deno: Forget about managing thousands of packages in node_modules or complex bundlers. Lume only installs what you need. Clean, fast and secure.


Quick start

Make sure you have Deno installed.

Create your first page, for example, using the Vento file index.vto:

---
title: Welcome to my page
---
<html>
  <head>
    <title>{{ title }}</title>
  </head>
  <body>
    <h1>{{ title }}</h1>
  </body>
</html>

Build it:

deno run -A https://cdn.jsdelivr.net/gh/lumeland/lume/cli.ts

This command will compile your documents to HTML and save them into the directory _site.


Please see CHANGELOG for information about the recent changes.

Licensed under the MIT License. See LICENSE for more information.


Summary

Static site generator for Deno (2.3k stars, TS; lumeland): Markdown/Lume/nunjucks/Pug/JSX templates, no config required, Deno-native (URL imports, no node_modules). The SSG of the Deno lane.

Learnings

  • The serverless-lane completion: with celld (OSS) running Workers apps on own machines, a Lume-built site can deploy to the same story — Deno build + Deno serve. No-config defaults mirror Blume’s zero-config instinct; small ecosystem is the honest trade.

Gotchas

  • (none yet)

Hands-on

(watch-list: deploy a Lume site to celld — completes the ā€˜SSG for the serverless lane’ open question in Static Site Generators)