An open API service indexing awesome lists of open source software.

https://github.com/drewzemke/tongo

A TUI for MongoDB.
https://github.com/drewzemke/tongo

mongo rust tui

Last synced: 3 months ago
JSON representation

A TUI for MongoDB.

Awesome Lists containing this project

README

        

# `tongo` -- a TUI for MongoDB

## Installation

### Using `cargo`

Install [Rust and Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html), then install:
```shell
$ cargo install tongo
```

### Using `nix`

Install [Nix](https://nixos.org/), then clone this repo and install:
```shell
$ git clone [email protected]:drewzemke/tongo.git
$ cd tongo
$ nix-build
```

Then you can move the created binary somewhere on your path:
```shell
$ cp ./result/bin/tongo /usr/local/bin/tongo
```

## Usage

```shell
$ tongo
```

Load a connection directly:
```shell
$ tongo --url mongodb://localhost:27017
```

If you've previously store a connection, you can load it by name:
```shell
$ tongo --connection local
```