# jknack/handlebars.java

Logic-less and semantic Mustache templates with Java

Repository: https://github.com/jknack/handlebars.java
Canonical: https://ross.abutalabs.com/products/handlebarsjava
Homepage: http://jknack.github.io/handlebars.java
Language: Java
License: NOASSERTION
License Family: other
Topics: handlebars, template-engine, templates
Last push: 2026-08-17T21:16:40+00:00

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

## Adoption (not part of the score)
Stars 1562, forks 388 (observed 2026-08-28T04:05:03.966386+00:00)

## What it is
Handlebars.java is a Java port of the Handlebars.js template engine, supporting logic-less and semantic Mustache templates with Handlebars extensions. It offers template loading from classpath or filesystem, helpers, type-safe templates, i18n, and Jackson-based JSON integration.

## Use cases
- render mustache templates in a java application
- server-side html templating for java web apps
- reuse existing mustache templates in java
- generate emails or reports from templates in java
- use handlebars helpers and partials on the jvm
- type-safe template rendering with java objects

## When to choose
- you need logic-less Mustache/Handlebars templating on the JVM
- you want compatibility with existing Handlebars.js or Mustache templates
- you need i18n, helpers, or template inheritance in Java

## When to avoid
- you need a full logic-capable template engine like Thymeleaf or FreeMarker
- you are not working on the JVM
- you need client-side rendering only

## Facets
- artifact type: library
- maturity: stable
- function: templating, internationalization
- domain: web-development, backend, developer-tools
- platform: jvm
- tags: handlebars, mustache, template-engine, java

## Member repositories
- jknack/handlebars.java (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.966386+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-30T04:00:17.927881+00:00, confidence not recorded.
  - readme: https://github.com/jknack/handlebars.java (fetched 2026-08-28T04:05:03.966386+00:00, sha 63f6e4d482f6)
  - homepage: http://jknack.github.io/handlebars.java (fetched 2026-08-29T11:29:07.830756+00:00, sha 0185ffe1262d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
