Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chadwhitacre/mongs
A nice web-based MongoDB data browser
https://github.com/chadwhitacre/mongs
Last synced: about 2 months ago
JSON representation
A nice web-based MongoDB data browser
- Host: GitHub
- URL: https://github.com/chadwhitacre/mongs
- Owner: chadwhitacre
- Created: 2011-03-30T19:34:21.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2020-04-27T21:22:13.000Z (over 4 years ago)
- Last Synced: 2024-05-02T00:07:11.784Z (8 months ago)
- Language: Python
- Homepage:
- Size: 3.76 MB
- Stars: 131
- Watchers: 9
- Forks: 17
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://api.mongodb.com/python/current/) 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](http://aspen.io/) 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:Legal
Copyright © Chad Whitacre and contributors. MIT-licensed.