Skip to content

chadwhitacre/mongs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

945662a · Jan 11, 2020
Jan 11, 2020
Jun 17, 2019
Jun 5, 2013
Mar 17, 2019
Mar 16, 2019
Jan 11, 2020
Mar 23, 2019
Mar 16, 2019
Jun 17, 2019
Jun 17, 2019

Repository files navigation

Mongs

Mongs is a web-based data browser for MongoDB.

Installation

$ git clone https://github.com/chadwhitacre/mongs.git
$ cd mongs
$ make run
Greetings, program! Now serving on http://0.0.0.0:29017/.

Now visit http://0.0.0.0:29017/. :-)

Usage

Click to browse.

You can query using JSON expressions in the URL, where the {} is in the above screenshot.

You can sort by adding a "sort": [["field", -1]] key/val to the {} in the URL. It will be popped and the rest of the dict will simply be a PyMongo query.

To add more servers, create (or link) a servers.txt file in the Mongs distribution root with one server hostname per line, e.g.:

$ cat servers.txt
localhost
internal-1.mycorp
internal-2.mycorp

Development

Mongs is implemented in Python using the Aspen web framework.

Bonus Picture

Mongs is named after a dairy. Herewith, an old milk box repurposed to hold computer cables, showing the Mong's Dairy logo:

Old timey milk box with Mong's logo

Legal

Copyright © Chad Whitacre and contributors. MIT-licensed.