{"id":18636353,"url":"https://github.com/uname-yang/mycloudhome","last_synced_at":"2025-08-10T03:38:27.325Z","repository":{"id":97219445,"uuid":"238456473","full_name":"uname-yang/mycloudhome","owner":"uname-yang","description":"mycloudhome is a cli tool for Western Digital MY CLOUD HOME","archived":false,"fork":false,"pushed_at":"2022-02-24T11:46:14.000Z","size":22,"stargazers_count":20,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T15:52:04.579Z","etag":null,"topics":["cli","mycloudhome","python","storage","wd","western-digital","western-digital-my-cloud-home"],"latest_commit_sha":null,"homepage":"","language":"Python","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/uname-yang.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":"2020-02-05T13:27:02.000Z","updated_at":"2025-03-09T13:24:17.000Z","dependencies_parsed_at":"2023-04-28T23:48:34.114Z","dependency_job_id":null,"html_url":"https://github.com/uname-yang/mycloudhome","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/uname-yang/mycloudhome","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uname-yang%2Fmycloudhome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uname-yang%2Fmycloudhome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uname-yang%2Fmycloudhome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uname-yang%2Fmycloudhome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uname-yang","download_url":"https://codeload.github.com/uname-yang/mycloudhome/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uname-yang%2Fmycloudhome/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269672478,"owners_count":24457116,"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-08-10T02:00:08.965Z","response_time":71,"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":["cli","mycloudhome","python","storage","wd","western-digital","western-digital-my-cloud-home"],"created_at":"2024-11-07T05:29:17.671Z","updated_at":"2025-08-10T03:38:27.302Z","avatar_url":"https://github.com/uname-yang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WD My Cloud Home CLI\n\nmycloudhome is a cli tool to manage file on the `West Digital` storage device: `My Cloud Home`. You can check the files on your device in the cli way. Also you can upload or download the file in your command line anywhere without using the WD Client or Web Brower.\n\nLearn more about MY CLOUD HOME from: \u003chttps://www.mycloud.com/#/\u003e\n\n__WD has changed the policy of login. The username and password is not possible now. So I disable this auto-fetch token interface. Please get your token by yourself. And use `mycloudhome login --username XXX --token XXX` instead !!!__\n\n\u003e hints: F11 on Chrome and monitor the xhr like: `POST https://auth0.accounts.westerndigital.com/oauth/token HTTP/2.0`. The access_token in the respond body is what we want.\n\n## Install\n\n```bash\npip3 install mycloudhome\n```\n\n## Usage Examples\n\nCommand-line scares you off? No, mycloudhome is really easy to use!!\n\n1. fisrt, we need do a login action. And it will fetch your token and config from `mycloud.com`.\n\n```bash\nmycloudhome login --username xxx --token xxx\n```\n\n2. get your devices info by:\n\n```bash\nmycloudhome devices\n```\n\n3. list the files and dirs under the path:\n\n```bash\nmycloudhome ls --wduri 'wd://Buckets/install/'\n```\n\n\u003eThe path on device aways start with 'wd://', and the root of your device is 'wd://'\n\n4. move one file from one location to another:\n\n```bash\nmycloudhome mv --src wd://temp/readme.md --dst wd://temp/ttt\n```\n\n5. delete file:\n\n```bash\nmycloudhome rm --wduri wd://temp/readme_1.md\n```\n\n6. create a new WD dir:\n\n```bash\nmycloudhome mkdir --wduri wd://temp/cache\n```\n\n7. upload the file from local file system to My Cloud Home:\n\n```bash\nmycloudhome upload --src 20200518.xlsx --wduri wd://excels\n```\n\n8. download file from My Cloud Home to local file system:\n\n```bash\nmycloudhome download --wduri 'wd://Buckets/install/v2ray-linux-arm64.zip' --localpath .\n```\n\n---\n\n- \u003chttps://home.mycloud.com/\u003e\n- \u003chttps://pypi.org/project/mycloudhome\u003e\n- \u003chttps://home.mycloud.com/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funame-yang%2Fmycloudhome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funame-yang%2Fmycloudhome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funame-yang%2Fmycloudhome/lists"}