# weavejester/hiccup

Fast library for rendering HTML in Clojure

Repository: https://github.com/weavejester/hiccup
Canonical: https://ross.abutalabs.com/products/hiccup
Homepage: http://weavejester.github.io/hiccup
Language: Clojure
License: EPL-1.0
License Family: copyleft
Topics: clojure, html, hiccup
Last push: 2025-06-19T14:59:18+00:00

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

## Adoption (not part of the score)
Stars 2854, forks 177 (observed 2026-08-28T04:07:25.826496+00:00)

## What it is
Hiccup is a fast Clojure library for rendering HTML by representing elements as vectors and attributes as maps. It supports automatic string escaping, CSS-like id/class shortcuts, form helpers, and Ring middleware integration.

## Use cases
- render html from clojure data structures
- generate html pages server-side in clojure
- build html forms in clojure web apps
- escape user input when generating html
- write templates without a separate template language

## When to choose
- you write Clojure or ClojureScript web apps and want HTML as plain data
- you prefer code-based templating over string-based template engines
- you need safe, automatic HTML escaping

## When to avoid
- you need designer-friendly template files rather than code
- you are not working on the JVM or in Clojure
- you need client-side DOM manipulation rather than HTML string rendering

## Facets
- artifact type: library
- maturity: stable
- function: templating, web-framework
- domain: web-development, frontend
- platform: jvm, jvm-scripting
- tags: clojure, html-rendering, hiccup-syntax, server-side-html, ring

## Member repositories
- weavejester/hiccup (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.826496+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-30T07:36:46.025988+00:00, confidence not recorded.
  - readme: https://github.com/weavejester/hiccup (fetched 2026-08-28T04:07:25.826496+00:00, sha d72c4cac2ab7)
  - homepage: http://weavejester.github.io/hiccup (fetched 2026-08-29T09:52:19.299213+00:00, sha 08285a092bd2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
