# flosch/pongo2

Django-syntax like template-engine for Go

Repository: https://github.com/flosch/pongo2
Canonical: https://ross.abutalabs.com/products/pongo2
Homepage: https://pongo2.dev
Language: Go
License: MIT
License Family: permissive
Topics: template, go, django, template-engine, pongo2, templates, template-language, golang, golang-library
Last push: 2026-05-02T14:30:49+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 50, longevity 100
- inputs: {"age_days": 4759, "days_push": 123, "days_rel": 123, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3083, forks 285 (observed 2026-08-28T04:07:41.992161+00:00)

## What it is
pongo2 is a template engine for Go that implements Django's template syntax, including tags, filters, and macros. It is a pure-Go library with no dependencies, suitable for rendering HTML and other text templates in web applications.

## Use cases
- render html templates in a go web app
- use django template syntax in go
- generate emails from templates in go
- separate presentation logic from go code
- reuse template fragments with macros

## When to choose
- you want Django-compatible template syntax in a Go project
- you need a dependency-free, pure-Go templating library
- you are porting a Django project's templates to Go

## When to avoid
- you prefer Go's standard html/template package
- you need client-side JavaScript templating
- you want a logic-less template engine like Mustache

## Facets
- artifact type: library
- maturity: active
- function: templating
- domain: web-development, backend, developer-tools
- platform: go, cross-platform
- tags: django-syntax, template-engine, golang-library, html-templating

## Member repositories
- flosch/pongo2 (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.992161+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:27:41.620799+00:00, confidence not recorded.
  - readme: https://github.com/flosch/pongo2 (fetched 2026-08-28T04:07:41.992161+00:00, sha e42a1e150aab)
  - homepage: https://pongo2.dev (fetched 2026-08-29T09:42:52.078609+00:00, sha b03740741cc7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
