# Haml

HTML Abstraction Markup Language - A Markup Haiku

Repository: https://github.com/haml/haml
Canonical: https://ross.abutalabs.com/products/haml
Homepage: http://haml.info
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-17T21:15:54+00:00
Link (homepage): http://haml.info
Link (site_page): https://haml.info/about.html
Link (site_page): https://haml.info/docs.html
Link (site_page): https://haml.info/docs/yardoc/file.CHANGELOG.html
Link (site_page): https://haml.info/docs/yardoc/file.MIT-LICENSE.html

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

## Adoption (not part of the score)
Stars 3835, forks 589 (observed 2026-08-28T04:08:23.837817+00:00)

## What it is
Haml is a Ruby templating engine that compiles an indentation-based, DRY markup language into HTML, usable from the command line or within Ruby web frameworks like Rails. It eliminates redundant closing tags and boilerplate, embedding Ruby code for dynamic content.

## Use cases
- write cleaner HTML templates for a Rails app
- replace ERB templates with more readable markup
- render HTML documents from the command line
- reduce repetition in HTML view code
- embed Ruby logic in page templates

## When to choose
- you're on Ruby/Rails and want concise, well-indented templates
- you find ERB verbose and error-prone
- your team values readable, structured markup

## When to avoid
- your project is not in Ruby
- your team is unfamiliar with indentation-sensitive syntax
- you need templates shared with non-Ruby tooling

## Facets
- artifact type: library
- maturity: stable
- function: templating, web-framework, cli
- domain: web-development, frontend, developer-tools
- platform: ruby, cli
- tags: haml, html-templating, rails, markup-language, erb-alternative, web-server

## Member repositories
- haml/haml (main) score 98
- haml/haml-rails (plugin) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:23.837817+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:26:17.155369+00:00, confidence not recorded.
  - readme: https://github.com/haml/haml (fetched 2026-08-28T04:08:23.837817+00:00, sha 0a595495bd18)
  - homepage: http://haml.info (fetched 2026-08-29T09:20:57.963390+00:00, sha 2e0d10247b16)
  - site_page: https://haml.info/about.html (fetched 2026-08-29T09:20:57.967007+00:00, sha 199248c59047)
  - site_page: https://haml.info/docs.html (fetched 2026-08-29T09:20:57.969196+00:00, sha 0ed6c99dcb2a)
  - site_page: https://haml.info/docs/yardoc/file.CHANGELOG.html (fetched 2026-08-29T09:20:57.970873+00:00, sha fb091ebdc4c2)
  - site_page: https://haml.info/docs/yardoc/file.MIT-LICENSE.html (fetched 2026-08-29T09:20:57.974160+00:00, sha 0b14468ae37a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
