The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
Clojure CSS JavaScript Shell

RefHeap, The Reference Heap!

This project is a lightweight Clojure pastebin that uses Pygments for syntax highlighting.


Grab general project dependencies with lein, and grab Pygments with the provided bash script. This project also requires MongoDB.

$ lein deps
$ ./

Start the Mongo daemon, and in a separate terminal start the RefHeap server using lein. The server will host content from http://localhost:3000.

$ mongod
$ lein ring server


Distributed under the Eclipse Public License, the same as Clojure; the terms of which can be found in the file epl-v10.html at the root of this disribution or at