Created: 2014-05-18 22:58
Updated: 2014-05-18 22:59

This is a simple web service that returns a random passage from a random public domain work in the Project Gutenberg catalog.


  • Node v0.10
  • MongoDB (probably any 2.x version will do)

Quick Start

  1. Download the complete catalog, uncompress it, and put rdf-files.tar in the root directory of this repository. (Do not extract the tar archive itself.)

  2. Optionally, configure the MONGODB_URL environment variable to point to your database. If undefined, it will default to mongodb://

  3. Run node extract-metadata.js to extract metadata about the catalog to the database. (Currently, only a small subset of the database is used for development purposes.)

  4. Run node app.js and visit http://localhost:3000.


Public Domain CC0 1.0 Universal.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more