Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
Clojure CSS JavaScript Shell
Failed to load latest commit information.
resources/public Make /fork require POST because fuck crawler bots.
src/refheap Added coffee extension for coffeescript.
test/noir/test First commit.
.gitignore Add target to .gitignore.
.gitmodules Fix remote.
Procfile Update the Procfile for lein ring. Update
config.clj Allow for site to be served from multiple hostnames.
epl-v10.html Added license. trampoline dat shit, yo
project.clj Update lib-noir dependency to 0.5.6

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

Something went wrong with that request. Please try again.