Liberator is a Clojure library designed for building RESTful web APIs in a principled, declarative manner. It abstracts HTTP semantics into resource constructs driven by representational state transfer, allowing deep control over HTTP behavior and content negotiation. Liberator used to be known as compojure-rest. It got renamed in July 2012. Liberator is loosely modeled after WebMachine and shares the same aims as Bishop. The examples in this document rely on you installing Leiningen 2.

Features

  • Declarative, resource-centric APIs modeled after REST principles
  • Automates HTTP protocol concerns, including headers, content negotiation, and proper response codes
  • Supports declarative decision points using a state machine-like approach
  • Easily integrate with Ring-compatible web servers and middleware
  • Includes tutorial and documentation for developer guidance
  • Maintained by a community of contributors and used widely in Clojure REST development

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Eclipse Public License

Follow Liberator

Liberator Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Liberator!

Additional Project Details

Registered

2025-08-20