The fast & flexible static site generator for Deno

Run the following to setup Lume:

deno run -Ar https://deno.land/x/lume/init.ts
deno.land/x/lume

Supports any template engine

Create pages using Markdown, 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"], (file) => {
  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.

site.script("deploy", "rsync -r _site/ user@host.com:/site");

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;

Who is using Lume?

Screenshot of the site

Lume

This web site.

Screenshot of the site

Xe Iaso

Personal site and portfolio of Xe Iaso

Screenshot of the site

2100Finance

Personal finance: savings, debt, credit, investing, retirement planning

Screenshot of the site

CloudCannon documentation

Platform documentation for CloudCannon

Screenshot of the site

Nonwiz's Homepage

Minimalist blog inspired by Sakura and classless css.

Screenshot of the site

Studio Kingdom

A mobile game company based in Korea.

Screenshot of the site

Dev Radar

An AI-powered news aggregator that helps you stay up to date with the latest trends in software development.

Screenshot of the site

IBM Deep Search

Landing page for the IBM Deep Search project.

See more examples

What people say?

Lume is sponsored by

Lovely past sponsors

How to contribute?