# casid/jte

Secure and speedy templates for Java and Kotlin.

Repository: https://github.com/casid/jte
Canonical: https://ross.abutalabs.com/products/jte
Homepage: https://jte.gg/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, template-engine, intellij, kotlin, server-side-rendering, html
Last push: 2026-08-09T21:25:08+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 69, longevity 100
- inputs: {"age_days": 2329, "days_push": 24, "days_rel": 126, "gap_med": 43.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1131, forks 89 (observed 2026-08-28T04:03:42.351351+00:00)

## What it is
jte (Java Template Engine) is a secure, lightweight, and fast template engine for Java and Kotlin that compiles templates to typesafe code with context-sensitive HTML escaping. It includes an IntelliJ plugin with completion and refactoring support and integrates with frameworks like Spring Boot, Javalin, Vert.x, Ktor, and Quarkus.

## Use cases
- render server-side HTML pages in a Java or Kotlin web app
- typesafe templating without learning a new expression language
- secure HTML output with automatic context-sensitive escaping
- hot-reload templates during development
- integrate templating with Spring Boot, Javalin, Ktor, or Vert.x
- get IDE completion and refactoring for templates in IntelliJ

## When to choose
- you want fast, typesafe server-side rendering on the JVM
- you prefer writing plain Java or Kotlin expressions in templates
- compile-time HTML escaping and XSS safety matter to you
- you use IntelliJ and want first-class template tooling

## When to avoid
- you need client-side JavaScript templating
- your stack is not on the JVM
- you need a designer-friendly non-programmer template syntax

## Facets
- artifact type: library
- maturity: active
- function: templating, ssr, web-framework
- domain: web-development, frontend, backend, developer-tools
- platform: jvm, cross-platform
- tags: template-engine, kotlin, intellij-plugin, html-escaping, typesafe-templates, hot-reloading

## Member repositories
- casid/jte (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:42.351351+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-30T06:38:01.302626+00:00, confidence not recorded.
  - readme: https://github.com/casid/jte (fetched 2026-08-28T04:03:42.351351+00:00, sha a482f40d8ed5)
  - homepage: https://jte.gg/ (fetched 2026-08-29T12:42:26.474524+00:00, sha eaab05d9a6f8)
  - site_page: https://jte.gg/syntax (fetched 2026-08-29T12:42:26.483857+00:00, sha 9a515685990a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
