# scriban/scriban

A fast, powerful, safe and lightweight scripting language and engine for .NET

Repository: https://github.com/scriban/scriban
Canonical: https://ross.abutalabs.com/products/scriban
Homepage: https://scriban.github.io
Language: C#
License: BSD-2-Clause
License Family: permissive
Topics: templating, templating-language, templating-engine, handlebars, liquid, text-templating, mustache
Last push: 2026-07-29T07:22:51+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 95, longevity 100
- inputs: {"age_days": 3873, "days_push": 35, "days_rel": 35, "gap_med": 10, "n_releases_24m": 32}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3961, forks 412 (observed 2026-08-28T04:08:30.559972+00:00)

## What it is
Scriban is a fast, lightweight, safe scripting language and text templating engine for .NET, with a compatibility mode for parsing Liquid templates. It provides a full AST, a rich expression language, and can be embedded as a general-purpose scripting engine or small DSL host.

## Use cases
- render html templates from .NET models
- parse and render shopify liquid templates in dotnet
- embed a safe scripting language in a .NET application
- build a small DSL for configuration or code generation
- generate emails or reports from templates
- evaluate user-supplied templates safely

## When to choose
- you need high-performance text templating in .NET with liquid compatibility
- you want a sandboxable scripting/DSL engine with fine-grained runtime control
- you need async rendering for web servers or cloud functions

## When to avoid
- you need a full general-purpose programming language runtime
- your project is not on .NET
- you need logicless templates only and prefer mustache's stricter simplicity

## Facets
- artifact type: library
- maturity: stable
- function: templating, interpreter, parser
- domain: web-development, developer-tools, text-editors
- platform: dotnet, cross-platform
- tags: liquid-templates, text-templating, scripting-engine, csharp, dsl

## Member repositories
- scriban/scriban (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.559972+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-29T18:24:27.942271+00:00, confidence not recorded.
  - readme: https://github.com/scriban/scriban (fetched 2026-08-28T04:08:30.559972+00:00, sha b942c12d14c6)
  - homepage: https://scriban.github.io (fetched 2026-08-29T09:17:55.231343+00:00, sha df8e81f9c672)
- Data as of 2026-08-30T08:39:29.467469+00:00.
