# mustache/mustache

Logic-less Ruby templates.

Repository: https://github.com/mustache/mustache
Canonical: https://ross.abutalabs.com/products/mustache
Homepage: http://mustache.github.io/
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-20T10:23:10+00:00

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

## Adoption (not part of the score)
Stars 3085, forks 275 (observed 2026-08-28T04:07:42.039588+00:00)

## What it is
Mustache is the canonical Ruby implementation of the logic-less Mustache template language, separating markup templates from Ruby view classes. It renders HTML (or any text) by referencing methods on a view class, with no application logic allowed in templates.

## Use cases
- render html templates in ruby without embedding logic
- replace erb or haml views with logic-less templates
- separate presentation from application logic in a ruby web app
- generate emails or documents from templates in ruby
- test view logic independently of markup

## When to choose
- you want strict separation of markup and logic in a Ruby project
- you need a simple, framework-agnostic templating gem
- you prefer view classes over inline Ruby in templates

## When to avoid
- you need conditional logic, filters, or macros inside templates
- you want a full-featured engine like ERB, Haml, or Liquid
- you are not working in Ruby (use a Mustache implementation for your language instead)

## Facets
- artifact type: library
- maturity: stable
- function: templating
- domain: web-development, frontend, developer-tools
- platform: ruby, cross-platform
- tags: logic-less-templates, mustache, html-templates, view-layer, framework-agnostic

## Member repositories
- mustache/mustache (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:42.039588+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-30T07:27:40.067917+00:00, confidence not recorded.
  - readme: https://github.com/mustache/mustache (fetched 2026-08-28T04:07:42.039588+00:00, sha 27e4a4b0e334)
  - homepage: http://mustache.github.io/ (fetched 2026-08-29T09:42:47.564876+00:00, sha f766c2eb4b3f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
