{"id":17303995,"url":"https://github.com/owainlewis/digital-ocean","last_synced_at":"2026-03-07T03:01:47.579Z","repository":{"id":12999887,"uuid":"15679051","full_name":"owainlewis/digital-ocean","owner":"owainlewis","description":"Idiomatic Clojure client for Digital Ocean that makes it easy to boot virtual servers from your REPL","archived":false,"fork":false,"pushed_at":"2019-07-02T12:46:22.000Z","size":52,"stargazers_count":39,"open_issues_count":5,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-27T15:45:47.339Z","etag":null,"topics":["api-client","clojure","digital-ocean"],"latest_commit_sha":null,"homepage":"","language":"Clojure","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/owainlewis.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":"2014-01-06T16:34:54.000Z","updated_at":"2025-09-23T20:29:57.000Z","dependencies_parsed_at":"2022-09-18T04:51:46.508Z","dependency_job_id":null,"html_url":"https://github.com/owainlewis/digital-ocean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owainlewis/digital-ocean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Fdigital-ocean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Fdigital-ocean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Fdigital-ocean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Fdigital-ocean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owainlewis","download_url":"https://codeload.github.com/owainlewis/digital-ocean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainlewis%2Fdigital-ocean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-client","clojure","digital-ocean"],"created_at":"2024-10-15T11:51:54.048Z","updated_at":"2026-03-07T03:01:47.532Z","avatar_url":"https://github.com/owainlewis.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital-ocean\n\nClojure interface for Digital Ocean\n\n```\n[digitalocean \"1.2\"]\n```\n\n## V2 API\n\n### Authentication\n\nYou can pass in an OAuth token directly to every function.\n\nYou can get a token from your Digital Ocean account user settings.\n\n### Getting started\n\n```clojure\n(ns myproject\n  (:require [digitalocean.v2.core :as do]))\n\n(defonce token \"YOURAUTHTOKEN\")\n\n```\n\n### Droplets\n\nGet all droplets\n\n```clojure\n(do/droplets token)\n```\n\nGet a droplet by ID\n\n```clojure\n(do/get-droplet token 123)\n```\n\nBoot up a new droplet. All droplets require an image id to boot from.\n\nNote that certain fields are required. See the Digital Ocean API V2 docs for all params\n\n```clojure\n(do/create-droplet token nil\n  {:name \"ubuntu-s-1vcpu-2gb-lon1-01\"\n   :region \"lon1\"\n   :size \"s-1vcpu-2gb\"\n   :image \"ubuntu-16-04-x64\"\n   :tags [\"web\"]\n  })\n```\n\nDelete a droplet by ID\n\n```clojure\n(do/delete-droplet token 123)\n```\n\n### Domains\n\nGet all\n\n```clojure\n(do/domains token)\n```\n\nGet one domain by name\n\n```clojure\n(do/get-domain token \"fshionable.com\")\n```\n\n### Domain records\n\nGet records for a domain\n\n```clojure\n(do/records token \"fshionable.com\")\n```\n\n## Images\n\nGet all images\n\n```clojure\n(do/images token)\n```\n\n### Keys\n\n```clojure\n\n;; Get all keys\n(do/keys token)\n\n;; Create a new one\n(do/create-key token nil {\n  :name \"Blah\"\n  :public_key \"Blah\"})\n\n```\n\n### Regions\n\nGet all regions\n\n```clojure\n(do/regions token)\n```\n\n### Sizes\n\nGet all sizes\n\n```clojure\n(do/sizes token)\n```\n\n## License\n\nCopyright © 2014 Owain Lewis\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainlewis%2Fdigital-ocean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowainlewis%2Fdigital-ocean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainlewis%2Fdigital-ocean/lists"}