{"id":15364414,"url":"https://github.com/xadillax/dpdd","last_synced_at":"2025-04-15T07:31:04.445Z","repository":{"id":6901532,"uuid":"55615065","full_name":"XadillaX/dpdd","owner":"XadillaX","description":"Dynamic Domain for DNSPod.","archived":false,"fork":false,"pushed_at":"2024-07-03T03:12:01.000Z","size":415,"stargazers_count":7,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T21:05:41.389Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XadillaX.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-06T14:55:49.000Z","updated_at":"2019-10-30T09:04:34.000Z","dependencies_parsed_at":"2024-10-16T06:41:06.836Z","dependency_job_id":"0edaefee-5ef7-4320-903a-1c7f08cb7000","html_url":"https://github.com/XadillaX/dpdd","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.040000000000000036","last_synced_commit":"424e7f8dc6105ef2eacb26444f3f36ed74e926a3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fdpdd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fdpdd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fdpdd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XadillaX%2Fdpdd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XadillaX","download_url":"https://codeload.github.com/XadillaX/dpdd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782271,"owners_count":21160717,"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-10-01T13:11:41.876Z","updated_at":"2025-04-15T07:31:04.147Z","avatar_url":"https://github.com/XadillaX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Dynamic Domain for DNSPod\n\n### Installation\n\n```sh\n$ [sudo] npm install -g dpdd\n```\n\n### Usage\n\n```\nUsage: dpdd [options]\n\nOptions:\n   -c FILE, --config FILE                   the config file path  [/Users/xadillax/.dpddrc]\n   -t TOKEN, --token TOKEN                  the API token\n   -l LANG, --remote-lang LANG              remote server language  [cn]\n   -d DOMAIN, --domain DOMAIN               the domain to be loaded\n   -s SUB, --subdomain SUB                  the subdomain to be run\n   -i MILLISECOND, --interval MILLISECOND   the dynamic domain interval (ms)  [30000]\n   -g GETTER, --ip-getter GETTER            specify an IP getter  [CHINAZ]\n```\n\nYou may specify a configuration file via `-c` options. Or just pass configuration arguments from the command line.\n\nIf you have specified a configuration file, it's format should be a JSON object or an array.\n\n```json\n{\n    \"token\": \"token_id,token\",\n    \"domain\": \"your.domain.com\",\n    \"subdomains\": [\n        \"@\",\n        \"www\",\n        \"and.so.on\"\n    ]\n}\n```\n\nor\n\n```json\n[{\n    \"token\": \"token_id,token\",\n    \"domain\": \"your.domain.com\",\n    \"subdomains\": [\n        \"@\",\n        \"www\",\n        \"and.so.on\"\n    ]\n}, {\n    \"token\": \"token_id,token\",\n    \"domain\": \"your.domain.com\",\n    \"subdomains\": [\n        \"@\",\n        \"www\",\n        \"and.so.on\"\n    ]\n}]\n```\n\n### API\n\nIf you want to use `dpdd` as a package in your own project, you should require it at first.\n\n```javascript\nconst dpdd = require(\"dpdd\");\n```\n\nThe specifications of API, and details not mentioned in README, would be referenced at [API document](http://blog.xcoder.in/dpdd/doc).\n\n### Contribute\n\nYou're welcome to make pull requests!\n\n「雖然我覺得不怎麼可能有人會關注我」\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxadillax%2Fdpdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxadillax%2Fdpdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxadillax%2Fdpdd/lists"}