My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Sift through and update documents in your MongoDB databases with this friendly, straightforward web interface.

Original code by Tal Liron.

The Screenshot

Features

Accessible via a high-contrast theme.

Tabbed, paginated interface lets you work with many collections at the same time.

Powerful "tabular" mode uses the current selected document's base structure (or the first document if none is selected) to create a tabular view. Click column headers to sort. Switch back to non-tabular if you want to select a different document to use for the base structure. Great for uniform collections! And SQL nostalgia!

Edit your documents in JSON with support for MongoDB's extended JSON types ($oid, $date, $regex, $binary). JSON is validated as you type.

Double click the little "sort" or "query" text boxes to open larger editors. Use extended JSON in each.

Turn on "keep refreshing" to update the current view every 5 seconds. Great for watching logs and queues!

Roadmap

Coming soon!

Administration tools:

  • Download/upload database dumps
  • Export/import
  • Server stats
  • Database management (create, drop)
  • Collection management (create, drop, create bound collections)
  • Collection index management (show, ensure, drop)
  • User management (view, add, edit, drop)

Editing tools:

  • Batch updates/drops
  • Query and sort helpers (auto-completion? wizards?)
  • Extended JSON helpers (convert timestamps to/from readable dates, regular expressions, binaries, create object IDs, etc.)
  • Create new documents (use current document as template)
  • Detect if you changed the _id, in which case a new document would be created (happens silently right now)

Other features:

  • Connect to multiple servers, with support for user/password servers
  • GridFS management (list, upload, download files)
  • Integrate query profiler

Installation

1. MongoVision runs in the "Savory JavaScript" edition of Prudence (version 1.1, since RC10) . So, download it.

2. Unpack the distribution zip you download from here. You probably want the "standard" distribution.

(The "debug" distribution contain Ext JS debug in addition to standard Ext JS, and is recommended for people who want to help making MongoVision better. The "minimal" version does not contain Ext JS at all, and is recommended for users who already have Ext JS, or just need a MongoVision upgrade with a smaller download.)

3. Put the mongovision.prudence.zip file into your Prudence /applications/ directory.

4. Put com.mongodb.rhino.jar from /libraries/ into you Prudence /libraries/ directory.

5. Fire up Prudence, and browse to http://localhost:8080/mongovision/.

Under the Hood

MongoVision is written entirely in JavaScript, for both the server- and client-side code.

It uses the MongoDB Rhino project to access MongoDB on the server.

It uses the amazing Ext JS library to render the user interface in the web browser.

In particular, MongoVision contains several well-documented Ext JS extensions that are easily usable in other projects:

  • LoadMask: adds a load mask to any component, identically to how it's used in a GridPanel. Supports both Store and TreeLoader.
  • PerPage: a PagingToolbar plugin that displays and lets the user change the number of documents per page.
  • TextFieldPopup: a TextField plugin that opens a large editor when the TextField is double-clicks.
  • ThemeSwitcher: allows the user to change the Ext JS and other stylesheets via a ComboBox. Very flexible!
  • HumanJSON: JSON output specializing in human readability.
Powered by Google Project Hosting