Rabbithole, the Neo4j REPL console

Over the last few days the Neo4j community team worked on the initial iteration for an interactive Neo4j tutorial.
The first result we are proud to publish is a sharable console that runs an in-memory Neo4j instance in a web-session.
It supports Cypher queries of the graph and Geoff for importing and modifying the graph data. The graph itself and the cypher results are visualized in an overlay using d3.js.
You can easily get a link to share your current graph content and even tweet it.
For the web application we use the minimal Spark web-framework.
The app is deployed to Heroku and available on github.

Here it is in live-action:

You can also test setting up your own graph:

Now, with all these nice things in place, imagine what we can start doing:

  • share a graph setup with just one URL in mails, Twitter and bookmarks like http://tinyurl.com/cak4oc8
  • Embed live example consoles into the Neo4j manual (we are experimenting with it currently)
  • Easy embedded of working graph visualizations via iframes and widgets, possibly with different visualization options (see Max De Marzis blog for some great examples)
  • More interesting visualizations like Geographic rendering and Hiveplots
And much, much more. Let’s see if we can together build cool and innovative stuff around this! Feel free to discuss on the Neo4j mailing list !

Yours truly

Michael, Andreas and Peter



1 Comment

Jeffrey A. Miller says:

Is this tool largely replaced by the Neo4j 2.x browser? I’m looking for a REPL that allows the maintaining/assigning of state between queries. Maybe this isn’t really necessary with the ability to execute queries in succession, but I want to insert entries and assign them to some placeholder in the environment until I need it again.

This also appears to be based on an older version of CYPHER syntax, including the emphasis on the “start” keyword.

Leave a Reply

Your email address will not be published. Required fields are marked *