{"id":18421761,"url":"https://github.com/xiaohaoo/cloud-storage-master","last_synced_at":"2025-10-28T17:16:14.438Z","repository":{"id":48452721,"uuid":"389390684","full_name":"xiaohaoo/cloud-storage-master","owner":"xiaohaoo","description":"云存储相关工具类，包含文件的上传、下载等。","archived":false,"fork":false,"pushed_at":"2023-10-09T21:13:53.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T14:12:24.667Z","etag":null,"topics":["java","oss"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaohaoo.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":"2021-07-25T16:19:41.000Z","updated_at":"2023-06-18T08:35:56.000Z","dependencies_parsed_at":"2024-11-06T04:38:40.966Z","dependency_job_id":null,"html_url":"https://github.com/xiaohaoo/cloud-storage-master","commit_stats":null,"previous_names":["xiaohaoo/cloud-storage-master","xiaohaoo/oss-provider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaohaoo/cloud-storage-master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohaoo%2Fcloud-storage-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohaoo%2Fcloud-storage-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohaoo%2Fcloud-storage-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohaoo%2Fcloud-storage-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaohaoo","download_url":"https://codeload.github.com/xiaohaoo/cloud-storage-master/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaohaoo%2Fcloud-storage-master/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270885925,"owners_count":24662522,"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-17T02:00:09.016Z","response_time":129,"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":["java","oss"],"created_at":"2024-11-06T04:26:45.471Z","updated_at":"2025-10-28T17:16:09.381Z","avatar_url":"https://github.com/xiaohaoo.png","language":"Java","readme":"## CloudStorageMaster\n\n云存储工具服务(Cloud Storage Service)，目前仅支持**阿里云OSS**。\n\n### 功能\n\n- [x] 上传文件\n- [x] 下载文件\n- [x] 删除文件\n- [x] 文件断存在\n\n### 使用方法\n\n- groovy\n\n```groovy\nimplementation platform(\"com.xiaohaoo:xiaohao-dependencies:1.0.1\")\nimplementation \"com.xiaohaoo:cloud-storage-master\"\n```\n\n- kotlin\n\n```kotlin\nimplementation(platform(\"com.xiaohaoo.dependencies:xiaohao-dependencies:1.0.1\"))\nimplementation(\"com.xiaohaoo:cloud-storage-master\")\n```\n\n## 使用方法\n\n```java\npublic class Main {\n    public static void main(String[] args) {\n        String accessKeyId = \"accessKeyId\";\n        String accessKeySecret = \"accessKeySecret\";\n        String endpoint = \"https://endpoint\";\n        CloudStorageFactory cloudStorageFactory = new AliyunCloudStorageFactory(accessKeyId, accessKeySecret, endpoint);\n        CloudStorageService cloudStorageService = new CloudStorageService(cloudStorageFactory);\n        cloudStorageService.upload(bucketName, objectName, inputStream);\n    }\n}\n```\n\n## Authors\n\n- [xiaohaoo](https://github.com/xiaohaoo)\n\n## License\n\n[GNU Affero General Public License v3.0](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohaoo%2Fcloud-storage-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaohaoo%2Fcloud-storage-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaohaoo%2Fcloud-storage-master/lists"}