# cgrand/enlive

a selector-based (à la CSS) templating and transformation system for Clojure

Repository: https://github.com/cgrand/enlive
Canonical: https://ross.abutalabs.com/products/enlive
Homepage: http://wiki.github.com/cgrand/enlive
Language: Clojure
License Family: other
Last push: 2022-01-17T12:51:48+00:00

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

## Adoption (not part of the score)
Stars 1617, forks 149 (observed 2026-08-28T04:05:11.992734+00:00)

## What it is
Enlive is a selector-based (CSS-like) templating and HTML transformation library for Clojure. It lets developers select nodes in HTML documents using CSS-style selectors and apply transformations, making it useful for both server-side templating and HTML scraping/manipulation.

## Use cases
- render server-side HTML templates in Clojure web apps
- transform HTML documents using CSS-style selectors
- scrape and extract data from HTML pages
- replace variables in HTML text and attributes
- parse malformed HTML with pluggable parsers like TagSoup or Jsoup

## When to choose
- you want logic-less templates where HTML is the source of truth
- you need to manipulate or scrape existing HTML with CSS selectors
- you're building a Clojure web app and prefer selector-based transformation over string interpolation templating

## When to avoid
- you want a modern, actively maintained templating library
- you prefer Hiccup-style code-as-HTML templating
- your project needs guaranteed long-term support, since the project has no license file and infrequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: templating, parser, web-framework
- domain: web-development, frontend, web-design
- platform: jvm, jvm-scripting
- tags: css-selectors, html-transformation, clojure, scraping

## Member repositories
- cgrand/enlive (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.992734+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-30T03:49:45.006149+00:00, confidence not recorded.
  - readme: https://github.com/cgrand/enlive (fetched 2026-08-28T04:05:11.992734+00:00, sha 6b3a0efbd765)
- Data as of 2026-08-30T08:39:29.467469+00:00.
