FindSoftware

Lustre

Gleam web framework for building HTML templates, single page applications, Web Components and real-time server components.

Lustre is a web framework written in Gleam for HTML templates, single page applications, Web Components and real-time server components. Its README describes an API for constructing HTML from Gleam functions with no separate template files, and an architecture inspired by Elm and Erlang for managing state. A project adds it with gleam add lustre.

A full-stack Lustre app has a client part that compiles to JavaScript and a server part that compiles to Erlang. The full-stack deployment guide builds both into one Docker image and names Fly.io as an example platform.

Worth knowing

A full-stack app needs an Erlang runtime for its server as well as the browser bundle, so that deployment is a running server process. A Lustre single page application without a backend can instead be hosted on static hosting services, as the SPA deployment guide describes.

Identity

Status
Active
Maintainer
Hayleigh Thompson5
First release
20224

Rendering and deploy

Runs as
Always on, Static files78
Rendering
On a server, In the browser9
Install with
gleam add lustre3

Releases

Current major version
511
Last release
2026-07-134

Adoption

GitHub stars
2,4822
Contributors
10210

Why these figures do not compare

Sources

  1. 2026-10-26: links
    hexdocs.pm/lustre
  2. 2026-10-26: links, Written in, License, GitHub stars
    api.github.com/repos/lustre-labs/lustre
  3. 2026-10-26: links, Install with
    github.com/lustre-labs/lustre/blob/main/README.md
  4. 2026-10-26: First release, Last release
    hex.pm/api/packages/lustre
  5. 2026-10-26: Maintainer, License model
    raw.githubusercontent.com/lustre-labs/lustre/main/LICENSE
  6. 2026-10-26: Categories
    github.com/lustre-labs/lustre/blob/main/gleam.toml
  7. 2026-10-26: Runtime, Runs as
    hexdocs.pm/lustre/guide/07-full-stack-deployments.html
  8. 2026-10-26: Runs as
    hexdocs.pm/lustre/guide/04-spa-deployments.html
  9. 2026-10-26: Rendering
    hexdocs.pm/lustre/guide/05-server-side-rendering.html
  10. 2026-10-26: Contributors
    api.github.com/repos/lustre-labs/lustre/contributors?per_page=1
  11. 2026-10-26: Current major version
    api.github.com/repos/lustre-labs/lustre/releases

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON