The fast & flexible static site generator for Deno

Run the following to setup Lume:

deno run -A https://lume.land/init.ts

Lume is used by some companies and organizations like:

Supports any template engine

Create pages using Markdown, Vento, Nunjucks, Liquid, JSX, TSX, JavaScript, TypeScript, Pug, Eta… or add your own engine easily.

# Galician municipalities

- O Pino
- Tordoia
- Ordes
- Cedeira

Store the data in your favorite format

Store your data using static formats like JSON or YAML. Use JavaScript or TypeScript to get the data from a Database or API.

title: Galician municipalities
items:
  - O Pino
  - Tordoia
  - Ordes
  - Cedeira

Process HTML pages and assets

Processors can compile and optimize assets like CSS or JavaScript. They can also transform the HTML code using the DOM API.

site.process([".css"], (files) => {
  for (const file of files) {
    file.content = customTransform(file.content);
  }
})

Run your scripts and listen for events

You can create custom scripts like in NPM and execute them from the CLI or after any event.

// Create a script and run it after build
site.script("deploy", "rsync -r _site/ user@host.com:/site");
site.addEventListener("afterBuild", "deploy");

// Or run arbitrary code
site.addEventListener("afterBuild", () => console.log("site build"));

And everything with a clean and intuitive API

Configure your site build in a single _config.ts or _config.js file with plugins and a simple and clean API.

import lume from "lume/mod.ts";

const site = lume();

export default site;

Built with Lume

Screenshot of the site

Lume

This web site

Screenshot of the site

Deno Docs

Deno documentation site

Screenshot of the site

Andy's Curate's Egg

Minimal / Simplistic / Bare-Bones developer's blog

Screenshot of the site

1A Insecure Network

the info distro site by Locria Cyber

Screenshot of the site

X's weird webspace

Personal website of X

Screenshot of the site

TRG23

An event about technology and business in Madrid, Spain

Screenshot of the site

RGBCube

The official website and link portal of RGBCube and his work

Screenshot of the site

Clear EVM Wallet Docs

Documentation for open-source Ethereum wallet Clear EVM Wallet

See more examples

What people say?

Lume is sponsored by

Lovely past sponsors

How to contribute?