How can I browse or query live MongoDB data? - mongodb

I've googled around but couldn't find a working MongoDB viewer or data browser.
An ideal (for my needs) tool would be a web based viewer with dead simple features (browsing and doing queries).

You have :
Mongo3
futon4mongo

See: http://nosql.mypopescu.com/post/334469038/a-couple-of-nice-gui-tools-for-mongodb
Hopefully it'll be updated frequently when new tools are available!
EDIT:
Better overview: http://www.mongodb.org/display/DOCS/Admin+UIs
I just tried MongoVUE and it works like a charm!
Check it out: http://www.mongovue.com/

MongoHub is moved to a native mac version, please check http://github.com/bububa/MongoHub-Mac.

genghisapp is what you want.
It is a web-based GUI that is clean, light-weight, straight-forward, offers keyboard shortcuts, and works awesomely. It also supports GridFS.
Best of all, it's a single script!
To install it
$ gem install genghisapp bson_ext
(bson_ext is optional but will greatly improve the performance of the gui)
To run it (this will automatically open your web browser and navigate to the app as well)
genghisapp
To stop it
genghisapp --kill

https://github.com/Imaginea/mViewer
I have tried this one and as a viewer it's awesome with tree and document views.

Im just testing Rock_Mongo
It's a nice tool, written in PHP.

MogoVue is the best option I found so far, it has great features I did not see in other viewers, plus it gives few options to look at the data, as json, tables and hierarchy, which is extremely useful.
Avoid MongoExplorer, it has major issues, which can cause you huge headaches. When viewing records using this tools, it may change fields which are MongoId's to plane string, it does not give any indication on this, just does it when you focus on the id field, this bug cost me lots of time and effort trying to find "what and where in my code i'm doing this silly thing"...

RoboMongo
Genghis
And entire list from here http://docs.mongodb.org/ecosystem/tools/administration-interfaces/

While the built in Http Interface of MongoDB isn't exactly what you are asking for, but it is available and supports a REST interface to do simple queries, etc. This is built-in to the mongo instance with a default of port 28017.
Documentation: http://www.mongodb.org/display/DOCS/Http+Interface

As well as those mentioned by shingara, there's also:
Opricot
PHPMoAdmin
MongoHub (I've heard mixed reviews on this one, not sure if it's maintained)

Just pushed mongoclikker to GitHub. It's a dead simple MongoDB viewer written in Node.

There a lot of UIs on official mongo site http://www.mongodb.org/display/DOCS/Admin+UIs

To add to the list :)
I just made a simple Mongo browser based on a hierarchical JQueryTreeview and implemented in Sinatra and Ruby.
The reason for another viewer was that I wanted something that was fast and easy (both to use and the code base), that would let me peek at what was going on my MongoDB. Also, I wanted some nice Ajax effects. and could be the base of a more complete browser.
https://github.com/tomjoro/mongo_browser

I just released a simple web-based data viewer called Mongs. It isn't a server admin GUI, it's focused on data browsing, which sounds like what you're interested in. Mongs is implemented in Python using the Aspen web framework.

JMongo is nice db viewer using on fedora linux

I started work on small project: https://github.com/lucassus/mongo_browser
It's a mongodb browser based on ruby's sinatra framework.

here is the better tool for sql as well as No-Sql viewer and also you can query in gui mode with this tool.

"RoboMongo" is easy to use and cross platform, using on centos 6.2 but no option for data import/export which can be found in "umongo" but not easy to use as RoboMongo.

For web: genghis is simple and have much more fashion interface.
For desktop: robomongo: Shell-centric cross-platform MongoDB management tool

I'm using MongoDB Compass. You can download the community edition by entering valid information.

I using Robomongo, in version 0.8.3 implemented multiply inserting documents, for more details https://github.com/paralect/robomongo/issues/173. Robomongo also have builtin mongodb-shell may be usefully for your purposes.

Related

Template Integration

I am following one reference to create demo chat app in elixir and understood very well how is it working. But i am not so sure how can i create templates in Elixir to implement the same chat room in UI rather than terminal. Can anybody suggest something on this.
I think, if I'm understanding your question, you want to look at EEx, the tool for evaluating code embedded in a string.
Check on Phoenix as well because I believe Phoenix uses EEx too. Specifically check this: https://github.com/phoenixframework/phoenix#template-engine-configuration
Hope it helps.

On Mac what is the best Data GUI for Meteor and MongoDB?

I have looked into a few different GUI's including Robomongo, but I can't seem to get it connected to my Meteor database. Can someone please tell me what the best GUI is to use and how to implement it? I can't seem to find any guides online.
To connect using umongo:
In your terminal, run the following (make sure you're in your project directory):
meteor mongo --url someappname.meteor.com
Note: This assumes your app is being hosted by meteor. If accessing a local db, leave off everything after --url
The output should look like this:
mongodb://client:1234-abcd-1234-abcd-1234567890#production-db-a1.meteor.io:27017/yourappname_meteor_com
In umongo, go to File > Connect and enter that string in the URI field. Hit Enter.
To view documents within a collection, navigate to that collection in the sidebar and highlight the collection you want to view.
To view all documents in that collection, click on Documents > Find. Leave all fields blank and hit OK.
I've found umongo decent for viewing large collections, but the Meteor URI expires quickly and umongo will start throwing errors.
NOTE: You'll likely only be able to view files for a minute or two, so while the above will get you connected, it may not be of much use for more than simply viewing your collections (why not use terminal at that point?). For that reason, I suspect imslavko's suggestion of using z-mongo-admin is going to be the way to go when/if the project matures.
If you need a UI to look at Mongo database contents there are couple of options.
If you want something Meteor specific, take a look at this atmosphere package: Houston Admin. It is a 3rd party package built by the community.
For more general solution take a look at genghis, ruby gem with nice UI.
I like mongohub on mac. Feels very mac :-)
Link here: github

Google like autosuggest with Solr

I'm currently using Solr with Terms Component and Jquery Autosuggest which works quiet good. However, this construct is limited to one autosuggest word (it autocompletes only the first word). Is it possible to implement a Google like autosuggest with multiple words/terms so i can autocomplete multiple words?
I just wrote a blog post about different ways to make auto complete suggestions with Solr. It's basically a comparison of some different strategies, check it out, it might help.
If you want to make multiple terms suggestions, it turns out you should use, as already mentioned in the other answer you got, the Suggester component available in Solr starting from the 3.1 version. Since it has some limitations, you can also have a look at the ShingleFilterFactory, which generates token NGrams. It creates combination of tokens as a single token, that's useful to suggest multiple words.
You can also use SpellCheckComponent for better auto complete suggests.
See http://wiki.apache.org/solr/Suggester for details.
Edit:
Refer here for solr5 and above
Check this out, it might help
http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
I worked out the same task, finally got solved using TermsComponent with multiple fields. check this link. http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-td3998559i20.html

MediaWiki styling for iPhone

When you visit en.wikipedia.org with an iPhone you are forwarded to en.m.wikipedia.org which is formatted beautifully for the device. I have MediaWiki on my own server and I'd love to have this formatting available when I visit my site with my iPhone. Is there an easy way to enable this? I've gotten as far as www.mediawiki.org/wiki/Manual:$wgHandheldForIPhone and http://www.mediawiki.org/wiki/Extension:MobileSkin but nothing is jumping out at me.
I operate Wikiaudio and this is what I did:
Install and use this extension, to detect this skin (WP touch).
m.wikipedia.org is based on the wikimedia-mobile server, whose source code is available here:
http://github.com/hcatlin/wikimedia-mobile
It's a proxy of sorts that gets pages from Wikipedia, shuffles the contents and then serves them out formatted for mobiles, with caching to speed up things. It's written in Ruby and seems to be fairly customized for Wikipedia and the Monobook skin.
Wikipedia uses MobileFrontend.
You posted a link with complete instructions on how to deploy this into your installation of MediaWiki...
-t
I don't believe it's a skin that's on general release yet and was developed specifically for Wikipedia.

Stand-alone charts in GWT

I've been trying to get pretty charts to work in GWT on our internal network.
Playing around with GWT-Ext's charts is nice, but it requires flash and is really messy to control (it seems buggy, in general).
I'd like to hear about something that works with the least amount of dependencies and it also must work without a connection to the web (so, Google' charts API isn't a solution).
Edit: Indeed, I would rather a library that is all client-side.
I'm building a GWT chart library based on Flot: http://gflot.googlecode.com
I hope you find it useful. Contact me if you have any questions.
Googling for "GWT +sparklines" has gotten me to gchart, which seems like what I need.
From what I understand - it's all client side and requires nothing more than their JAR file.
Google's charts actually come in two flavours, and one of them does not require interaction with Google's servers - so should satisfy your needs.
Google Image Charts is the API you are thinking of, which is an API on Google's servers that returns images.
Google Interactive Charts is a client side javascript API that renders entirely within the browser: Google Interactive Charts
Google provides a GWT wrapper for the interactive charts: GWT Visualization API
It's not all rainbows and unicorns and you can find chart libs out there that make nicer charts, but it's pretty solid, works on all major browsers and we've been using it successfully for quite a while.
http://code.google.com/p/ext-ux-ofcgxt/ is a nice option if you're using ext-gwt
Do you want something that has a server side component or entirely client driven? The best ones I have seen are all flash, alas. I have done little tricks with JS and GWT before, but there is only sophisticated I will get before I go hunting for a library to do it for me.
There is also "sparklines" - they are available in lots of flavours (very simple charts though).
gchart looks seriously awesome. Go with it !
If you're looking for client-side check out flotr which is based on prototype javascript library or flot which is based on jQuery. Both work well, though flot seems like its got a bigger backing.
If you are willing to go with flash, XML/SWF is a wonderful tool
+1 flot, requires jQuery though, so might not play well with GWT, I haven't used that.
Another flash option, with a pre-built GWT integration - Open Flash Chart / ofcgwt.
I think that gwt-chart is a better framework for you.
well.. i've used yahoo ui chart library (which GWT-Ext uses internally). Pretty neat solution, in the beta stage though.
Let us know the conclusion you arrive at..
There is one open source api for charts in GWT hosted on http://code.google.com/p/gwt-rcharts/ . The API works on SVG/VML specification. You may find it quite easy to implement and use. You may find the demo at http://gwt-rcharts.appspot.com/