# gobuffalo/plush

The powerful template system that Go needs

Repository: https://github.com/gobuffalo/plush
Canonical: https://ross.abutalabs.com/products/plush
Language: Go
License: MIT
License Family: permissive
Topics: gobuffalo, templating, plush, go, golang
Last push: 2026-08-20T12:46:49+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 3472, "days_push": 13, "days_rel": 34, "gap_med": 12, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1017, forks 58 (observed 2026-08-28T04:03:14.706121+00:00)

## What it is
Plush is a powerful, flexible, and extendable templating system for Go that allows embedding dynamic code inside templates. It supports variables, functions, recursion, conditionals, and whitespace-trimming output tags in an ERB-like syntax.

## Use cases
- render dynamic HTML templates in a Go web app
- embed variables and functions inside Go templates
- write templates with conditionals and loops in Go
- generate emails or documents from Go templates
- define reusable helper functions inside templates
- build templates for a Buffalo web framework project

## When to choose
- you need a more expressive template language than Go's standard html/template
- you want to define variables and functions directly inside templates
- you are using the Buffalo framework or want ERB-style templating in Go
- you need recursion or closures within template logic

## When to avoid
- you want the simplest, most battle-tested option and prefer Go's standard library html/template
- you need strict sandboxing against untrusted template authors, since Plush embeds executable logic
- your team prefers logic-less templates like Mustache or Handlebars

## Facets
- artifact type: library
- maturity: active
- function: templating
- domain: web-development, backend, developer-tools
- platform: go, windows
- tags: template-engine, gobuffalo, erb-style, embedded-scripting, html-templates, linux, macos

## Member repositories
- gobuffalo/plush (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.706121+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-30T07:11:12.256696+00:00, confidence not recorded.
  - readme: https://github.com/gobuffalo/plush (fetched 2026-08-28T04:03:14.706121+00:00, sha 66fae41376a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
