Skip to content

Commit

Permalink
feat: qcloud cos
Browse files Browse the repository at this point in the history
  • Loading branch information
pluveto committed Feb 7, 2022
1 parent 0ae78a6 commit 396435c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ This is also useful with [Typora](https://support.typora.io/Upload-Image/#image-
### Supported Upload Extensions

+ Github
+ QCloudCOS
+ SM.MS
+ Imgur
+ Chevereto
Expand Down
8 changes: 7 additions & 1 deletion config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,11 @@ client_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# Chevereto Uploader
[uploaders.chevereto]
key = "c8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8"
upload_url = "https://chevereto.com/api/v1/upload"
key = "c8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8"

# Qcloudcos Uploader
[uploaders.qcloudcos]
host = "xxx.cos.ap-chengdu.myqcloud.com"
secret_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
secret_key= "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
8 changes: 7 additions & 1 deletion config.sample.zh-CN.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,10 @@ client_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# Chevereto Uploader
[uploaders.chevereto]
upload_url = "https://chevereto.com/api/v1/upload"
key = "c8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8"
key = "c8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8"

# 腾讯云 COS
[uploaders.qcloudcos]
host = "xxx.cos.ap-chengdu.myqcloud.com"
secret_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
secret_key= "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
1 change: 1 addition & 0 deletions docs/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
+ Imgur
+ Chevereto
+ ImgBB
+ 腾讯云 COS

查看更多: `./upgit ext ls`

Expand Down

0 comments on commit 396435c

Please sign in to comment.