From bc77caabf04acfc5f7c203b90694d4079c7339f5 Mon Sep 17 00:00:00 2001 From: krau Date: Thu, 4 Dec 2025 14:59:53 +0000 Subject: [PATCH] deploy: 91814a83c76b67ea1abb4e66b12537374f56c556 --- deployment/configuration/index.html | 6 ++--- deployment/configuration/index.xml | 8 +++--- deployment/configuration/storages/index.html | 27 ++++++++++--------- en/deployment/configuration/index.html | 6 ++--- .../configuration/storages/index.html | 23 ++++++++-------- en/index.html | 10 +++---- en/sitemap.xml | 2 +- index.html | 10 +++---- index.xml | 8 +++--- sitemap.xml | 2 +- zh/sitemap.xml | 2 +- 11 files changed, 53 insertions(+), 51 deletions(-) diff --git a/deployment/configuration/index.html b/deployment/configuration/index.html index 0a05e22..ed55b05 100644 --- a/deployment/configuration/index.html +++ b/deployment/configuration/index.html @@ -129,7 +129,7 @@ SaveAnyBot 需要读取工作目录下的 config.toml 文件作为配置文件, enable = false session = "data/usersession.db"

存储端列表 -#

存储端列表用于定义 Bot 支持的存储位置, 每个存储端需要指定名称、类型和相关配置, 使用双中括号语法 [[storages]] 定义.

每一个存储端至少需要以下字段:

示例, 这是一个包含本地存储和 webdav 存储的配置:

[[storages]]
+#

存储端列表用于定义 Bot 支持的存储位置, 每个存储端需要指定名称、类型和相关配置, 使用双中括号语法 [[storages]] 定义.

每一个存储端至少需要以下字段:

  • name: 存储端名称, 用于在 Bot 中识别, 需要唯一
  • enable: 是否启用该存储端, 默认为 true
  • type: 存储端类型, 目前支持以下类型:
    • local: 本地磁盘
    • alist: Alist
    • webdav: WebDAV
    • s3: aws S3 及其他兼容 S3 的服务
    • telegram: 上传到 Telegram

示例, 这是一个包含本地存储和 webdav 存储的配置:

[[storages]]
 name = "本地存储"
 type = "local"
 enable = true
@@ -174,6 +174,6 @@ SaveAnyBot 需要读取工作目录下的 config.toml 文件作为配置文件,
 # 临时下载文件夹配置
 [temp]
 base_path = "./cache"
-
\ No newline at end of file diff --git a/deployment/configuration/index.xml b/deployment/configuration/index.xml index b7fbd82..1ed07cd 100644 --- a/deployment/configuration/index.xml +++ b/deployment/configuration/index.xml @@ -32,8 +32,8 @@ </span></span><span style="display:flex;"><span><span style="color:#a6e22e">username</span> = <span style="color:#e6db74">&#34;your_username&#34;</span> <span style="color:#75715e"># WebDAV</span> </span></span><span style="display:flex;"><span><span style="color:#a6e22e">password</span> = <span style="color:#e6db74">&#34;your_password&#34;</span> <span style="color:#75715e"># WebDAV 的密码</span> </span></span><span style="display:flex;"><span><span style="color:#a6e22e">base_path</span> = <span style="color:#e6db74">&#34;/path/to/webdav&#34;</span> <span style="color:#75715e"># WebDAV 中的基础路径, 所有文件将存储在此路径下</span> -</span></span></code></pre></div><h2 id="minio-s3"> - MinIO (S3) - <a class="anchor" href="#minio-s3">#</a> +</span></span></code></pre></div><h2 id="s3"> + S3 + <a class="anchor" href="#s3">#</a> </h2> -<p><code>type=minio</code></p> \ No newline at end of file +<p><code>type=s3</code></p> \ No newline at end of file diff --git a/deployment/configuration/storages/index.html b/deployment/configuration/storages/index.html index 91d4108..ef4142d 100644 --- a/deployment/configuration/storages/index.html +++ b/deployment/configuration/storages/index.html @@ -33,18 +33,18 @@ username = "your_username" # WebDAV password = "your_password" # WebDAV 的密码 base_path = "/path/to/webdav" # WebDAV 中的基础路径, 所有文件将存储在此路径下 - MinIO (S3) + S3 # -type=minio'>存储端配置 | Save Any Bot +url = "https://webdav.example.com" # WebDAV 的 URL username = "your_username" # WebDAV password = "your_password" # WebDAV 的密码 base_path = "/path/to/webdav" # WebDAV 中的基础路径, 所有文件将存储在此路径下 S3 # type=s3'>存储端配置 | Save Any Bot

存储端配置

存储端配置

存储端配置 #

请先阅读 配置说明 了解配置文件的基本格式.

Alist #

type=alist

不支持 Stream 模式.

url = "https://alist.example.com" # Alist 的 URL
 username = "your_username"  # Alist 的用户名
@@ -61,15 +61,16 @@ url = "https://webdav.example.com" # WebDAV 的 URL username = "your_username" #
 username = "your_username"  # WebDAV
 password = "your_password" # WebDAV 的密码
 base_path = "/path/to/webdav" # WebDAV 中的基础路径, 所有文件将存储在此路径下
-

MinIO (S3) -#

type=minio

endpoint = "minio.example.com" # MinIO 或 S3 的端点
-access_key_id = "your_access_key_id" # MinIO 或 S3 的访问密钥 ID
-secret_access_key = "your_secret_access_key" # MinIO 或 S3 的秘密访问密钥
-bucket_name = "your_bucket_name" # MinIO 或 S3 的存储桶名称
+

S3 +#

type=s3

endpoint = "s3.example.com" # S3 的端点
+region = "us-east-1" # S3 的区域
+access_key_id = "your_access_key_id" # S3 的访问密钥 ID
+secret_access_key = "your_secret_access_key" # S3 的秘密访问密钥
+bucket_name = "your_bucket_name" # S3 的存储桶名称
 use_ssl = true # 是否使用 SSL, 默认为 true
-base_path = "/path/to/minio" # MinIO 中的基础路径, 所有文件将存储在此路径下
+base_path = "/path/to/s3" # S3 中的基础路径, 所有文件将存储在此路径下
 

Telegram #

type=telegram

不支持 Stream 模式.

chat_id = "123456789" # Telegram 聊天 ID, Bot 将把文件发送到这个聊天
-
\ No newline at end of file +
\ No newline at end of file diff --git a/en/deployment/configuration/index.html b/en/deployment/configuration/index.html index 09af049..f660a90 100644 --- a/en/deployment/configuration/index.html +++ b/en/deployment/configuration/index.html @@ -36,7 +36,7 @@ English

Storage Configuration

Storage Configuration #

Please first read the Configuration Guide to understand the basic format of the configuration file.

Alist #

type=alist

Stream mode is not supported.

MinIO (S3) -#

type=minio

endpoint = "minio.example.com" # Endpoint for MinIO or S3
-access_key_id = "your_access_key_id" # Access key ID for MinIO or S3
-secret_access_key = "your_secret_access_key" # Secret access key for MinIO or S3
-bucket_name = "your_bucket_name" # Bucket name for MinIO or S3
+

S3 +#

type=s3

endpoint = "s3.example.com" # Endpoint for S3
+region = "us-east-1" # Region for S3
+access_key_id = "your_access_key_id" # Access key ID for S3
+secret_access_key = "your_secret_access_key" # Secret access key for S3
+bucket_name = "your_bucket_name" # Bucket name for S3
 use_ssl = true # Whether to use SSL, default is true
-base_path = "/path/to/minio" # Base path in MinIO, all files will be stored under this path
+base_path = "/path/to/s3" # Base path in S3, all files will be stored under this path
 

Telegram #

type=telegram

Stream mode is not supported.

chat_id = "123456789" # Telegram chat ID, the Bot will send files to this chat
-
\ No newline at end of file +
\ No newline at end of file diff --git a/en/index.html b/en/index.html index cf6bed1..8969c95 100644 --- a/en/index.html +++ b/en/index.html @@ -21,7 +21,7 @@ Automatic organization based on storage rules Supports multiple storage backends: Alist -Minio (S3 compatible) +S3 WebDAV Telegram (re-upload to specified chat) Local disk @@ -33,7 +33,7 @@ Local disk # ">Introduction | Save Any Bot +Features # Supports documents/videos/images/stickers… and even Telegraph Breaks restrictions on saving files Batch download Streaming Multi-user Automatic organization based on storage rules Supports multiple storage backends: Alist S3 WebDAV Telegram (re-upload to specified chat) Local disk Contributors #">Introduction | Save Any Bot

Introduction

Save Any Bot @@ -41,7 +41,7 @@ English
  • Save Any Bot is a tool that allows you to save files from Telegram to various storage backends.

    Features -#

    • Supports documents/videos/images/stickers… and even Telegraph
    • Breaks restrictions on saving files
    • Batch download
    • Streaming
    • Multi-user
    • Automatic organization based on storage rules
    • Supports multiple storage backends:
      • Alist
      • Minio (S3 compatible)
      • WebDAV
      • Telegram (re-upload to specified chat)
      • Local disk

    Contributors -#

    Contributors

+#
  • Supports documents/videos/images/stickers… and even Telegraph
  • Breaks restrictions on saving files
  • Batch download
  • Streaming
  • Multi-user
  • Automatic organization based on storage rules
  • Supports multiple storage backends:
    • Alist
    • S3
    • WebDAV
    • Telegram (re-upload to specified chat)
    • Local disk

Contributors +#

Contributors

\ No newline at end of file diff --git a/en/sitemap.xml b/en/sitemap.xml index 80d722a..72d4197 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -1 +1 @@ -https://sabot.unv.app/en/deployment/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/usage/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/help/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/contribute/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/categories/https://sabot.unv.app/en/deployment/configuration/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/deployment/installation/2025-08-24T14:47:13+08:00https://sabot.unv.app/en/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/deployment/configuration/storages/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/tags/ \ No newline at end of file +https://sabot.unv.app/en/deployment/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/usage/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/help/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/contribute/2025-06-16T16:30:45+08:00https://sabot.unv.app/en/categories/https://sabot.unv.app/en/deployment/configuration/2025-12-04T22:59:23+08:00https://sabot.unv.app/en/deployment/installation/2025-08-24T14:47:13+08:00https://sabot.unv.app/en/2025-12-04T22:59:23+08:00https://sabot.unv.app/en/deployment/configuration/storages/2025-12-04T22:59:23+08:00https://sabot.unv.app/en/tags/ \ No newline at end of file diff --git a/index.html b/index.html index 44dd2bd..b6952bd 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ 存储端支持: Alist -S3 (MinioSDK) +S3 WebDAV 本地磁盘 Telegram (重传回指定聊天) @@ -35,7 +35,7 @@ Telegram (重传回指定聊天) # ">介绍 | Save Any Bot +🎯 特性 # 支持文档/视频/图片/贴纸…甚至还有 Telegraph 破解禁止保存的文件 批量下载 流式传输 多用户使用 基于存储规则的自动整理 监听并自动转存指定聊天的消息, 支持过滤 使用 js 编写解析器插件以转存任意网站的文件 存储端支持: Alist S3 WebDAV 本地磁盘 Telegram (重传回指定聊天) 贡献者 #">介绍 | Save Any Bot

介绍

Save Any Bot @@ -43,7 +43,7 @@ Telegram (重传回指定聊天)

把 Telegram 上的文件转存到多种存储端.

🎯 特性 -#

  • 支持文档/视频/图片/贴纸…甚至还有 Telegraph
  • 破解禁止保存的文件
  • 批量下载
  • 流式传输
  • 多用户使用
  • 基于存储规则的自动整理
  • 监听并自动转存指定聊天的消息, 支持过滤
  • 使用 js 编写解析器插件以转存任意网站的文件
  • 存储端支持:
    • Alist
    • S3 (MinioSDK)
    • WebDAV
    • 本地磁盘
    • Telegram (重传回指定聊天)

贡献者 -#

Contributors

+#
  • 支持文档/视频/图片/贴纸…甚至还有 Telegraph
  • 破解禁止保存的文件
  • 批量下载
  • 流式传输
  • 多用户使用
  • 基于存储规则的自动整理
  • 监听并自动转存指定聊天的消息, 支持过滤
  • 使用 js 编写解析器插件以转存任意网站的文件
  • 存储端支持:
    • Alist
    • S3
    • WebDAV
    • 本地磁盘
    • Telegram (重传回指定聊天)

贡献者 +#

Contributors

\ No newline at end of file diff --git a/index.xml b/index.xml index 0223d93..4bf49a7 100644 --- a/index.xml +++ b/index.xml @@ -142,8 +142,8 @@ reload() { </span></span><span style="display:flex;"><span><span style="color:#a6e22e">username</span> = <span style="color:#e6db74">&#34;your_username&#34;</span> <span style="color:#75715e"># WebDAV</span> </span></span><span style="display:flex;"><span><span style="color:#a6e22e">password</span> = <span style="color:#e6db74">&#34;your_password&#34;</span> <span style="color:#75715e"># WebDAV 的密码</span> </span></span><span style="display:flex;"><span><span style="color:#a6e22e">base_path</span> = <span style="color:#e6db74">&#34;/path/to/webdav&#34;</span> <span style="color:#75715e"># WebDAV 中的基础路径, 所有文件将存储在此路径下</span> -</span></span></code></pre></div><h2 id="minio-s3"> - MinIO (S3) - <a class="anchor" href="#minio-s3">#</a> +</span></span></code></pre></div><h2 id="s3"> + S3 + <a class="anchor" href="#s3">#</a> </h2> -<p><code>type=minio</code></p> \ No newline at end of file +<p><code>type=s3</code></p> \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 2a7c07b..9abd883 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://sabot.unv.app/zh/sitemap.xml2025-09-13T10:21:10+08:00https://sabot.unv.app/en/sitemap.xml2025-08-24T14:47:13+08:00 \ No newline at end of file +https://sabot.unv.app/zh/sitemap.xml2025-12-04T22:59:23+08:00https://sabot.unv.app/en/sitemap.xml2025-12-04T22:59:23+08:00 \ No newline at end of file diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 767c26e..9811389 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -1 +1 @@ -https://sabot.unv.app/deployment/2025-06-16T15:58:03+08:00https://sabot.unv.app/usage/2025-08-23T20:42:51+08:00https://sabot.unv.app/help/2025-06-16T15:58:03+08:00https://sabot.unv.app/contribute/2025-08-23T20:42:51+08:00https://sabot.unv.app/categories/https://sabot.unv.app/tags/https://sabot.unv.app/deployment/installation/2025-08-24T14:47:13+08:00https://sabot.unv.app/deployment/configuration/storages/2025-06-16T15:58:03+08:00https://sabot.unv.app/2025-08-22T10:02:44+08:00https://sabot.unv.app/deployment/configuration/2025-09-13T10:21:10+08:00 \ No newline at end of file +https://sabot.unv.app/deployment/2025-06-16T15:58:03+08:00https://sabot.unv.app/usage/2025-08-23T20:42:51+08:00https://sabot.unv.app/help/2025-06-16T15:58:03+08:00https://sabot.unv.app/contribute/2025-08-23T20:42:51+08:00https://sabot.unv.app/categories/https://sabot.unv.app/tags/https://sabot.unv.app/deployment/installation/2025-08-24T14:47:13+08:00https://sabot.unv.app/deployment/configuration/storages/2025-12-04T22:59:23+08:00https://sabot.unv.app/2025-12-04T22:59:23+08:00https://sabot.unv.app/deployment/configuration/2025-12-04T22:59:23+08:00 \ No newline at end of file