# Lustre

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


Source: https://findsoftware.frbit.cloud/lustre/
Last reviewed: 2026-10-26
Listed since: 2026-10-26

## Record

### Links

- home: https://hexdocs.pm/lustre
- repository: https://github.com/lustre-labs/lustre
- docs: https://hexdocs.pm/lustre
- discord: https://discord.gg/Fm8Pwmy

### Identity

- status: active
- maintainer: Hayleigh Thompson
- maintainerType: unknown
- parent: unknown
- firstRelease: 2022
- hqCountry: unknown

### Kind

- category: framework
- hosting: elixir, static
- language: gleam
- runtime: beam
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: always-on, static
- renderingModes: server, spa
- installMethod: gleam add lustre

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-07-13

### Adoption

- githubStargazers: 2482
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 102
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://hexdocs.pm/lustre (read 2026-10-26)
- urls: https://api.github.com/repos/lustre-labs/lustre (read 2026-10-26)
- urls: https://github.com/lustre-labs/lustre/blob/main/README.md (read 2026-10-26)
- firstRelease: https://hex.pm/api/packages/lustre (read 2026-10-26)
- maintainer: https://raw.githubusercontent.com/lustre-labs/lustre/main/LICENSE (read 2026-10-26)
- category: https://github.com/lustre-labs/lustre/blob/main/gleam.toml (read 2026-10-26)
- language: https://api.github.com/repos/lustre-labs/lustre (read 2026-10-26)
- runtime: https://hexdocs.pm/lustre/guide/07-full-stack-deployments.html (read 2026-10-26)
- license: https://api.github.com/repos/lustre-labs/lustre (read 2026-10-26)
- licenseModel: https://raw.githubusercontent.com/lustre-labs/lustre/main/LICENSE (read 2026-10-26)
- installMethod: https://github.com/lustre-labs/lustre/blob/main/README.md (read 2026-10-26)
- runsAs: https://hexdocs.pm/lustre/guide/07-full-stack-deployments.html (read 2026-10-26)
- runsAs: https://hexdocs.pm/lustre/guide/04-spa-deployments.html (read 2026-10-26)
- renderingModes: https://hexdocs.pm/lustre/guide/05-server-side-rendering.html (read 2026-10-26)
- renderingModes: https://hexdocs.pm/lustre/guide/05-server-side-rendering.html (read 2026-10-26)
- githubStargazers: https://api.github.com/repos/lustre-labs/lustre (read 2026-10-26)
- contributors: https://api.github.com/repos/lustre-labs/lustre/contributors?per_page=1 (read 2026-10-26)
- currentMajor: https://api.github.com/repos/lustre-labs/lustre/releases (read 2026-10-26)
- latestReleaseDate: https://hex.pm/api/packages/lustre (read 2026-10-26)

## Notes

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](https://hexdocs.pm/lustre/guide/07-full-stack-deployments.html) 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](https://hexdocs.pm/lustre/guide/04-spa-deployments.html) describes.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
