{"id":37204246,"url":"https://github.com/cbsd/nubectl","last_synced_at":"2026-01-14T23:32:53.080Z","repository":{"id":212998794,"uuid":"732768059","full_name":"cbsd/nubectl","owner":"cbsd","description":"Cloud control utility for human beings ","archived":false,"fork":false,"pushed_at":"2023-12-17T20:23:15.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-03-26T05:03:56.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbsd.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-17T19:04:57.000Z","updated_at":"2023-12-17T19:07:32.000Z","dependencies_parsed_at":"2023-12-17T21:29:19.274Z","dependency_job_id":"41a7d105-76d2-4865-a4e0-e04d4a4863a4","html_url":"https://github.com/cbsd/nubectl","commit_stats":null,"previous_names":["cbsd/nubectl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbsd/nubectl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbsd%2Fnubectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbsd%2Fnubectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbsd%2Fnubectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbsd%2Fnubectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbsd","download_url":"https://codeload.github.com/cbsd/nubectl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbsd%2Fnubectl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28438575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: 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":"2026-01-14T23:32:52.032Z","updated_at":"2026-01-14T23:32:53.065Z","avatar_url":"https://github.com/cbsd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple cloud control utility\n*Yet he commanded the skies above...*\n\n\n## Installation\n\nDownload the repo, compile the code for your platform.\n\n```bash\n$ git clone https://github.com/cbsd/nubectl\n$ cd nubectl\n$ ./build.sh\n$ mv nubectl/nubectl /usr/local/bin/nubectl\n\n```\n\nAlternatively, to install to $GOPATH:\n```bash\n$ go install github.com/cbsd/nubectl@latest\n```\n\n## Usage\n\n**nubectl** can be used with any CBSD-based platform (ClonOS, MyBee, CBSD+API), self-hosted, cloud-hosted or both\n\n### with on-premise [CBSD](https://github.com/cbsd/cbsd) cluster\n\nvia env(1):\n\n```bash\n$ export CLOUD_URL=\"https://your-cbsd-api.endpoint.com\"\n$ export CLOUD_KEY=\"/path/to/your/ssh/key.pub\"\n$ export CLOUD_SSH=\"/path/to/your/ssh/id_ed2559\"      # (optional, for SSH only )\n$ nubectl --help\n```\n\nvia args:\n\n```bash\n$ nubectl --cloud_url https://your-cbsd-api.endpoint.com --cloud_key /path/to/your/ssh/key.pub\n$ nubectl -cloud_url=https://your-cbsd-api.endpoint.com -cloud_key=/path/to/your/ssh/key.pub\n```\n\n### Create VM or container\n```bash\n$ nubectl create vm test1\n$ nubectl create container test2\n$ nubectl status\n$ nubectl list test1\n$ nubectl ssh test1\n$ nubectl destroy test1\n```\n\n### Infrastructure as a Code\n\nConfigure CLI\n\n```bash\n$ export CLOUD_KEY=\"/path/to/your/ssh/key.pub\"\n```\n\nCreate `config.yaml` file in `$PWD`. Refer to [example cloud config](dist.cloud.yaml)\n\n```yaml\nversion: alfa\n\nvm:\n  - name: nodejsapp\n    cpu: 1\n    ram: 2g\n    disksize: 10g\n    image: centos7\n\ncontainer:\n  - name: balancer\n    type: jail\n    disksize: 10g\n\n  - name: fileshare\n    type: jail\n    disksize: 15g\n```\n\nApply configuration\n\n```bash\n$ nubectl apply\n```\n\nDivert configuration\n\n```bash\n$ nubectl divert\n```\n\n\n## WIP\nThis project is under heavy development. Anything can be changed rapidly for no reason.\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbsd%2Fnubectl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbsd%2Fnubectl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbsd%2Fnubectl/lists"}