stencilproject/Stencil
Stencil is a simple and powerful template language for Swift. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4332
- days_rel: n/a
- days_push: 619
- n_releases_24m: 0
Adoption not part of the score
2416 stars · 219 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Stencil is a template language and engine for Swift with a syntax similar to Django and Mustache. It lets Swift applications render text templates with variables, tags, and filters, and is used by tools like Sourcery and SwiftGen.
Use cases
- render html templates in a swift server application
- generate swift code from templates
- use django-style templates in swift
- build a static site generator in swift
- separate presentation logic from swift code
When to choose
- you are writing Swift and want Django/Mustache-style templating
- you need a mature template engine used by tools like Sourcery and SwiftGen
- you want extensible custom tags and filters in Swift
When to avoid
- you need templating in a non-Swift language
- you want logic-heavy templates with embedded program code
- you need extremely high-performance streaming rendering
Facets
library · maturity stable
templating parser web-development developer-tools programming-languages django-templates mustache-like swift-package code-generation swift macos linux ios
1 source
- readme: https://github.com/stencilproject/Stencil · fetched 2026-08-28 · 9642a622e82a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stencilproject/Stencil | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="stencilproject/Stencil")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem