{"id":23740136,"url":"https://github.com/cobbzilla/omnium","last_synced_at":"2025-10-14T12:08:04.214Z","repository":{"id":150892654,"uuid":"525149802","full_name":"cobbzilla/omnium","owner":"cobbzilla","description":"Omnium is a JavaScript abstraction layer across cloud DNS services","archived":false,"fork":false,"pushed_at":"2022-08-16T17:12:10.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-24T11:08:36.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cobbzilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-15T21:54:25.000Z","updated_at":"2023-03-05T03:15:16.000Z","dependencies_parsed_at":"2023-04-20T12:00:50.216Z","dependency_job_id":null,"html_url":"https://github.com/cobbzilla/omnium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cobbzilla/omnium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobbzilla%2Fomnium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobbzilla%2Fomnium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobbzilla%2Fomnium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobbzilla%2Fomnium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cobbzilla","download_url":"https://codeload.github.com/cobbzilla/omnium/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobbzilla%2Fomnium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019414,"owners_count":26086575,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2024-12-31T09:47:16.259Z","updated_at":"2025-10-14T12:08:04.198Z","avatar_url":"https://github.com/cobbzilla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Omnium\n======\n\nOmnium is a JavaScript abstraction layer across cloud DNS services.\n\nIt supports apps that are agnostic to cloud DNS services.\n\n# Using cloud DNS services\n    const { omnium } = require('omnium')\n    const godaddy = await omnium('godaddy', godaddy_key, godaddy_secret)\n    const route53 = await omnium('route53', aws_key, aws_secret, {region: 'us-east-1'})\n\n    // list DNS records for a domain\n    route53.list('www.example.com')  // --\u003e returns an array of DNS record objects\n\n    // add a DNS record\n    route53.add('www.example.com', 'A', 'some-hostname', '192.168.0.1')\n\n    // remove a DNS record\n    route53.remove('www.example.com', 'A', 'some-hostname')\n\n    // The above commands work identically if route53 is replace with godaddy\n\n# Driver Interface\nA driver is any JS file that exports an 'apiClient' function like this:\n\n    function apiClient (key, secret, opts)\n\n* key: your API key\n* secret: your API secret\n* opts: depends on the driver\n  * For GoDaddy, this can be omitted\n  * For Route53, the 'region' property can be specified (default is us-east-1)\n\nThe object that the apiClient function returns must support these functions:\n\n    // Find DNS records that match the given domain, type (if provided) and name (if provided)\n    async list (domain, type = '', name = '')\n    \n    // Add a DNS record to a domain with the specified TTL\n    async add (domain, type, name, ttl, data = null)\n    \n    // Remove a DNS record from a domain\n    async remove (domain, type, name)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobbzilla%2Fomnium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcobbzilla%2Fomnium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobbzilla%2Fomnium/lists"}