Extracted from the book Seven Databases in Seven Weeks. You must have Redis, CouchDB, Neo4j running and NodeJS and Coffeescript installed to use this. Or you could just read it, but what fun would that be?
coffee pre_populate.coffee
coffee populate_couch.coffee
This needs to be running in the background to capture changes to CouchDB
coffee graph_sync.coffee
coffee bands.coffee