OSS Tanbou

connect HTML-like templates to Java server-side rendering

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
2,983
Primary language
Java
License
Apache-2.0
Repository last updated
Jun 22, 2026
On this page

Overview

Thymeleaf is a Java template engine for web and standalone environments. It adds attribute-oriented expressions to HTML or XML templates and renders application model data on the server.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Keep templates close to ordinary HTML

Its natural-template approach adds template attributes while preserving markup that remains understandable when opened directly.

Sources: [2][4]

Bind server-side model data into HTML and XML

Expressions, conditions, and iteration can render Java application state into templates.

Sources: [4]

Best fit

Fits Java web applications using server-side rendering

It is useful in Spring MVC and similar stacks where the view layer should remain HTML-centric.

Sources: [4]

Before adoption

Responsibility differs from client-rendered SPA architectures

Because rendering is server-centered, client-heavy interfaces should define the boundary with JavaScript frameworks explicitly.

Sources: [4]

Check 3.1.5 compatibility with integration modules

When using Spring or other integrations, verify the related module versions together with the Thymeleaf core release.

Sources: [3][4]

Official sources

  1. [1]thymeleaf/thymeleaf repository(2026-09-30)
  2. [2]Thymeleaf README(2026-09-30)
  3. [3]Thymeleaf 3.1.5 release(2026-09-30)
  4. [4]Thymeleaf official site(2026-09-30)
Supplemental curator note

Thymeleaf is centered on natural HTML templates that remain understandable when opened directly in a browser. It fits server-rendered Java applications, including Spring-based stacks, that want template markup to stay close to ordinary HTML.

Try it in 3 steps

  1. 1

    Add Thymeleaf 3.1.5

    Add Thymeleaf core to the Java application and verify integration-module versions when using Spring.

    implementation("org.thymeleaf:thymeleaf:3.1.5.RELEASE")
  2. 2

    Create an HTML template

    Add th:* attributes while keeping the markup understandable as ordinary HTML.

    <p th:text="\${message}">preview text</p>
  3. 3

    Render with model data

    Set a variable on the Context and process the template with TemplateEngine.

    context.setVariable("message", "Hello")
Check the official README

Growth

Growth trends · Last 30 days

2,983 Stars

Trend data is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • html
  • java
  • javascript
  • server-side-rendering
  • template-engine
  • thymeleaf
  • thymeleaf-template-engine
  • xml
Stars
2,983
Forks
514
Watchers
119
Open issues
40
Owner type
Organization
Primary language
Java
License
Apache-2.0
Repository last updated
Jun 22, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?