mustache/mustache
Logic-less Ruby templates. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 98
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6187
- days_rel: n/a
- days_push: 13
- n_releases_24m: 0
Adoption not part of the score
3085 stars · 275 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity stable
templating web-development frontend developer-tools ruby cross-platform logic-less-templates mustache html-templates view-layer framework-agnostic
2 sources
- readme: https://github.com/mustache/mustache · fetched 2026-08-28 · 27e4a4b0e334
- homepage: http://mustache.github.io/ · fetched 2026-08-29 · f766c2eb4b3f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mustache/mustache | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="mustache/mustache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem