diff --git a/README.md b/README.md index c1ba73a..752705a 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ 此外,上传**并没有严格限制文件类型**,理论上你可以上传**任何**文件,但是暂时不会针对图片和视频外的文件进行特殊优化和适配。 -![CloudFlare](https://alist.sanyue.site/d/imgbed/202410011443570.png) +![CloudFlare](static/202410011443570.png) ## 2.Features @@ -74,7 +74,7 @@ > > Cloudflare R2渠道:上传大小不限,但超过免费额度会扣费,详见[Pricing | Cloudflare R2 docs](https://developers.cloudflare.com/r2/pricing/) > - > ![](https://alist.sanyue.site/d/imgbed/202411052346701.png) + > ![](static/202411052346701.png) - **上传方式多样**:支持多种上传方式(**拖拽点击、粘贴**)(Web/API) @@ -153,19 +153,19 @@ 1. 向[@BotFather](https://t.me/BotFather)发送`/newbot`,按照提示输入bot的备注、用户名等信息。成功创建后获得`TG_BOT_TOKEN`。 - ![](https://alist.sanyue.site/d/imgbed/202409071744569.png) + ![](static/202409071744569.png) 2. 创建一个新的频道(Channel),进入新建的频道,选择频道管理,将刚才创建的机器人设为频道管理员。 - ![](https://alist.sanyue.site/d/imgbed/202409071758534.png) + ![](static/202409071758534.png) - ![](https://alist.sanyue.site/d/imgbed/202409071758796.png) + ![](static/202409071758796.png) - ![](https://alist.sanyue.site/d/imgbed/202410291531473.png) + ![](static/202410291531473.png) 3. 向[@VersaToolsBot](https://t.me/VersaToolsBot)**转发**一条第2步新建频道中的消息,获取`TG_CHAT_ID`(频道ID) - ![](https://alist.sanyue.site/d/imgbed/202409071751619.png) + ![](static/202409071751619.png) @@ -176,15 +176,15 @@ 1. 前往Cloudflare Dashboard,选择`R2 存储对象` - ![](https://alist.sanyue.site/d/imgbed/202411052318204.png) + ![](static/202411052318204.png) 2. 选择`创建存储桶`,名称随意,填完后点击`创建存储桶`即可完成创建 - ![](https://alist.sanyue.site/d/imgbed/202411052319402.png) + ![](static/202411052319402.png) 3. 根据需求可选操作:如果**需要启用图像审查,需要开启存储桶的公网访问权限**,有两种开启方式,详见下图。无论你选择哪种方式,都需要记下完整的公网访问链接,格式为`https://xxxx.xxx` - ![image-20241105232759131](https://alist.sanyue.site/d/imgbed/202411052327191.png) + ![image-20241105232759131](static/202411052327191.png) @@ -221,7 +221,7 @@ 2. 打开 Cloudflare Dashboard,进入 Pages 管理页面,选择创建项目,选择`连接到 Git 提供程序` -![1](https://alist.sanyue.site/d/imgbed/202407201047300.png) +![1](static/202407201047300.png) 3. 按照页面提示输入项目名称,选择需要连接的 git 仓库,点击`部署站点` @@ -236,11 +236,11 @@ 将前面新建的存储桶绑定到项目,名称为`img_r2` - ![](https://alist.sanyue.site/d/imgbed/202411052323183.png) + ![](static/202411052323183.png) 如果后续要开启**图像审查**,需要设置`R2PublicUrl`环境变量,值为前面记下的**R2存储桶公网访问链接**: - ![](https://alist.sanyue.site/d/imgbed/202411052330663.png) + ![](static/202411052330663.png) @@ -248,9 +248,9 @@ - 创建一个新的KV数据库 - > ![](https://alist.sanyue.site/d/imgbed/202408261035367.png) + > ![](static/202408261035367.png) > - > ![](https://alist.sanyue.site/d/imgbed/202408261037971.png) + > ![](static/202408261037971.png) - 进入项目对应`设置`->`函数`->`KV 命名空间绑定`->`编辑绑定`->`变量名称`,填写`img_url`,KV命名空间选择刚才创建好的KV数据库 @@ -298,7 +298,7 @@ 正常启动,控制台输出如下: - ![202408191829163](https://alist.sanyue.site/d/imgbed/202408191855625.png) + ![202408191829163](static/202408191855625.png) @@ -403,11 +403,11 @@ Web端在登录页面输入你的**认证码**即可登录使用;API端需要 1. **修改环境变量方式**: -![](https://alist.sanyue.site/d/imgbed/202408261040233.png) +![](static/202408261040233.png) **修改环境变量后需要重新部署才能生效!** -![](https://alist.sanyue.site/d/imgbed/202408261041507.png) +![](static/202408261041507.png) 2. **程序更新方式**: @@ -416,7 +416,7 @@ Web端在登录页面输入你的**认证码**即可登录使用;API端需要 如果有新的环境变量需要添加,请根据文档要求进行添加,然后重试部署。 -![](https://alist.sanyue.site/d/imgbed/202409161736365.png) +![](static/202409161736365.png) @@ -430,9 +430,9 @@ Web端在登录页面输入你的**认证码**即可登录使用;API端需要 ### 4.1Web端使用方式 -![](https://alist.sanyue.site/d/imgbed/202412092301397.png) +![](static/202412092301397.png) -![](https://alist.sanyue.site/d/imgbed/202412092305405.png) +![](static/202412092305405.png) ### 4.2API文档 @@ -567,11 +567,11 @@ Web端在登录页面输入你的**认证码**即可登录使用;API端需要 - PicGo插件设置中搜索`web-uploader`,安装可自定义前缀的版本,如图: - ![](https://alist.sanyue.site/d/imgbed/202408231141491.png) + ![](static/202408231141491.png) - 打开`图床设置`->`自定义Web图床`->`Default`,然后按照下图方式配置,注意API地址和自定义图片URL前缀按照自己的域名进行修改。(**如果设置了`AUTH_CODE`,一定以`?authCode=your_authCode`的方式添加到API地址后面**): - ![](https://alist.sanyue.site/d/imgbed/202408261959174.png) + ![](static/202408261959174.png) - 设置完成,确定即可使用PicGo上传到自建的图床。 diff --git a/static/202407201047300.png b/static/202407201047300.png new file mode 100644 index 0000000..9069fa7 Binary files /dev/null and b/static/202407201047300.png differ diff --git a/static/202408191855625.png b/static/202408191855625.png new file mode 100644 index 0000000..dae0ecf Binary files /dev/null and b/static/202408191855625.png differ diff --git a/static/202408231141491.png b/static/202408231141491.png new file mode 100644 index 0000000..51a0bc4 Binary files /dev/null and b/static/202408231141491.png differ diff --git a/static/202408261035367.png b/static/202408261035367.png new file mode 100644 index 0000000..f6a3dd2 Binary files /dev/null and b/static/202408261035367.png differ diff --git a/static/202408261037971.png b/static/202408261037971.png new file mode 100644 index 0000000..a29b393 Binary files /dev/null and b/static/202408261037971.png differ diff --git a/static/202408261040233.png b/static/202408261040233.png new file mode 100644 index 0000000..8b5a64e Binary files /dev/null and b/static/202408261040233.png differ diff --git a/static/202408261041507.png b/static/202408261041507.png new file mode 100644 index 0000000..28d0192 Binary files /dev/null and b/static/202408261041507.png differ diff --git a/static/202408261959174.png b/static/202408261959174.png new file mode 100644 index 0000000..f88caae Binary files /dev/null and b/static/202408261959174.png differ diff --git a/static/202409071744569.png b/static/202409071744569.png new file mode 100644 index 0000000..b7bce54 Binary files /dev/null and b/static/202409071744569.png differ diff --git a/static/202409071751619.png b/static/202409071751619.png new file mode 100644 index 0000000..6add3cf Binary files /dev/null and b/static/202409071751619.png differ diff --git a/static/202409071758534.png b/static/202409071758534.png new file mode 100644 index 0000000..d701329 Binary files /dev/null and b/static/202409071758534.png differ diff --git a/static/202409071758796.png b/static/202409071758796.png new file mode 100644 index 0000000..80432c3 Binary files /dev/null and b/static/202409071758796.png differ diff --git a/static/202409161736365.png b/static/202409161736365.png new file mode 100644 index 0000000..64c1f6a Binary files /dev/null and b/static/202409161736365.png differ diff --git a/static/202410011443570.png b/static/202410011443570.png new file mode 100644 index 0000000..4f72884 Binary files /dev/null and b/static/202410011443570.png differ diff --git a/static/202410291531473.png b/static/202410291531473.png new file mode 100644 index 0000000..1ea994d Binary files /dev/null and b/static/202410291531473.png differ diff --git a/static/202411052318204.png b/static/202411052318204.png new file mode 100644 index 0000000..2d05c02 Binary files /dev/null and b/static/202411052318204.png differ diff --git a/static/202411052319402.png b/static/202411052319402.png new file mode 100644 index 0000000..90bb669 Binary files /dev/null and b/static/202411052319402.png differ diff --git a/static/202411052323183.png b/static/202411052323183.png new file mode 100644 index 0000000..c53ff60 Binary files /dev/null and b/static/202411052323183.png differ diff --git a/static/202411052327191.png b/static/202411052327191.png new file mode 100644 index 0000000..a0bde43 Binary files /dev/null and b/static/202411052327191.png differ diff --git a/static/202411052330663.png b/static/202411052330663.png new file mode 100644 index 0000000..18adf93 Binary files /dev/null and b/static/202411052330663.png differ diff --git a/static/202411052346701.png b/static/202411052346701.png new file mode 100644 index 0000000..582b4ce Binary files /dev/null and b/static/202411052346701.png differ diff --git a/static/202412092301397.png b/static/202412092301397.png new file mode 100644 index 0000000..95c2a2f Binary files /dev/null and b/static/202412092301397.png differ diff --git a/static/202412092305405.png b/static/202412092305405.png new file mode 100644 index 0000000..4e0c7cb Binary files /dev/null and b/static/202412092305405.png differ