{"id":25411710,"url":"https://github.com/koho/aliyunddns","last_synced_at":"2025-10-11T01:40:52.360Z","repository":{"id":57409778,"uuid":"206823325","full_name":"koho/aliyunddns","owner":"koho","description":"A dynamic DNS client for Aliyun written in pure Python","archived":false,"fork":false,"pushed_at":"2019-09-06T15:36:13.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T22:07:11.648Z","etag":null,"topics":["aliyun","aliyun-ddns","aliyun-dns","ddns"],"latest_commit_sha":null,"homepage":"","language":"Python","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/koho.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}},"created_at":"2019-09-06T15:28:29.000Z","updated_at":"2019-09-06T15:36:14.000Z","dependencies_parsed_at":"2022-08-24T20:00:15.483Z","dependency_job_id":null,"html_url":"https://github.com/koho/aliyunddns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Faliyunddns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Faliyunddns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Faliyunddns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koho%2Faliyunddns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koho","download_url":"https://codeload.github.com/koho/aliyunddns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845384,"owners_count":21170757,"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":["aliyun","aliyun-ddns","aliyun-dns","ddns"],"created_at":"2025-02-16T10:19:19.898Z","updated_at":"2025-10-11T01:40:47.297Z","avatar_url":"https://github.com/koho.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aliyun DDNS\nA dynamic DNS client for Aliyun written in pure Python.\n\n## Install\nDownload and install the `aliyunddns` package for Python.\n```\npip install aliyunddns\n```\n## Usage:\nThere are two ways to pass arguments to the program:\n1. Passing a config file path with `-c` argument.\n2. Specify information using the command line arguments.\n\nNote: when passing a config file, all the other arguments will be ignored.\n\nHere are the full arguments list:\n```\nusage: ddns.py [-h] [-c CONFIG] [--access-key ACCESS_KEY]\n               [--secret-key SECRET_KEY] [--domain DOMAIN]\n               [--host-record HOST_RECORD] [--line LINE] [--ttl TTL]\n               [--log-file LOG_FILE]\n\nAliyun DDNS Client\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -c CONFIG             config file path (ignore other arguments)\n  --access-key ACCESS_KEY\n                        access Key Id\n  --secret-key SECRET_KEY\n                        secret Key\n  --domain DOMAIN       domain name\n  --host-record HOST_RECORD\n                        host record\n  --line LINE           line \u003cdefault|telecom|unicom|mobile|oversea|edu|drpeng\n                        |btvn\u003e\n  --ttl TTL             TTL\n  --log-file LOG_FILE   log file path\n```\n## Config\nThe config file format is JSON. Create a config file with extension `.json` and convert the dash in command line arguments to underline.\n\nFor examples:\n```json\n{\n  \"access_key\": \"abc\",\n  \"secret_key\": \"abc\",\n  \"domain\": \"example.com\",\n  \"host_record\": \"@\",\n  \"line\": \"default\",\n  \"ttl\": 600,\n  \"log_file\": \"/var/log/ddns/ddns.log\"\n}\n```\n\n## Examples\n1. Specify a config file.\n```cmd\naliyunddns -c config.json\n```\n2. Using command line arguments.\n```cmd\naliyunddns --access-key=abc --secret-key=abc --domain=example.com --log-file=/var/log/ddns/ddns.log\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoho%2Faliyunddns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoho%2Faliyunddns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoho%2Faliyunddns/lists"}