# lambda-fairy/maud

:pencil: Compile-time HTML templates for Rust

Repository: https://github.com/lambda-fairy/maud
Canonical: https://ross.abutalabs.com/products/maud
Homepage: https://maud.lambda.xyz
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, template-engine, macro
Last push: 2026-05-25T11:45:34+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 84, release rhythm 8, longevity 100
- inputs: {"age_days": 4277, "days_push": 100, "days_rel": 577, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2624, forks 175 (observed 2026-08-28T04:07:05.201492+00:00)

## What it is
Maud is a compile-time HTML template engine for Rust, implemented as a procedural macro (html!) that generates specialized Rust code. Templates are type-checked by the compiler, fast at runtime, and require no separate template files.

## Use cases
- generate html from rust code
- type-safe html templating in rust
- server-side rendering for actix or rocket
- avoid separate template files in a rust web app
- fast html generation with minimal runtime overhead

## When to choose
- you want compile-time-checked templates with no runtime template parsing
- you prefer writing markup in Rust syntax with full access to Rust control flow
- you want simple deployment with templates linked into the binary

## When to avoid
- you need designer-editable template files or a designer-friendly syntax like Jinja or Handlebars
- you need context-aware escaping out of the box
- your team prefers hot-reloadable templates without recompilation

## Facets
- artifact type: library
- maturity: active
- function: templating, web-framework
- domain: web-development, frontend
- platform: rust
- tags: html-templates, proc-macro, compile-time, type-safe, actix, rocket

## Member repositories
- lambda-fairy/maud (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:05.201492+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:19:53.273550+00:00, confidence not recorded.
  - readme: https://github.com/lambda-fairy/maud (fetched 2026-08-28T04:07:05.201492+00:00, sha 0fce961636f0)
  - homepage: https://maud.lambda.xyz (fetched 2026-08-29T10:02:53.443087+00:00, sha ce150baab560)
  - site_page: https://maud.lambda.xyz/getting-started.html (fetched 2026-08-29T10:02:53.452394+00:00, sha 9d821d953678)
  - registry_crates: https://crates.io/api/v1/crates/maud (fetched 2026-08-29T10:02:53.455951+00:00, sha 61a7187dc290)
  - site_page: https://maud.lambda.xyz/faq.html (fetched 2026-08-29T10:02:53.454143+00:00, sha 3f682b2419d5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
