{"id":37205922,"url":"https://github.com/gowsp/cloud189","last_synced_at":"2026-01-14T23:43:00.445Z","repository":{"id":56783829,"uuid":"423176330","full_name":"gowsp/cloud189","owner":"gowsp","description":"基于天翼云接口的go客户端","archived":false,"fork":false,"pushed_at":"2025-11-26T14:46:44.000Z","size":220,"stargazers_count":93,"open_issues_count":8,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-28T02:12:54.444Z","etag":null,"topics":["cli","cloud189","go","storage","webdev"],"latest_commit_sha":null,"homepage":"","language":"Go","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/gowsp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-31T14:51:25.000Z","updated_at":"2025-11-26T14:46:48.000Z","dependencies_parsed_at":"2024-06-19T02:54:12.561Z","dependency_job_id":"1c7355e5-2ae3-445b-aaf3-e1ab9ac30e3e","html_url":"https://github.com/gowsp/cloud189","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/gowsp/cloud189","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowsp%2Fcloud189","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowsp%2Fcloud189/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowsp%2Fcloud189/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowsp%2Fcloud189/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gowsp","download_url":"https://codeload.github.com/gowsp/cloud189/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowsp%2Fcloud189/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","cloud189","go","storage","webdev"],"created_at":"2026-01-14T23:42:59.986Z","updated_at":"2026-01-14T23:43:00.434Z","avatar_url":"https://github.com/gowsp.png","language":"Go","readme":"# cloud189\n\n封装天翼云盘接口实现命令行访问, 个人开发不足之处还请包涵, 本人将持续优化使用体验\n\n## 命令列表\n\n命令中云端路径均以`/`开头, `...`表示支持多参数, 全局参数`--config`指定配置文件路径，默认路径为`${HOME}/.config/cloud189/config.json`，例：`cloud189 --config /tmp/config.json ls {云盘路径}`\n\n- 显示帮助: `cloud189 -h`\n- 显示版本: `cloud189 version`\n- 用户登录\n  - `cloud189 qrlogin` 浏览器打开控制台中二维码链接扫码登录\n  - `cloud189 login` 控制台中输入用户名密码登陆\n  - `cloud189 login -i {用户名} {密码}` 用户名密码登录\n- 退出登录\n  - `cloud189 logout` 将询问是否退出，`y` 表示退出\n  - `cloud189 logout -f` 不询问直接退出\n- 每日签到: `cloud189 sign` 支持签到及抽奖获取空间\n- 查看空间: `cloud189 df` 查看云盘空间的使用信息\n- 文件夹创建: `cloud189 mkdir {云盘路径}` 支持多层级目录创建\n- 文件上传: `cloud189 up  -p {上传并发数默认5} -n {文件过滤表达式, 不匹配则不上传, 默认不过滤} {本地路径|http~~|fast...~~} {云盘路径}`，支持三种模式文件上传，已知网页版上传接口存在bug不支持断点续传, 例\n  - 本地上传`cloud189 up {本地路径...} {云盘路径}`，例 `cloud189 up /tmp/cloud189 /我的应用` 本地文件支持秒传\n  - http上传 `cloud189 up {http://文件...} {云盘路径}`，例 `cloud189 up https://github.com/gowsp/cloud189/releases/download/v0.4.2/cloud189_0.4.2_linux_amd64.tar.gz /我的应用`，该模式不支持10M以上的文件秒传\n  - ~~手动秒传 `cloud189 up {fast://文件MD5:文件大小/文件名...} {云盘路径}`，例 `cloud189 up fast://3BACAB45A36BE381390035D228BB23E0:7598080/cloud189 /我的应用`，可以实现无文件上传，例如：系统镜像~~, 经验证已失效\n- 文件下载: `cloud189 dl {云端路径...} {本地路径}` 支持文件夹, 支持断点续传\n- 文件列表: `cloud189 ls {云盘路径}` 大小为`-`表示文件夹\n- 文件统计: `cloud189 du {云盘路径}` 显示文件或文件夹的使用统计信息，如果是文件夹则列出其中每个文件的统计信息\n- 文件删除: `cloud189 rm {云盘路径...}`\n- 文件复制: `cloud189 mv {云盘路径...} {目标路径}`\n- 文件移动: `cloud189 cp {云盘路径...} {目标路径}`\n- WebDAV（待优化）: `cloud189 webdav :{端口}` 启动 webdav服务, 上传不支持10M以上的文件秒传\n- 文件共享: `cloud189 share :{端口} {云盘路径}` 指定http端口对外提供文件直链分享 \n- cli终端模式：`cloud189` 无参启动终端模式，`Ctrl + C`退出，该模式下无需输入`cloud189`即可支持以上所有命令，支持`Tab键`参数补全，并新增目录命令\n  - `cd {云盘路径}` 进入指定目录\n  - `pwd` 查看当前目录\n  - `exit` 退出终端模式\n\n## TODO\n\n计划于未来更新如下一些内容：\n\n- [ ] webdav优化\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowsp%2Fcloud189","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgowsp%2Fcloud189","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowsp%2Fcloud189/lists"}