Skip to content
A portable document viewer built on CoffeeScript and DocumentCloud
JavaScript CoffeeScript
Latest commit 1edfc6c Jan 20, 2011 @eyeseast eyeseast Added readme
Failed to load latest commit information.
lib Merge branch 'master' of Jan 4, 2011
Cakefile Custom document list template can now be set Jan 3, 2011 Added readme Jan 20, 2011
index.html Fleshing out the full viewer Jan 3, 2011
list.html Fleshing out the full viewer Jan 3, 2011
viewer.html Added a page route for doc list. Need to work this into a template. Jan 4, 2011

A JavaScript (actually CoffeeScript) Document Viewer

This is an attempt to build a portable document library and viewer entirely client-side, using the public API provided by DocumentCloud.

Getting started:

Clone or download from this repository. Include on your page the following dependencies:

(At some point in the future, I'll probably package everything into one download using Jammit. For now, you're stuck with dependencies.)


<div id="documents"></div>
var docs = new DocumentViewer({
    q: "group:homicide-watch",
    per_page: 12,
    page: 1

See DocumentCloud's API documentation for arguments.

Something went wrong with that request. Please try again.