# Shopify/liquid

Liquid markup language. Safe, customer facing template language for flexible web apps.

Repository: https://github.com/Shopify/liquid
Canonical: https://ross.abutalabs.com/products/liquid
Homepage: https://shopify.github.io/liquid/
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-07T16:30:57+00:00

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

## Adoption (not part of the score)
Stars 11871, forks 1537 (observed 2026-08-28T04:10:50.360362+00:00)

## What it is
Liquid is a safe, non-evaluating template language written in Ruby by Shopify, used to render dynamic content in web apps and emails. It separates parsing/compiling from rendering so templates can be stored in a database and rendered with a variables hash without executing user-written code.

## Use cases
- let users edit templates without running insecure code on my server
- render templates stored in a database
- generate dynamic HTML emails from templates
- build customizable storefront themes
- replace my current templating engine with cleaner markup

## When to choose
- you need user-editable templates that are safe to render server-side
- you want a stateless parse-once, render-many template engine
- you are building Shopify themes or Shopify-compatible apps

## When to avoid
- you need arbitrary logic or code execution inside templates
- you want a JavaScript or Python-native template engine
- you need high-performance templating with complex control flow

## Facets
- artifact type: library
- maturity: stable
- function: templating, web-framework
- domain: web-development, developer-tools
- platform: ruby, cross-platform
- tags: template-engine, safe-templating, shopify, user-editable-templates

## Member repositories
- Shopify/liquid (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:50.360362+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-29T17:15:14.707399+00:00, confidence not recorded.
  - readme: https://github.com/Shopify/liquid (fetched 2026-08-28T04:10:50.360362+00:00, sha ea2355c27548)
  - homepage: https://shopify.github.io/liquid/ (fetched 2026-08-29T08:13:00.069170+00:00, sha 4f178aa8222b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
