# spullara/mustache.java

Implementation of mustache.js for Java

Repository: https://github.com/spullara/mustache.java
Canonical: https://ross.abutalabs.com/products/mustachejava
Homepage: http://www.javarants.com/the-ideal-web-application-templating-system-b301fa4a1f49
Language: HTML
License: NOASSERTION
License Family: other
Last push: 2026-08-16T20:52:13+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 5966, "days_push": 17, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1953, forks 281 (observed 2026-08-28T04:05:58.425324+00:00)

## What it is
Mustache.java is a Java implementation of the mustache.js logic-less templating system with no external dependencies. It supports template inheritance, lambdas, concurrent evaluation via ExecutorService, and passes the official mustache specification tests.

## Use cases
- render mustache templates in a Java web application
- logic-less HTML templating for server-side rendering
- share the same mustache templates between JavaScript frontend and Java backend
- render emails from templates in Java
- concurrently evaluate template sections for performance
- prototype templates with mock JSON data using the handlebar server

## When to choose
- you need a fast, dependency-free mustache engine on the JVM
- you want logic-less templates shared with mustache.js clients
- you need template inheritance or concurrent evaluation beyond the mustache spec
- you want a battle-tested library used at large scale (e.g. Twitter)

## When to avoid
- you need to render templates supplied by untrusted users without using SafeMustacheFactory whitelisting
- you need a full logic-capable template engine like FreeMarker or Thymeleaf
- you are not on the JVM or Java 8+

## Facets
- artifact type: library
- maturity: stable
- function: templating
- domain: web-development, developer-tools
- platform: jvm
- tags: mustache, logic-less-templates, template-engine, java-8, concurrent-evaluation

## Member repositories
- spullara/mustache.java (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:58.425324+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-30T03:06:34.278202+00:00, confidence not recorded.
  - readme: https://github.com/spullara/mustache.java (fetched 2026-08-28T04:05:58.425324+00:00, sha 2bba6b834bd8)
  - homepage: http://www.javarants.com/the-ideal-web-application-templating-system-b301fa4a1f49 (fetched 2026-08-29T10:46:14.987753+00:00, sha b9231b8d2fe7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
