# weavejester/compojure

A concise routing library for Ring/Clojure

Repository: https://github.com/weavejester/compojure
Canonical: https://ross.abutalabs.com/products/compojure
Language: Clojure
License: EPL-1.0
License Family: copyleft
Topics: clojure, ring, routing, http
Last push: 2025-09-15T14:44:43+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-07T02:58:08.109385+00:00)
- activity 41, release rhythm 35, longevity 100
- inputs: {"age_days": 6703, "days_push": 356, "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 4112, forks 259 (observed 2026-09-06T21:17:54.250621+00:00)

## What it is
Compojure is a concise routing library for the Ring web ecosystem in Clojure, letting developers compose web applications from small, independent route handlers. It provides a macro-based DSL for defining HTTP routes with method, path, and handler bindings.

## Use cases
- define restful routes in a clojure web app
- route http requests to handler functions with ring
- build a small web api in clojure
- compose web handlers from independent route modules
- handle get and post endpoints with path parameters
- return custom 404 not-found responses

## When to choose
- you use Ring and want a lightweight, idiomatic routing DSL
- you prefer composing apps from small independent route handlers
- you want a mature, minimal Clojure routing library

## When to avoid
- you need a full web framework with batteries included
- you want bidirectional route generation or data-driven route specs (consider Reitit)
- your project is not on the JVM/Clojure

## Facets
- artifact type: library
- maturity: stable
- function: routing, web-framework, http-server, middleware
- domain: web-development, backend, apis
- platform: jvm, jvm-scripting
- tags: clojure, ring, http-routing, dsl

## Member repositories
- weavejester/compojure (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-09-06T21:17:54.250621+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-29T18:23:12.059291+00:00, confidence not recorded.
  - readme: https://github.com/weavejester/compojure (fetched 2026-09-06T21:17:54.250621+00:00, sha 3183e20f9e4a)
- Data as of 2026-09-07T08:21:23.190159+00:00.
