{"id":22092364,"url":"https://github.com/bhoriuchi/vsphere-connect","last_synced_at":"2025-07-24T20:32:10.637Z","repository":{"id":1970760,"uuid":"45441465","full_name":"bhoriuchi/vsphere-connect","owner":"bhoriuchi","description":"A modern vSphere Client","archived":false,"fork":false,"pushed_at":"2022-12-07T09:45:02.000Z","size":2875,"stargazers_count":15,"open_issues_count":10,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T22:19:19.252Z","etag":null,"topics":["changefeed","command","event-monitoring","modern","observable","promise","reactivex","realtime","vsphere","vsphere-client"],"latest_commit_sha":null,"homepage":"http://bhoriuchi.github.io/vsphere-connect","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhoriuchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-03T04:22:33.000Z","updated_at":"2022-12-07T13:19:51.000Z","dependencies_parsed_at":"2023-01-13T11:32:48.218Z","dependency_job_id":null,"html_url":"https://github.com/bhoriuchi/vsphere-connect","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhoriuchi%2Fvsphere-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhoriuchi%2Fvsphere-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhoriuchi%2Fvsphere-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhoriuchi%2Fvsphere-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhoriuchi","download_url":"https://codeload.github.com/bhoriuchi/vsphere-connect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227476143,"owners_count":17779417,"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":["changefeed","command","event-monitoring","modern","observable","promise","reactivex","realtime","vsphere","vsphere-client"],"created_at":"2024-12-01T03:09:16.805Z","updated_at":"2024-12-01T03:09:17.752Z","avatar_url":"https://github.com/bhoriuchi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vsphere-connect\n\nA modern vSphere Client\n\n*Currently undergoing a major re-write see `development` branch for current progress*\n\n[Project Page](http://bhoriuchi.github.io/vsphere-connect)\n\n### Summary\nvSphere connect is a modern vSphere client that has been re-designed to mimic RethinkDB's ReQL and provide a way to construct powerful and complex requests easily. vsphere-connect also provides pseudo-realtime changefeeds that take advantage of the vSphere `WaitForUpdatesEx` to provided change events through an RxJS Observable\n\n### Example\n\nReturn a list of VirtualMachines with 2 CPUs\n\n```js\nimport VConnect from 'vsphere-connect'\nlet v = VConnect('vcenter.mydomain.com')\n  .login('administrator@vsphere.local', 'vmware100')\n  \nv.type('vm')\n  .pluck({\n    config: {\n      hardware: {\n        numCPU: true\n      }\n    }\n  })\n  .filter(vm =\u003e {\n    return v.expr(vm)('config')('hardware')('numCPU')\n      .default(0)\n      .eq(2)\n  })('name')\n  .then(console.log)\n```\n\n### Example\n\nSubscribe to changes on 2 VMs\n\n```js\nimport VConnect from 'vsphere-connect'\nlet v = VConnect('vcenter.mydomain.com')\n  .login('administrator@vsphere.local', 'vmware100')\n\nv.type('vm')\n  .allData()\n  .get('vm-10', 'vm-54')\n  .changes()\n  .subscribe(\n    change =\u003e {\n      console.log(change)\n    },\n    error =\u003e {\n      console.error(error)\n    },\n    () =\u003e {\n      console.log('complete')\n    }\n  )\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhoriuchi%2Fvsphere-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhoriuchi%2Fvsphere-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhoriuchi%2Fvsphere-connect/lists"}