GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - weavejester/compojure: A concise routing library for Ring/Clojure

BranchesTags
Open more actions menu

Latest commit

 

History

975 Commits
975 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src/compojure
src/compojure
 
 
test
test
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
project.clj
project.clj
 
 

Repository files navigation

Compojure Build Status

Compojure is a small routing library for Ring that allows web applications to be composed of small, independent parts.

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

  • Wiki
  • API Docs

Community

  • Google Group
  • #compojure on Freenode IRC

Usage

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

Copyright © 2025 James Reeves

Distributed under the Eclipse Public License, the same as Clojure.

About

A concise routing library for Ring/Clojure

Topics

clojurehttpringrouting

Resources

Readme
EPL-1.0 license

Contributing

Contributing
Activity

Stars

4.1k stars

Watchers

100 watching

Forks

259 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.