Enlive is a Clojure library for HTML templating, transformation, and scraping, supporting composable manipulation of HTML/XML in a functional style. It allows selecting, transforming, and generating HTML fragments using CSS selectors, and supports server-side template composition, dynamic pages, and content rewriting. By default selector-transformation pairs are run sequentially. When you know that several transformations are independent, you can now specify (as an optimization) to process them in lockstep. Note that this doesn't work with fragments selectors. Transformations are now slightly restricted in their return values: a node or a collection of nodes (instead of freely nested collections of nodes).

Features

  • CSS selector queries to locate nodes in HTML / XML DOM
  • Transformation functions to rewrite, insert, remove, or modify content in a DOM tree
  • Template composition: reusing HTML fragments and templates
  • Server-side rendering / templating with functional mapping over data
  • HTML scraping / data extraction from external pages
  • Integration with Ring / web frameworks in the Clojure ecosystem

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow Enlive

Enlive Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Enlive!

Additional Project Details

Registered

2025-09-24