2

Neo4j Server has its own browser. It allows to browse any local database. But currently I need to browse remote database. My remote Neo4j database provides REST API. I know its URL, login and password. How can I browse database via Neo4j Server browser or by any other means?

Victor Dombrovsky
  • 2,955
  • 3
  • 21
  • 33
  • You can aslo change the neo4j-server.properties file to allow connection from 0.0.0.0 to the webbrowser – Christophe Willemsen Jul 22 '15 at 18:00
  • @ChristopheWillemsen I have no control over remote server and I cannot to change any settings. I have only access to RESTful interface. So, it seems, that your advice don't fit my needs. – Victor Dombrovsky Jul 23 '15 at 04:13
  • @VictorDombrovsky When you say browse you mean visually browse or a tool that will allow you to run queries etc.? – albertoperdomo Jul 23 '15 at 09:37
  • @albertoperdomo Perhaps will be enough just to view the results of the queries. But I doubt that there is a convenient way to do this without visualization. – Victor Dombrovsky Jul 23 '15 at 10:39

2 Answers2

3

Current option is to download Neo4j source code, extract browser and change it for your needs.

https://github.com/neo4j/neo4j/tree/2.3/community/browser

Another option is to use some REST client like https://www.sprintapi.com/ and use Neo4j REST API

Or wait for Neo4j Sync, which could be an option.

Neo4j Sync announcement - https://youtu.be/xzPVPkK86zs?t=38m35s

MicTech
  • 42,457
  • 14
  • 62
  • 79
  • Many thanks for this interesting answer. All is understandable except last part. Can you explain for me what is Neo4j Sync? I have visited product page, but it contains not enough information. My understanding is vague still. – Victor Dombrovsky Jul 23 '15 at 05:01
  • @VictorDombrovsky I added announcement video – MicTech Jul 23 '15 at 07:32
2

Usually, if the REST API is exposed, the browser UI will be too. Assuming the REST endpoint is https://user:pass@somehost:7474/db/data/, opening https://user:pass@somehost:7474/ will open the browser UI. This can be accessed remotely from you local computer.

In fact, at GrapheneDB we host remote instances for our users and this is how they access the browser.

If for some reason (don't know exactly why), you can't use the built-in browser remotely, there are other options:

If a CLI tool is good enough you can use py2neo. It comes with a CLI tool called cypher that is able to run queries against a remote server secured with HTTP basic authentication.

If you are looking at visual tools to explore a remote dataset there are multiple options:

albertoperdomo
  • 1,941
  • 12
  • 14