{"id":21485567,"url":"https://github.com/m0a/ocean_php","last_synced_at":"2025-03-17T10:08:33.174Z","repository":{"id":144991570,"uuid":"12403711","full_name":"m0a/ocean_php","owner":"m0a","description":"degitalocean webapi commandline wrapper","archived":false,"fork":false,"pushed_at":"2013-08-27T12:55:10.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T08:46:45.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/m0a.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-08-27T10:55:07.000Z","updated_at":"2014-03-28T06:29:21.000Z","dependencies_parsed_at":"2023-06-26T02:02:23.856Z","dependency_job_id":null,"html_url":"https://github.com/m0a/ocean_php","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/m0a%2Focean_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0a%2Focean_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0a%2Focean_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m0a%2Focean_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m0a","download_url":"https://codeload.github.com/m0a/ocean_php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014136,"owners_count":20383715,"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":[],"created_at":"2024-11-23T13:16:34.206Z","updated_at":"2025-03-17T10:08:33.138Z","avatar_url":"https://github.com/m0a.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"ocean\n=====\n\nDegitalOcean WebApi commandline wrapper\n\n[DegitalOcean is Simple Cloud Hosting for Developpers]((https://www.digitalocean.com/?refcode=58b04120b7b2)\n\n\n\n##INSTALL\n\n```\nwget https://raw.github.com/abe00makoto/ocean/master/ocean\nchmod +x ocean\n\nvim ~/.bash_profile\n\nexport OCEAN_API_KEY=xxxxxxxx\nexport OCEAN_CLIENT_ID=xxxxxxxx\n\n```\n\n##Run\n\nex) server restart\n```\nocean droplets server01 reboot\n```\nex) server make\n\n```\nocean droplets new droplet_name=abe05 size_id=512MB image_id='CentOS 6.4 x32' region_id='Amsterdam 1' ssh_key_id1=abe00makoto\n```\nex) if miss typed.\n\n```\nocean droplets new droplet_name=abe05 size_id=512MB image_id='CentOS 6.4 x32' region_id=??? ssh_key_id1=abe00makoto\n\nname resolution error:region_id:[???]\nplease select from\n[Amsterdam 1] \n[San Francisco 1] \n[New York 2] \n\n\n```\n\n```\nusage:\n\tocean droplets\n\tocean droplets new droplet_name=\u003cdroplet_name\u003e size_id=\u003csize_id\u003e image_id=\u003cimage_id\u003e region_id=\u003cregion_id\u003e\n\tocean droplets new droplet_name=\u003cdroplet_name\u003e size_id=\u003csize_id\u003e image_id=\u003cimage_id\u003e region_id=\u003cregion_id\u003e ssh_key_id1=\u003cssh_key_id1\u003e\n\tocean droplets new droplet_name=\u003cdroplet_name\u003e size_id=\u003csize_id\u003e image_id=\u003cimage_id\u003e region_id=\u003cregion_id\u003e ssh_key_id1=\u003cssh_key_id1\u003e ssh_key_id2=\u003cssh_key_id2\u003e\n\tocean droplets \u003cdroplet_id\u003e\n\tocean droplets \u003cdroplet_id\u003e reboot\n\tocean droplets \u003cdroplet_id\u003e power_cycle\n\tocean droplets \u003cdroplet_id\u003e shutdown\n\tocean droplets \u003cdroplet_id\u003e power_off\n\tocean droplets \u003cdroplet_id\u003e power_on\n\tocean droplets \u003cdroplet_id\u003e password_reset\n\tocean droplets \u003cdroplet_id\u003e resize size_id=\u003csize_id\u003e\n\tocean droplets \u003cdroplet_id\u003e snapshot snapshot_name=\u003csnapshot_name\u003e\n\tocean droplets \u003cdroplet_id\u003e restore image_id=\u003cimage_id\u003e\n\tocean droplets \u003cdroplet_id\u003e rebuild image_id=\u003cimage_id\u003e\n\tocean droplets \u003cdroplet_id\u003e enable_backups\n\tocean droplets \u003cdroplet_id\u003e disable_backups\n\tocean droplets \u003cdroplet_id\u003e rename name=\u003cname\u003e\n\tocean droplets \u003cdroplet_id\u003e destroy\n\tocean regions\n\tocean images\n\tocean images \u003cimage_id\u003e\n\tocean images \u003cimage_id\u003e transfer region_id=\u003cregion_id\u003e\n\tocean ssh_keys\n\tocean ssh_keys new ssh_key_name=\u003cssh_key_name\u003e ssh_public_key=\u003cssh_public_key\u003e\n\tocean ssh_keys \u003cssh_key_id\u003e\n\tocean ssh_keys \u003cssh_key_id\u003e edit\n\tocean ssh_keys \u003cssh_key_id\u003e destroy\n\tocean sizes\n\tocean domains\n\tocean domains new domain=\u003cdomain\u003e ip_address=\u003cip_address\u003e\n\tocean domains \u003cdomain_id\u003e\n\tocean domains \u003cdomain_id\u003e destroy\n\tocean domains \u003cdomain_id\u003e records\n\tocean domains \u003cdomain_id\u003e records new record_type=\u003crecord_type\u003e data=\u003cdata\u003e\n\tocean domains \u003cdomain_id\u003e records \u003crecord_id\u003e\n\tocean domains \u003cdomain_id\u003e records \u003crecord_id\u003e edit\n\tocean domains \u003cdomain_id\u003e records \u003crecord_id\u003e destroy\n```\n\n\t\n\t\n\t\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0a%2Focean_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm0a%2Focean_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm0a%2Focean_php/lists"}