Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

uptoc

> DevOps
Open source

A static file deployment tool that supports multiple platforms.

193 stars0 likes2 views
WebsiteGitHub

About

A static file deployment tool that supports multiple platforms.

Uptoc

English | 中文

Run environment

  • Mac
  • Linux
  • Windows

Support Driver

  • Aliyun OSS
  • Tencent COS
  • Qiniu Kodo
  • Google Storage
  • AWS S3

Install the pre-compiled binary

homebrew tap:

bash
brew install saltbo/bin/uptoc

homebrew (may not be the latest version):

bash
brew install uptoc

deb/rpm:

Download the .deb or .rpm from the releases page and install with dpkg -i and rpm -i respectively.

Shell script:

bash
curl -sSf https://uptoc.saltbo.cn/install.sh | sh

manually:

Download the pre-compiled binaries from the releases page and copy to the desired location.

Usage

Basic

bash
uptoc --driver oss --region cn-beijing --access_key LTAI4FxxxxxxxBXmS3 --secret_key Vt1FZgxxxxxxxxxxxxKp380AI --bucket demo-bucket /opt/blog/public

And the access-key and access-secret support settings by the system environment

bash
export UPTOC_UPLOADER_AK=LTAI4FxxxxxxxBXmS3
export UPTOC_UPLOADER_SK=Vt1FZgxxxxxxxxxxxxKp380AI

uptoc --driver oss --region cn-beijing --bucket blog-bucket /opt/blog/public

Github Actions

See action.yml

yaml
steps:
  - name: Deploy
    uses: saltbo/uptoc@master
    with:
      driver: oss
      region: cn-zhangjiakou
      bucket: saltbo-blog
      exclude: .cache,test
      dist: public
    env:
      UPTOC_UPLOADER_AK: ${{ secrets.UPTOC_UPLOADER_KEYID }}
      UPTOC_UPLOADER_SK: ${{ secrets.UPTOC_UPLOADER_KEYSECRET }}

Args Examples

driver bucket region region enum
oss ut-uptoc cn-hangzhou Regions
cos ut-uptoc-1255970412 ap-shanghai Regions
qiniu ut-uptoc cn-east-1 Regions
google ut-uptoc auto -
s3 ut-uptoc ap-northeast-1 Regions

Contributing

See CONTRIBUTING for details on submitting patches and the contribution workflow.

Contact us

  • Author Blog.

Author

  • Saltbo

License

  • MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goclicosdeployinggithub-actions

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理