{"id":17034570,"url":"https://github.com/caub/mongo-cli-java","last_synced_at":"2026-04-17T01:31:31.330Z","repository":{"id":12834352,"uuid":"15509783","full_name":"caub/mongo-cli-java","owner":"caub","description":"MongoDB web command line interface","archived":false,"fork":false,"pushed_at":"2016-08-18T13:59:29.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T22:17:55.215Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mongocli.blogspot.fr/2014/02/mongodb-websocket-knockoutjs.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-29T14:41:00.000Z","updated_at":"2016-08-18T06:49:58.000Z","dependencies_parsed_at":"2022-09-07T23:50:32.993Z","dependency_job_id":null,"html_url":"https://github.com/caub/mongo-cli-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caub/mongo-cli-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fmongo-cli-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fmongo-cli-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fmongo-cli-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fmongo-cli-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caub","download_url":"https://codeload.github.com/caub/mongo-cli-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Fmongo-cli-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-14T08:43:59.188Z","updated_at":"2026-04-17T01:31:31.311Z","avatar_url":"https://github.com/caub.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"mongo-cli-java\n====================\n\nMongoDB from a websocket, with extra features:\n - **Access-rights** on documents\n - **Notifications**\n\nIt works by sending `{fn: someFunction, args: someArguments}` following the syntax of [Mongo's Java driver](http://api.mongodb.org/java/current/com/mongodb/DBCollection.html)  \nExample in javascript:\n\n    send({fn:'find', args:[{a: 2}]}, function(d){console.log(d)})\n    send({fn:'save', args:[{a:3}]}, function(d){console.log(d)})\n    send({fn:'find', args:[{a: {$gt:2}}]}, function(d){console.log(d)})\n    send({fn:'findAndModify', args:[{a:3},{$set:{a:5,b:12}}]}, function(d){console.log(d)})\n    send({fn:'findAndModify', args:[{a:6},{a:5,b:12},true, false]}, function(d){console.log(d)})\n    send({fn:'remove', args:[{a: {$exists: true}}]}, function(d){console.log(d)})\n\n    //when you're authentified, access-rights are enabled\n    send({fn:'save', args:[{a:4, _canRemove:['john@gmail.com']}]}, function(d){console.log(d)})\n    send({fn:'save', args:[{a:5,_canRead:['john@gmail.com'],_canUpsert:['john@gmail.com'],_canRemove:['john@gmail.com']}]}, function(d){console.log(d)})\n\n    //notifications:\n      connected clients receive the update when their rights allow it\n      note: not all methods will trigger notifications  findAndModify, findAndRemove do\n           update, remove won't since it just return the number of updates.\n\nServer demos: [Heroku](http://mongo-cli-java.herokuapp.com/), [Cloudbees](http://mongo-cli-java.cyril.eu.cloudbees.net/)\n\nClient demos: [Paint](http://jsbin.com/muquv/latest), [Chat](http://jsbin.com/dozik/latest), [Todos](http://jsbin.com/sonuw/latest)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaub%2Fmongo-cli-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaub%2Fmongo-cli-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaub%2Fmongo-cli-java/lists"}