{"id":13494014,"url":"https://github.com/bonaysoft/uptoc","last_synced_at":"2025-12-15T23:43:59.330Z","repository":{"id":38345438,"uuid":"212243716","full_name":"bonaysoft/uptoc","owner":"bonaysoft","description":"A static file deployment tool that supports multiple platforms./ 一个支持多家云厂商的静态文件部署工具","archived":false,"fork":false,"pushed_at":"2023-02-14T16:24:44.000Z","size":133,"stargazers_count":196,"open_issues_count":8,"forks_count":32,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-05T07:35:40.417Z","etag":null,"topics":["cli","cos","deploying","github-actions","oss","publishing","qiniu","s3","storage"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bonaysoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":["saltbo"],"patreon":"saltbo","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-10-02T02:56:07.000Z","updated_at":"2024-11-06T07:05:46.000Z","dependencies_parsed_at":"2024-06-18T20:05:20.452Z","dependency_job_id":"554ff3ad-7ecc-409b-8142-c4ad29e2e86b","html_url":"https://github.com/bonaysoft/uptoc","commit_stats":{"total_commits":104,"total_committers":4,"mean_commits":26.0,"dds":"0.29807692307692313","last_synced_commit":"f6882aa2ac02da37f2b8a8202403ab237130e8f7"},"previous_names":["saltbo/uptoc"],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fuptoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fuptoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fuptoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonaysoft%2Fuptoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bonaysoft","download_url":"https://codeload.github.com/bonaysoft/uptoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248599942,"owners_count":21131394,"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":["cli","cos","deploying","github-actions","oss","publishing","qiniu","s3","storage"],"created_at":"2024-07-31T19:01:20.931Z","updated_at":"2025-12-15T23:43:59.249Z","avatar_url":"https://github.com/bonaysoft.png","language":"Go","readme":"# Uptoc\n\n[![](https://github.com/saltbo/uptoc/workflows/build/badge.svg)](https://github.com/saltbo/uptoc/actions?query=workflow%3Abuild)\n[![](https://codecov.io/gh/saltbo/uptoc/branch/master/graph/badge.svg)](https://codecov.io/gh/saltbo/uptoc)\n[![](https://api.codacy.com/project/badge/Grade/88817db9b3b04c0293c9d001d574a5ef)](https://app.codacy.com/manual/saltbo/uptoc?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=saltbo/uptoc\u0026utm_campaign=Badge_Grade_Dashboard)\n[![](https://img.shields.io/github/v/release/saltbo/uptoc.svg)](https://github.com/saltbo/uptoc/releases)\n[![](https://img.shields.io/github/license/saltbo/uptoc.svg)](https://github.com/saltbo/uptoc/blob/master/LICENSE)\n\nEnglish | [🇨🇳中文](https://saltbo.cn/uptoc)\n\n## Run environment\n- Mac\n- Linux\n- Windows\n\n## Support Driver \n- Aliyun OSS\n- Tencent COS\n- Qiniu Kodo\n- Google Storage\n- AWS S3\n\n## Install the pre-compiled binary\n\n**homebrew tap**:\n\n```bash\nbrew install saltbo/bin/uptoc\n```\n\n**homebrew** (may not be the latest version):\n\n```bash\nbrew install uptoc\n```\n\n**deb/rpm**:\n\nDownload the `.deb` or `.rpm` from the [releases page](https://github.com/saltbo/uptoc/releases) and\ninstall with `dpkg -i` and `rpm -i` respectively.\n\n**Shell script**:\n\n```bash\ncurl -sSf https://uptoc.saltbo.cn/install.sh | sh\n```\n\n**manually**:\n\nDownload the pre-compiled binaries from the [releases page](https://github.com/saltbo/uptoc/releases) and\ncopy to the desired location.\n\n## Usage\n\n### Basic\n```bash\nuptoc --driver oss --region cn-beijing --access_key LTAI4FxxxxxxxBXmS3 --secret_key Vt1FZgxxxxxxxxxxxxKp380AI --bucket demo-bucket /opt/blog/public\n```\n\nAnd the access-key and access-secret support settings by the system environment\n```bash\nexport UPTOC_UPLOADER_AK=LTAI4FxxxxxxxBXmS3\nexport UPTOC_UPLOADER_SK=Vt1FZgxxxxxxxxxxxxKp380AI\n\nuptoc --driver oss --region cn-beijing --bucket blog-bucket /opt/blog/public\n```\n\n### Github Actions\n\nSee [action.yml](action.yml)\n\n```yml\nsteps:\n  - name: Deploy\n    uses: saltbo/uptoc@master\n    with:\n      driver: oss\n      region: cn-zhangjiakou\n      bucket: saltbo-blog\n      exclude: .cache,test\n      dist: public\n    env:\n      UPTOC_UPLOADER_AK: ${{ secrets.UPTOC_UPLOADER_KEYID }}\n      UPTOC_UPLOADER_SK: ${{ secrets.UPTOC_UPLOADER_KEYSECRET }}\n```\n\n## Args Examples\n| driver | bucket | region | region enum |\n| -----  | --------- | ------ | ---- |\n| oss    | ut-uptoc  | cn-hangzhou | [Regions](https://help.aliyun.com/document_detail/31837.html?spm=a2c4g.11186623.2.12.5fdb25b7xyEcuF#concept-zt4-cvy-5db)  |\n| cos    | ut-uptoc-1255970412 | ap-shanghai  |  [Regions](https://cloud.tencent.com/document/product/436/6224)  |\n| qiniu  | ut-uptoc  | cn-east-1 |  [Regions](https://developer.qiniu.com/kodo/manual/4088/s3-access-domainname)  |\n| google | ut-uptoc  | auto  | - |\n| s3     | ut-uptoc  | ap-northeast-1  |  [Regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints)  |\n\n## Contributing\nSee [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.\n\n## Contact us\n- [Author Blog](https://saltbo.cn).\n\n## Author\n- [Saltbo](https://github.com/saltbo)\n\n## License\n- [MIT](https://github.com/saltbo/uptoc/blob/master/LICENSE)\n","funding_links":["https://github.com/sponsors/saltbo","https://patreon.com/saltbo"],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonaysoft%2Fuptoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbonaysoft%2Fuptoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonaysoft%2Fuptoc/lists"}