https://github.com/mmarcon/mongo-favs
MongoDB shell launcher with support for Compass favorites
https://github.com/mmarcon/mongo-favs
mongo mongodb shell terminal
Last synced: 5 months ago
JSON representation
MongoDB shell launcher with support for Compass favorites
- Host: GitHub
- URL: https://github.com/mmarcon/mongo-favs
- Owner: mmarcon
- Created: 2019-11-05T19:49:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T15:39:29.000Z (over 3 years ago)
- Last Synced: 2025-04-06T20:49:39.988Z (about 1 year ago)
- Topics: mongo, mongodb, shell, terminal
- Language: JavaScript
- Size: 14.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mongo-favs
A shell launcher for MongoDB that loads favorites from Compass.

Favorites are loaded from Compass' connections directory on the filesystem and are
displayed with the same color they are displayed in Compass.
## Requirements
* `mongo` shell in `$PATH`
* Compass 1.20 or newer
* Node.js >= 12
## Installation
```
$ npm install -g mongo-favs
```
## Things that don't work
* *Passwords.* For obvious security reasons, Compass does not store passwords in clear text on the filesystem and uses keychain/keyring instead. For this reason, for connections that need a password you'll have to fill it in manually – or copy paste from your password manager.