# Handlebars-Net/Handlebars.Net

A real .NET Handlebars engine

Repository: https://github.com/Handlebars-Net/Handlebars.Net
Canonical: https://ross.abutalabs.com/products/handlebarsnet
Language: C#
License: MIT
License Family: permissive
Topics: handlebars, c-sharp, mustache, dotnet, handlebars-templates, template-engine
Last push: 2026-08-09T16:45:36+00:00

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

## Adoption (not part of the score)
Stars 1460, forks 242 (observed 2026-08-28T04:04:47.356145+00:00)

## What it is
Handlebars.Net is a .NET implementation of the Handlebars.js templating engine, written in C#. It compiles Handlebars/Mustache templates directly to IL bytecode rather than running a JavaScript engine, mimicking the JS library's API.

## Use cases
- render handlebars templates in a .NET application
- use mustache-style logicless templating in C#
- generate HTML emails from templates in dotnet
- compile handlebars templates to IL for fast rendering
- share handlebars templates between node and .NET services

## When to choose
- you need Handlebars.js-compatible templating in .NET without a JavaScript runtime
- you want high-performance template compilation to IL bytecode
- you prefer logicless Mustache/Handlebars syntax to keep views and code separated

## When to avoid
- you need a full JavaScript-based Handlebars runtime with exact JS ecosystem behavior
- your project is not on the .NET platform
- you need a templating language with embedded logic rather than logicless templates

## Facets
- artifact type: library
- maturity: stable
- function: templating, parser, compiler
- domain: web-development, developer-tools, parsers
- platform: dotnet, cross-platform
- tags: handlebars, mustache, template-engine, c-sharp, il-compilation

## Member repositories
- Handlebars-Net/Handlebars.Net (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.356145+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-30T04:35:22.840769+00:00, confidence not recorded.
  - readme: https://github.com/Handlebars-Net/Handlebars.Net (fetched 2026-08-28T04:04:47.356145+00:00, sha bba37f84afb9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
