weavejester/compojure
A concise routing library for Ring/Clojure
{ "createdAt": "2008-05-01T00:31:39Z", "defaultBranch": "master", "description": "A concise routing library for Ring/Clojure", "fullName": "weavejester/compojure", "homepage": "", "language": "Clojure", "name": "compojure", "pushedAt": "2025-09-15T14:44:43Z", "stargazersCount": 4110, "topics": [ "clojure", "http", "ring", "routing" ], "updatedAt": "2025-11-23T06:26:50Z", "url": "https://github.com/weavejester/compojure"}Compojure 
Section titled “Compojure ”Compojure is a small routing library for Ring that allows web applications to be composed of small, independent parts.
Installation
Section titled “Installation”Add the following dependency to your deps.edn file:
compojure/compojure {:mvn/version "1.7.2"}Or to your Leiningen project file:
[compojure "1.7.2"]Documentation
Section titled “Documentation”Community
Section titled “Community”- Google Group
- #compojure on Freenode IRC
This small Compojure application demonstrates creating a Ring handler from two routes:
(ns hello-world.core (:require [compojure.core :refer :all] [compojure.route :as route]))
(defroutes app (GET "/" [] "<h1>Hello World</h1>") (route/not-found "<h1>Page not found</h1>"))Also refer to the Getting Started page on the wiki.
License
Section titled “License”Copyright © 2025 James Reeves
Distributed under the Eclipse Public License, the same as Clojure.