{"id":17649220,"url":"https://github.com/kenanbek/mongocli","last_synced_at":"2025-05-07T06:06:25.923Z","repository":{"id":65732873,"uuid":"210885910","full_name":"KenanBek/mongocli","owner":"KenanBek","description":"Command Line Interface for MongoDB. For learning purposes.","archived":false,"fork":false,"pushed_at":"2019-12-15T21:01:37.000Z","size":56,"stargazers_count":11,"open_issues_count":7,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T06:06:20.704Z","etag":null,"topics":["cli","client","command-line","go","golang","mongoclient","mongodb"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KenanBek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-25T16:01:43.000Z","updated_at":"2024-02-14T20:43:28.000Z","dependencies_parsed_at":"2023-02-07T05:42:10.305Z","dependency_job_id":null,"html_url":"https://github.com/KenanBek/mongocli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenanBek%2Fmongocli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenanBek%2Fmongocli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenanBek%2Fmongocli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenanBek%2Fmongocli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KenanBek","download_url":"https://codeload.github.com/KenanBek/mongocli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823918,"owners_count":21809713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","client","command-line","go","golang","mongoclient","mongodb"],"created_at":"2024-10-23T11:24:58.501Z","updated_at":"2025-05-07T06:06:25.905Z","avatar_url":"https://github.com/KenanBek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Gopher with MongoDB](https://cdn.cp.adobe.io/content/2/dcx/8182b7fd-7661-4b81-8a2e-276c203ecfa3/rendition/preview.jpg/version/0/format/jpg/dimension/width/size/1200)\n\n# MongoCLI\n\n**C**ommand **L**ine **I**nterface for **Mongo**DB. **MongoCLI**.\n\nStatus: development in progress\n\n## Features\n\n- `mongocli ping` - check database connection, ping\n- `mongocli dbs` - list existing database names \n- `mongocli colls` or `mongocli colls -d \u003cdb name\u003e` - list collection names\n- `mongocli count \u003ccoll name\u003e` - count documents in the collection\n- `mongocli list \u003ccoll name\u003e` - list documents in the collection\n- Use configuration file for default connection settings and database name: `~/mongocli.yml` (example configuration file included)\n- Use command line args for connection settings: `mongocli ping -s localhost -p 27017 -d config` or `mongocli ping --server localhost --port 27017 --database config`\n\n## Usage\n\nFor now, MongoCLI distributed only via GitHub.\n\n1. Clone repository\n\n```\ngit clone https://github.com/KenanBek/mongocli.git\n```\n\n2. Test \u0026 Build\n\n```\nmake test\nmake test/e2e\nmake build\n```\n\nNote: test coverage is not full.\n\n3. Run Mongo with Docker\n\n```\ndocker run --name mongodb -p 27017:27017 mongo\n```\n\n4. Use\n\n```\nmongocli ping\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenanbek%2Fmongocli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenanbek%2Fmongocli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenanbek%2Fmongocli/lists"}