# dotliquid/dotliquid

.NET Port of Tobias Lütke's Liquid template language.

Repository: https://github.com/dotliquid/dotliquid
Canonical: https://ross.abutalabs.com/products/dotliquid
Homepage: https://www.dotliquid.org
Language: C#
License: Apache-2.0
License Family: permissive
Last push: 2025-04-02T14:26:26+00:00

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

## Adoption (not part of the score)
Stars 1096, forks 289 (observed 2026-08-28T04:03:34.453937+00:00)

## What it is
DotLiquid is a .NET port of Shopify's Liquid template language, providing a safe, logic-less template engine for C# and other .NET languages. It parses and renders templates while strictly controlling which objects and members templates can access, making it suitable for user-editable templates.

## Use cases
- render liquid templates in C#
- safe template engine for user-editable templates in .NET
- generate html emails from templates in dotnet
- render templates stored in a database
- port ruby liquid templates to .NET
- logicless templating library for .NET applications
- let users customize page templates without running insecure code

## When to choose
- You need Liquid-compatible template syntax in a .NET application
- You want users to safely edit templates without exposing business logic or insecure code execution
- You need to render templates from a database or for emails
- You want templates portable across Liquid implementations on other platforms like Ruby, Node, or Python

## When to avoid
- You need a view engine deeply integrated with ASP.NET MVC or Razor features
- You want complex logic inside templates rather than in controllers
- Your project is not on the .NET platform

## Facets
- artifact type: library
- maturity: stable
- function: templating
- domain: web-development, backend, developer-tools
- platform: dotnet, cross-platform, windows
- tags: liquid, template-engine, logicless-templates, safe-templates, user-generated-templates, csharp, nuget, view-engine, email-templates, shopify-liquid, web-server

## Member repositories
- dotliquid/dotliquid (main) score 29

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.453937+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-30T06:47:10.313894+00:00, confidence not recorded.
  - readme: https://github.com/dotliquid/dotliquid (fetched 2026-08-28T04:03:34.453937+00:00, sha aec3c96f4a58)
  - homepage: https://www.dotliquid.org (fetched 2026-08-29T12:50:00.180714+00:00, sha 84fa29968a5b)
  - site_page: https://www.dotliquid.org/docs (fetched 2026-08-29T12:50:00.183165+00:00, sha a62900258fbe)
  - site_page: https://www.dotliquid.org/docs/gettingstarted (fetched 2026-08-29T12:50:00.184911+00:00, sha f6f29c343d70)
  - site_page: https://www.dotliquid.org/docs/formatting (fetched 2026-08-29T12:50:00.186727+00:00, sha 616b91f82c42)
- Data as of 2026-08-30T08:39:29.467469+00:00.
