id: 1465f904657e4d0d8829032a96148e03
parent_id: 
item_type: 1
item_id: 02c23617b92e4bd09adbbcd3f5f6b008
item_updated_time: 1764344825704
title_diff: "[{\"diffs\":[[1,\"Sublink Worker API 使用指南 (易懂版)\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":29}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Sublink Worker API 使用指南 (易懂版)</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.markdown\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"42631\\\"></a>\\\r\\\n<h1>Sublink Worker API 使用指南 (易懂版)</h1>\\\r\\\n\\\r\\\n<div><span><div style=\\\"font-size: 14px; margin: 0; padding: 0; width: 100%;\\\"><h1 style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700; font-size: 41px; border-bottom: 3px double #999; color: #000; margin-top: 14px;\\\">Sublink Worker API 使用指南 (易懂版)</h1>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">这是做什么用的？</strong></p>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\">这个 API 允许您不通过网页界面，直接向您的 Worker 发送请求，来完成以下事情：</p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">将订阅链接或节点分享 URL 转换为 SingBox, Clash, Surge 的配置文件或 Xray 的节点列表。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">生成转换后链接的短链接。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">保存您自定义的基础配置文件（用于 SingBox 或 Clash）。</li>\\\n</ul>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">往哪里发送请求？ (Base URL)</strong></p>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\">您需要将所有 API 请求发送到您部署成功的 Worker 的访问地址。例如：<br/>\\\n<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">https://您的Worker名称.您的账户名称.workers.dev</code><br/>\\\n或者您绑定的自定义域名地址。</p>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">核心功能端点 (Endpoints)</strong></p>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\">API 提供了几个不同的“入口”来完成不同的任务：</p>\\\n<ol style=\\\"line-height: 160%; box-sizing: content-box; display: block; padding-left: 30px; margin: 6px 0 10px; color: #333; list-style-type: decimal;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">生成客户端配置 (Generate Client Configs)</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">功能：</strong> 将输入的订阅链接/节点转换为特定客户端能用的配置。</p>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">支持的客户端和路径：</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">SingBox 配置: <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/singbox</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">Clash 配置: <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/clash</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">Surge 配置: <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/surge</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">Xray 节点列表 (Base64 格式): <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/xray</code></li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">HTTP 方法：</strong> 通常使用 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET</code> 请求。</p>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">重要参数 (放在 URL 后面，用 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">?</code> 连接第一个，用 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">&amp;</code> 连接后续参数)：</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">config</code> (<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">必须</strong>):\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">这是您要转换的订阅链接或节点信息。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">可以放一个或多个订阅链接、Base64 编码的订阅，或单个节点分享 URL。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">多个内容请用<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">换行符</strong> (<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">%0A</code> 进行 URL 编码后) 分隔。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">重要：</strong> 整个 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">config</code> 参数的值必须进行 <strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">URL 编码</strong>！</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">selectedRules</code> (可选):\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">选择预定义的规则集，或者指定您要包含的规则名称列表。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">可以是预定义名称之一（字符串）：<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">minimal</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">balanced</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">comprehensive</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">也可以是您想包含的规则名称组成的 JSON 数组，并且需要进行 URL 编码。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">customRules</code> (可选):\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">如果您想添加自定义的路由规则，需要提供一个描述规则的 JSON 数组，并进行 URL 编码。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">每个自定义规则的格式请看下面的“自定义规则”说明。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">pin</code> (可选):\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">一个布尔值 (<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">true</code> 或 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">false</code>)。如果设置为 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">true</code>，您的 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">customRules</code> 会被放在 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">selectedRules</code> 生成的规则<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">之前</strong>，这样自定义规则会优先匹配。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">configId</code> (可选):\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">如果您之前保存了自定义的基础配置文件，这里填写保存时获得的配置 ID。Worker 会加载该基础配置再进行转换。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">ua</code> (可选):\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">自定义 User-Agent 字符串，用于 Worker 去获取 http/s 订阅内容时使用（默认是 curl/7.74.0）。</li>\\\n</ul>\\\n</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">响应：</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/singbox</code>: 返回 JSON 格式的 SingBox 配置。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/clash</code>: 返回 YAML 格式的 Clash 配置。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/surge</code>: 返回文本格式的 Surge 配置。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/xray</code>: 返回包含所有合并节点的 <strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">Base64 编码字符串</strong>（这是原始节点列表，不是客户端配置文件）。</li>\\\n</ul>\\\n</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">URL 缩短与重定向 (URL Shortening and Redirection)</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">功能：</strong> 将一个很长的转换链接生成一个短链接。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">生成短链接端点：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/shorten</code> 或 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/shorten-v2</code>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">HTTP 方法：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">参数：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">url</code> (<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">必须</strong>，需要 URL 编码的原始长链接)。 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/shorten-v2</code> 还支持可选的 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">shortCode</code> 参数来自定义短链接路径。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">响应 (<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/shorten</code>)：</strong> 返回一个 JSON 对象，包含生成的短链接，例如 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">{&quot;shortUrl&quot;: &quot;https://your-worker-domain.workers.dev/s/abcdefg&quot;}</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">响应 (<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/shorten-v2</code>)：</strong> 返回生成的短代码字符串。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">重定向短链接端点：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/s/{shortCode}</code> (也可能支持 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/b/</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/c/</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/x/</code> 等前缀，取决于生成时的类型)\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">功能：</strong> 访问这个 URL 会自动重定向到原始的长转换链接。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">HTTP 方法：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">参数：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">{shortCode}</code> 是您生成的短代码。</li>\\\n</ul>\\\n</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">保存自定义配置 (Save Custom Configuration)</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">功能：</strong> 将您的自定义 SingBox 或 Clash 基础配置文件保存在 Cloudflare KV 中，以便后续通过 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">configId</code> 使用。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">端点：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/config</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">HTTP 方法：</strong> <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">POST</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">Content-Type：</strong> 必须是 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">application/json</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">请求体：</strong> 一个 JSON 对象，包含：<pre style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; margin: 2px 0 8px; background-color: #f5f7f8;\\\"><code style=\\\"display: block; overflow-x: auto; background: #1e1e1e; line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; letter-spacing: -.3px; padding: 18px; color: #f4f4f4; white-space: pre-wrap;\\\">{\\\n  <span style=\\\"color: #9cdcfe; line-height: 160%; box-sizing: content-box;\\\">&quot;type&quot;</span>: <span style=\\\"color: #d69d85; line-height: 160%; box-sizing: content-box;\\\">&quot;clash&quot;</span> | <span style=\\\"color: #d69d85; line-height: 160%; box-sizing: content-box;\\\">&quot;singbox&quot;</span>,  <span style=\\\"color: #57a64a; font-style: italic; line-height: 160%; box-sizing: content-box;\\\">// 配置类型，字符串</span>\\\n  <span style=\\\"color: #9cdcfe; line-height: 160%; box-sizing: content-box;\\\">&quot;content&quot;</span>: <span style=\\\"color: #d69d85; line-height: 160%; box-sizing: content-box;\\\">&quot;配置内容的字符串&quot;</span>  <span style=\\\"color: #57a64a; font-style: italic; line-height: 160%; box-sizing: content-box;\\\">// 您的配置内容，SingBox 为 JSON 字符串，Clash 为 YAML 或 JSON 字符串</span>\\\n}\\\n</code></pre>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">响应：</strong>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">成功：返回一个包含配置 ID 的文本字符串。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">失败：返回错误信息 (400 状态码)。</li>\\\n</ul>\\\n</li>\\\n</ul>\\\n</li>\\\n</ol>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">规则说明 (Rule Details)</strong></p>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\">在生成客户端配置的端点中，您可以指定规则。</p>\\\n<ol style=\\\"line-height: 160%; box-sizing: content-box; display: block; padding-left: 30px; margin: 6px 0 10px; color: #333; list-style-type: decimal;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">预定义规则集 (<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">selectedRules</code>)：</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">可以直接使用以下名称（字符串）：<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">minimal</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">balanced</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">comprehensive</code>。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">如果想选择预定义规则中的一部分，可以将规则的<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">名称</strong>（如 &quot;Ad Block&quot;, &quot;Google&quot; 等，请参考项目文档中预定义规则的名称列表）放在一个 JSON 数组中作为 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">selectedRules</code> 参数的值。例如：<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">[&quot;Ad Block&quot;, &quot;Google&quot;]</code>，然后进行 URL 编码。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">这些规则的具体站点/IP 列表可以在项目文档的 API 说明中找到。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">自定义规则 (<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">customRules</code>)：</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\">如果您需要添加不在预定义规则中的规则，可以构建一个自定义规则对象组成的 JSON 数组。</p>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\">每个自定义规则对象可以包含以下字段（填写您需要的即可，其他可以留空字符串或空数组）：</p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333; margin-top: 0; margin-bottom: 0;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">site</code>: Geo-Site 规则名称数组 (字符串)。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">ip</code>: Geo-IP 规则名称数组 (字符串)。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">domain_suffix</code>: 域名后缀数组 (字符串)。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">domain_keyword</code>: 域名关键词数组 (字符串)。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">ip_cidr</code>: IP CIDR 数组 (字符串)。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">protocol</code>: 协议类型数组 (字符串，如 &quot;http&quot;, &quot;tls&quot;, &quot;dns&quot;)。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">outbound</code> (<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">必须</strong>): 这个规则匹配到的流量将使用哪个出站（代理组）名称。</li>\\\n</ul>\\\n</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\">\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; color: #333; margin: 0;\\\">示例 (已 URL 编码，实际发送到 API 的): <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">%5B%7B%22site%22%3A%5B%22example.com%22%5D%2C%22outbound%22%3A%22MyCustomRule%22%7D%5D</code> (对应 JSON: <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">[{&quot;site&quot;:[&quot;example.com&quot;],&quot;outbound&quot;:&quot;MyCustomRule&quot;}]</code>)</p>\\\n</li>\\\n</ul>\\\n</li>\\\n</ol>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">其他重要信息</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">错误处理：</strong> API 会返回标准的 HTTP 状态码（如 400 表示请求错误，404 表示未找到，500 表示服务器内部错误）和相应的错误信息文本。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">URL 编码：</strong> 记住，包含特殊字符（特别是订阅链接本身）的参数值（尤其是 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">config</code> 和包含 JSON 的参数如 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">selectedRules</code>, <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">customRules</code>）<strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">必须</strong>进行 URL 编码。</li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">短链接有效期：</strong> 通过 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">/shorten</code> 生成的短链接存储在 KV 中，可能存在一定的有效期限制（项目文档中提到保存配置是 30 天，短链接可能类似或由 Cloudflare KV 的 TTL 决定）。</li>\\\n</ul>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">示例 (简化的 API 调用形式，实际使用需要 URL 编码)：</strong></p>\\\n<ul style=\\\"line-height: 160%; box-sizing: content-box; display: block; list-style-type: disc; padding-left: 30px; margin: 6px 0 10px; color: #333;\\\">\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">获取 SingBox 配置 (使用平衡规则集)：</strong><br/>\\\n<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET /singbox?config=vmess://your_node&amp;selectedRules=balanced</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">获取 Clash 配置 (包含来自两个订阅的节点)：</strong><br/>\\\n<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET /clash?config=http://sub1.com%0Ahttp://sub2.com</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">获取 Xray 列表 (合并两个节点)：</strong><br/>\\\n<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET /xray?config=vmess://node1%0Ass://node2</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">生成短链接：</strong><br/>\\\n<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">GET /shorten?url=https://your-worker-domain/singbox?config=...</code></li>\\\n<li style=\\\"line-height: 160%; box-sizing: content-box; position: relative;\\\"><strong style=\\\"line-height: 160%; box-sizing: content-box; font-weight: 700;\\\">保存自定义 Clash 配置：</strong><br/>\\\n<code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">POST /config</code> (请求体为 JSON: <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">{&quot;type&quot;: &quot;clash&quot;, &quot;content&quot;: &quot;port: 7890\\\\\n...&quot;}</code>)</li>\\\n</ul>\\\n<hr style=\\\"line-height: 160%; box-sizing: content-box; border-top: 1px solid #eee; margin: 16px 0;\\\"/>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\">您可以将上面的 Markdown 内容复制到文本文件中（保存为 <code style=\\\"line-height: 160%; box-sizing: content-box; border: 0; border-radius: 0; color: #c1788b; padding: 4px 4px 2px 0; letter-spacing: -.3px;\\\">.md</code> 扩展名），然后尝试使用我们提到的方法将其转换为 PDF 或其他适合您电子阅读器的格式。</p>\\\n<p style=\\\"line-height: 160%; box-sizing: content-box; margin: 10px 0; color: #333;\\\">希望这些信息能在您的旅途中帮助您更好地研究 Sublink Worker！</p>\\\n</div><center style=\\\"display:none !important;visibility:collapse !important;height:0 !important;white-space:nowrap;width:100%;overflow:hidden\\\">%23%20Sublink%20Worker%20API%20%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97%20(%E6%98%93%E6%87%82%E7%89%88)%0A%0A**%E8%BF%99%E6%98%AF%E5%81%9A%E4%BB%80%E4%B9%88%E7%94%A8%E7%9A%84%EF%BC%9F**%0A%0A%E8%BF%99%E4%B8%AA%20API%20%E5%85%81%E8%AE%B8%E6%82%A8%E4%B8%8D%E9%80%9A%E8%BF%87%E7%BD%91%E9%A1%B5%E7%95%8C%E9%9D%A2%EF%BC%8C%E7%9B%B4%E6%8E%A5%E5%90%91%E6%82%A8%E7%9A%84%20Worker%20%E5%8F%91%E9%80%81%E8%AF%B7%E6%B1%82%EF%BC%8C%E6%9D%A5%E5%AE%8C%E6%88%90%E4%BB%A5%E4%B8%8B%E4%BA%8B%E6%83%85%EF%BC%9A%0A%0A*%20%E5%B0%86%E8%AE%A2%E9%98%85%E9%93%BE%E6%8E%A5%E6%88%96%E8%8A%82%E7%82%B9%E5%88%86%E4%BA%AB%20URL%20%E8%BD%AC%E6%8D%A2%E4%B8%BA%20SingBox%2C%20Clash%2C%20Surge%20%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E6%88%96%20Xray%20%E7%9A%84%E8%8A%82%E7%82%B9%E5%88%97%E8%A1%A8%E3%80%82%0A*%20%E7%94%9F%E6%88%90%E8%BD%AC%E6%8D%A2%E5%90%8E%E9%93%BE%E6%8E%A5%E7%9A%84%E7%9F%AD%E9%93%BE%E6%8E%A5%E3%80%82%0A*%20%E4%BF%9D%E5%AD%98%E6%82%A8%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%88%E7%94%A8%E4%BA%8E%20SingBox%20%E6%88%96%20Clash%EF%BC%89%E3%80%82%0A%0A**%E5%BE%80%E5%93%AA%E9%87%8C%E5%8F%91%E9%80%81%E8%AF%B7%E6%B1%82%EF%BC%9F%20(Base%20URL)**%0A%0A%E6%82%A8%E9%9C%80%E8%A6%81%E5%B0%86%E6%89%80%E6%9C%89%20API%20%E8%AF%B7%E6%B1%82%E5%8F%91%E9%80%81%E5%88%B0%E6%82%A8%E9%83%A8%E7%BD%B2%E6%88%90%E5%8A%9F%E7%9A%84%20Worker%20%E7%9A%84%E8%AE%BF%E9%97%AE%E5%9C%B0%E5%9D%80%E3%80%82%E4%BE%8B%E5%A6%82%EF%BC%9A%0A%60https%3A%2F%2F%E6%82%A8%E7%9A%84Worker%E5%90%8D%E7%A7%B0.%E6%82%A8%E7%9A%84%E8%B4%A6%E6%88%B7%E5%90%8D%E7%A7%B0.workers.dev%60%0A%E6%88%96%E8%80%85%E6%82%A8%E7%BB%91%E5%AE%9A%E7%9A%84%E8%87%AA%E5%AE%9A%E4%B9%89%E5%9F%9F%E5%90%8D%E5%9C%B0%E5%9D%80%E3%80%82%0A%0A**%E6%A0%B8%E5%BF%83%E5%8A%9F%E8%83%BD%E7%AB%AF%E7%82%B9%20(Endpoints)**%0A%0AAPI%20%E6%8F%90%E4%BE%9B%E4%BA%86%E5%87%A0%E4%B8%AA%E4%B8%8D%E5%90%8C%E7%9A%84%E2%80%9C%E5%85%A5%E5%8F%A3%E2%80%9D%E6%9D%A5%E5%AE%8C%E6%88%90%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BB%BB%E5%8A%A1%EF%BC%9A%0A%0A1.%20%20**%E7%94%9F%E6%88%90%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE%20(Generate%20Client%20Configs)**%0A%20%20%20%20*%20**%E5%8A%9F%E8%83%BD%EF%BC%9A**%20%E5%B0%86%E8%BE%93%E5%85%A5%E7%9A%84%E8%AE%A2%E9%98%85%E9%93%BE%E6%8E%A5%2F%E8%8A%82%E7%82%B9%E8%BD%AC%E6%8D%A2%E4%B8%BA%E7%89%B9%E5%AE%9A%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%83%BD%E7%94%A8%E7%9A%84%E9%85%8D%E7%BD%AE%E3%80%82%0A%20%20%20%20*%20**%E6%94%AF%E6%8C%81%E7%9A%84%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%92%8C%E8%B7%AF%E5%BE%84%EF%BC%9A**%0A%20%20%20%20%20%20%20%20*%20SingBox%20%E9%85%8D%E7%BD%AE%3A%20%60%2Fsingbox%60%0A%20%20%20%20%20%20%20%20*%20Clash%20%E9%85%8D%E7%BD%AE%3A%20%60%2Fclash%60%0A%20%20%20%20%20%20%20%20*%20Surge%20%E9%85%8D%E7%BD%AE%3A%20%60%2Fsurge%60%0A%20%20%20%20%20%20%20%20*%20Xray%20%E8%8A%82%E7%82%B9%E5%88%97%E8%A1%A8%20(Base64%20%E6%A0%BC%E5%BC%8F)%3A%20%60%2Fxray%60%0A%20%20%20%20*%20**HTTP%20%E6%96%B9%E6%B3%95%EF%BC%9A**%20%E9%80%9A%E5%B8%B8%E4%BD%BF%E7%94%A8%20%60GET%60%20%E8%AF%B7%E6%B1%82%E3%80%82%0A%20%20%20%20*%20**%E9%87%8D%E8%A6%81%E5%8F%82%E6%95%B0%20(%E6%94%BE%E5%9C%A8%20URL%20%E5%90%8E%E9%9D%A2%EF%BC%8C%E7%94%A8%20%60%3F%60%20%E8%BF%9E%E6%8E%A5%E7%AC%AC%E4%B8%80%E4%B8%AA%EF%BC%8C%E7%94%A8%20%60%26%60%20%E8%BF%9E%E6%8E%A5%E5%90%8E%E7%BB%AD%E5%8F%82%E6%95%B0)%EF%BC%9A**%0A%20%20%20%20%20%20%20%20*%20%60config%60%20(**%E5%BF%85%E9%A1%BB**)%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E8%BF%99%E6%98%AF%E6%82%A8%E8%A6%81%E8%BD%AC%E6%8D%A2%E7%9A%84%E8%AE%A2%E9%98%85%E9%93%BE%E6%8E%A5%E6%88%96%E8%8A%82%E7%82%B9%E4%BF%A1%E6%81%AF%E3%80%82%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E5%8F%AF%E4%BB%A5%E6%94%BE%E4%B8%80%E4%B8%AA%E6%88%96%E5%A4%9A%E4%B8%AA%E8%AE%A2%E9%98%85%E9%93%BE%E6%8E%A5%E3%80%81Base64%20%E7%BC%96%E7%A0%81%E7%9A%84%E8%AE%A2%E9%98%85%EF%BC%8C%E6%88%96%E5%8D%95%E4%B8%AA%E8%8A%82%E7%82%B9%E5%88%86%E4%BA%AB%20URL%E3%80%82%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E5%A4%9A%E4%B8%AA%E5%86%85%E5%AE%B9%E8%AF%B7%E7%94%A8**%E6%8D%A2%E8%A1%8C%E7%AC%A6**%20(%60%250A%60%20%E8%BF%9B%E8%A1%8C%20URL%20%E7%BC%96%E7%A0%81%E5%90%8E)%20%E5%88%86%E9%9A%94%E3%80%82%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20**%E9%87%8D%E8%A6%81%EF%BC%9A**%20%E6%95%B4%E4%B8%AA%20%60config%60%20%E5%8F%82%E6%95%B0%E7%9A%84%E5%80%BC%E5%BF%85%E9%A1%BB%E8%BF%9B%E8%A1%8C%20**URL%20%E7%BC%96%E7%A0%81**%EF%BC%81%0A%20%20%20%20%20%20%20%20*%20%60selectedRules%60%20(%E5%8F%AF%E9%80%89)%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E9%80%89%E6%8B%A9%E9%A2%84%E5%AE%9A%E4%B9%89%E7%9A%84%E8%A7%84%E5%88%99%E9%9B%86%EF%BC%8C%E6%88%96%E8%80%85%E6%8C%87%E5%AE%9A%E6%82%A8%E8%A6%81%E5%8C%85%E5%90%AB%E7%9A%84%E8%A7%84%E5%88%99%E5%90%8D%E7%A7%B0%E5%88%97%E8%A1%A8%E3%80%82%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E5%8F%AF%E4%BB%A5%E6%98%AF%E9%A2%84%E5%AE%9A%E4%B9%89%E5%90%8D%E7%A7%B0%E4%B9%8B%E4%B8%80%EF%BC%88%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%89%EF%BC%9A%60minimal%60%2C%20%60balanced%60%2C%20%60comprehensive%60%E3%80%82%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E4%B9%9F%E5%8F%AF%E4%BB%A5%E6%98%AF%E6%82%A8%E6%83%B3%E5%8C%85%E5%90%AB%E7%9A%84%E8%A7%84%E5%88%99%E5%90%8D%E7%A7%B0%E7%BB%84%E6%88%90%E7%9A%84%20JSON%20%E6%95%B0%E7%BB%84%EF%BC%8C%E5%B9%B6%E4%B8%94%E9%9C%80%E8%A6%81%E8%BF%9B%E8%A1%8C%20URL%20%E7%BC%96%E7%A0%81%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60customRules%60%20(%E5%8F%AF%E9%80%89)%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E5%A6%82%E6%9E%9C%E6%82%A8%E6%83%B3%E6%B7%BB%E5%8A%A0%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E8%B7%AF%E7%94%B1%E8%A7%84%E5%88%99%EF%BC%8C%E9%9C%80%E8%A6%81%E6%8F%90%E4%BE%9B%E4%B8%80%E4%B8%AA%E6%8F%8F%E8%BF%B0%E8%A7%84%E5%88%99%E7%9A%84%20JSON%20%E6%95%B0%E7%BB%84%EF%BC%8C%E5%B9%B6%E8%BF%9B%E8%A1%8C%20URL%20%E7%BC%96%E7%A0%81%E3%80%82%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E6%AF%8F%E4%B8%AA%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E7%9A%84%E6%A0%BC%E5%BC%8F%E8%AF%B7%E7%9C%8B%E4%B8%8B%E9%9D%A2%E7%9A%84%E2%80%9C%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E2%80%9D%E8%AF%B4%E6%98%8E%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60pin%60%20(%E5%8F%AF%E9%80%89)%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E4%B8%80%E4%B8%AA%E5%B8%83%E5%B0%94%E5%80%BC%20(%60true%60%20%E6%88%96%20%60false%60)%E3%80%82%E5%A6%82%E6%9E%9C%E8%AE%BE%E7%BD%AE%E4%B8%BA%20%60true%60%EF%BC%8C%E6%82%A8%E7%9A%84%20%60customRules%60%20%E4%BC%9A%E8%A2%AB%E6%94%BE%E5%9C%A8%20%60selectedRules%60%20%E7%94%9F%E6%88%90%E7%9A%84%E8%A7%84%E5%88%99**%E4%B9%8B%E5%89%8D**%EF%BC%8C%E8%BF%99%E6%A0%B7%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E4%BC%9A%E4%BC%98%E5%85%88%E5%8C%B9%E9%85%8D%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60configId%60%20(%E5%8F%AF%E9%80%89)%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E5%A6%82%E6%9E%9C%E6%82%A8%E4%B9%8B%E5%89%8D%E4%BF%9D%E5%AD%98%E4%BA%86%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%8C%E8%BF%99%E9%87%8C%E5%A1%AB%E5%86%99%E4%BF%9D%E5%AD%98%E6%97%B6%E8%8E%B7%E5%BE%97%E7%9A%84%E9%85%8D%E7%BD%AE%20ID%E3%80%82Worker%20%E4%BC%9A%E5%8A%A0%E8%BD%BD%E8%AF%A5%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE%E5%86%8D%E8%BF%9B%E8%A1%8C%E8%BD%AC%E6%8D%A2%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60ua%60%20(%E5%8F%AF%E9%80%89)%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20*%20%E8%87%AA%E5%AE%9A%E4%B9%89%20User-Agent%20%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8C%E7%94%A8%E4%BA%8E%20Worker%20%E5%8E%BB%E8%8E%B7%E5%8F%96%20http%2Fs%20%E8%AE%A2%E9%98%85%E5%86%85%E5%AE%B9%E6%97%B6%E4%BD%BF%E7%94%A8%EF%BC%88%E9%BB%98%E8%AE%A4%E6%98%AF%20curl%2F7.74.0%EF%BC%89%E3%80%82%0A%0A%20%20%20%20*%20**%E5%93%8D%E5%BA%94%EF%BC%9A**%0A%20%20%20%20%20%20%20%20*%20%60%2Fsingbox%60%3A%20%E8%BF%94%E5%9B%9E%20JSON%20%E6%A0%BC%E5%BC%8F%E7%9A%84%20SingBox%20%E9%85%8D%E7%BD%AE%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60%2Fclash%60%3A%20%E8%BF%94%E5%9B%9E%20YAML%20%E6%A0%BC%E5%BC%8F%E7%9A%84%20Clash%20%E9%85%8D%E7%BD%AE%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60%2Fsurge%60%3A%20%E8%BF%94%E5%9B%9E%E6%96%87%E6%9C%AC%E6%A0%BC%E5%BC%8F%E7%9A%84%20Surge%20%E9%85%8D%E7%BD%AE%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60%2Fxray%60%3A%20%E8%BF%94%E5%9B%9E%E5%8C%85%E5%90%AB%E6%89%80%E6%9C%89%E5%90%88%E5%B9%B6%E8%8A%82%E7%82%B9%E7%9A%84%20**Base64%20%E7%BC%96%E7%A0%81%E5%AD%97%E7%AC%A6%E4%B8%B2**%EF%BC%88%E8%BF%99%E6%98%AF%E5%8E%9F%E5%A7%8B%E8%8A%82%E7%82%B9%E5%88%97%E8%A1%A8%EF%BC%8C%E4%B8%8D%E6%98%AF%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%EF%BC%89%E3%80%82%0A%0A2.%20%20**URL%20%E7%BC%A9%E7%9F%AD%E4%B8%8E%E9%87%8D%E5%AE%9A%E5%90%91%20(URL%20Shortening%20and%20Redirection)**%0A%20%20%20%20*%20**%E5%8A%9F%E8%83%BD%EF%BC%9A**%20%E5%B0%86%E4%B8%80%E4%B8%AA%E5%BE%88%E9%95%BF%E7%9A%84%E8%BD%AC%E6%8D%A2%E9%93%BE%E6%8E%A5%E7%94%9F%E6%88%90%E4%B8%80%E4%B8%AA%E7%9F%AD%E9%93%BE%E6%8E%A5%E3%80%82%0A%20%20%20%20*%20**%E7%94%9F%E6%88%90%E7%9F%AD%E9%93%BE%E6%8E%A5%E7%AB%AF%E7%82%B9%EF%BC%9A**%20%60%2Fshorten%60%20%E6%88%96%20%60%2Fshorten-v2%60%0A%20%20%20%20%20%20%20%20*%20**HTTP%20%E6%96%B9%E6%B3%95%EF%BC%9A**%20%60GET%60%E3%80%82%0A%20%20%20%20%20%20%20%20*%20**%E5%8F%82%E6%95%B0%EF%BC%9A**%20%60url%60%20(**%E5%BF%85%E9%A1%BB**%EF%BC%8C%E9%9C%80%E8%A6%81%20URL%20%E7%BC%96%E7%A0%81%E7%9A%84%E5%8E%9F%E5%A7%8B%E9%95%BF%E9%93%BE%E6%8E%A5)%E3%80%82%20%60%2Fshorten-v2%60%20%E8%BF%98%E6%94%AF%E6%8C%81%E5%8F%AF%E9%80%89%E7%9A%84%20%60shortCode%60%20%E5%8F%82%E6%95%B0%E6%9D%A5%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9F%AD%E9%93%BE%E6%8E%A5%E8%B7%AF%E5%BE%84%E3%80%82%0A%20%20%20%20%20%20%20%20*%20**%E5%93%8D%E5%BA%94%20(%60%2Fshorten%60)%EF%BC%9A**%20%E8%BF%94%E5%9B%9E%E4%B8%80%E4%B8%AA%20JSON%20%E5%AF%B9%E8%B1%A1%EF%BC%8C%E5%8C%85%E5%90%AB%E7%94%9F%E6%88%90%E7%9A%84%E7%9F%AD%E9%93%BE%E6%8E%A5%EF%BC%8C%E4%BE%8B%E5%A6%82%20%60%7B%22shortUrl%22%3A%20%22https%3A%2F%2Fyour-worker-domain.workers.dev%2Fs%2Fabcdefg%22%7D%60%E3%80%82%0A%20%20%20%20%20%20%20%20*%20**%E5%93%8D%E5%BA%94%20(%60%2Fshorten-v2%60)%EF%BC%9A**%20%E8%BF%94%E5%9B%9E%E7%94%9F%E6%88%90%E7%9A%84%E7%9F%AD%E4%BB%A3%E7%A0%81%E5%AD%97%E7%AC%A6%E4%B8%B2%E3%80%82%0A%20%20%20%20*%20**%E9%87%8D%E5%AE%9A%E5%90%91%E7%9F%AD%E9%93%BE%E6%8E%A5%E7%AB%AF%E7%82%B9%EF%BC%9A**%20%60%2Fs%2F%7BshortCode%7D%60%20(%E4%B9%9F%E5%8F%AF%E8%83%BD%E6%94%AF%E6%8C%81%20%60%2Fb%2F%60%2C%20%60%2Fc%2F%60%2C%20%60%2Fx%2F%60%20%E7%AD%89%E5%89%8D%E7%BC%80%EF%BC%8C%E5%8F%96%E5%86%B3%E4%BA%8E%E7%94%9F%E6%88%90%E6%97%B6%E7%9A%84%E7%B1%BB%E5%9E%8B)%0A%20%20%20%20%20%20%20%20*%20**%E5%8A%9F%E8%83%BD%EF%BC%9A**%20%E8%AE%BF%E9%97%AE%E8%BF%99%E4%B8%AA%20URL%20%E4%BC%9A%E8%87%AA%E5%8A%A8%E9%87%8D%E5%AE%9A%E5%90%91%E5%88%B0%E5%8E%9F%E5%A7%8B%E7%9A%84%E9%95%BF%E8%BD%AC%E6%8D%A2%E9%93%BE%E6%8E%A5%E3%80%82%0A%20%20%20%20%20%20%20%20*%20**HTTP%20%E6%96%B9%E6%B3%95%EF%BC%9A**%20%60GET%60%E3%80%82%0A%20%20%20%20%20%20%20%20*%20**%E5%8F%82%E6%95%B0%EF%BC%9A**%20%60%7BshortCode%7D%60%20%E6%98%AF%E6%82%A8%E7%94%9F%E6%88%90%E7%9A%84%E7%9F%AD%E4%BB%A3%E7%A0%81%E3%80%82%0A%0A3.%20%20**%E4%BF%9D%E5%AD%98%E8%87%AA%E5%AE%9A%E4%B9%89%E9%85%8D%E7%BD%AE%20(Save%20Custom%20Configuration)**%0A%20%20%20%20*%20**%E5%8A%9F%E8%83%BD%EF%BC%9A**%20%E5%B0%86%E6%82%A8%E7%9A%84%E8%87%AA%E5%AE%9A%E4%B9%89%20SingBox%20%E6%88%96%20Clash%20%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E4%BF%9D%E5%AD%98%E5%9C%A8%20Cloudflare%20KV%20%E4%B8%AD%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%90%8E%E7%BB%AD%E9%80%9A%E8%BF%87%20%60configId%60%20%E4%BD%BF%E7%94%A8%E3%80%82%0A%20%20%20%20*%20**%E7%AB%AF%E7%82%B9%EF%BC%9A**%20%60%2Fconfig%60%0A%20%20%20%20*%20**HTTP%20%E6%96%B9%E6%B3%95%EF%BC%9A**%20%60POST%60%E3%80%82%0A%20%20%20%20*%20**Content-Type%EF%BC%9A**%20%E5%BF%85%E9%A1%BB%E6%98%AF%20%60application%2Fjson%60%E3%80%82%0A%20%20%20%20*%20**%E8%AF%B7%E6%B1%82%E4%BD%93%EF%BC%9A**%20%E4%B8%80%E4%B8%AA%20JSON%20%E5%AF%B9%E8%B1%A1%EF%BC%8C%E5%8C%85%E5%90%AB%EF%BC%9A%0A%20%20%20%20%20%20%20%20%60%60%60json%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%22type%22%3A%20%22clash%22%20%7C%20%22singbox%22%2C%20%20%2F%2F%20%E9%85%8D%E7%BD%AE%E7%B1%BB%E5%9E%8B%EF%BC%8C%E5%AD%97%E7%AC%A6%E4%B8%B2%0A%20%20%20%20%20%20%20%20%20%20%22content%22%3A%20%22%E9%85%8D%E7%BD%AE%E5%86%85%E5%AE%B9%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2%22%20%20%2F%2F%20%E6%82%A8%E7%9A%84%E9%85%8D%E7%BD%AE%E5%86%85%E5%AE%B9%EF%BC%8CSingBox%20%E4%B8%BA%20JSON%20%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8CClash%20%E4%B8%BA%20YAML%20%E6%88%96%20JSON%20%E5%AD%97%E7%AC%A6%E4%B8%B2%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%60%60%60%0A%20%20%20%20*%20**%E5%93%8D%E5%BA%94%EF%BC%9A**%0A%20%20%20%20%20%20%20%20*%20%E6%88%90%E5%8A%9F%EF%BC%9A%E8%BF%94%E5%9B%9E%E4%B8%80%E4%B8%AA%E5%8C%85%E5%90%AB%E9%85%8D%E7%BD%AE%20ID%20%E7%9A%84%E6%96%87%E6%9C%AC%E5%AD%97%E7%AC%A6%E4%B8%B2%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%E5%A4%B1%E8%B4%A5%EF%BC%9A%E8%BF%94%E5%9B%9E%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%20(400%20%E7%8A%B6%E6%80%81%E7%A0%81)%E3%80%82%0A%0A**%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E%20(Rule%20Details)**%0A%0A%E5%9C%A8%E7%94%9F%E6%88%90%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE%E7%9A%84%E7%AB%AF%E7%82%B9%E4%B8%AD%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%8C%87%E5%AE%9A%E8%A7%84%E5%88%99%E3%80%82%0A%0A1.%20%20**%E9%A2%84%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E9%9B%86%20(%60selectedRules%60)%EF%BC%9A**%0A%20%20%20%20*%20%E5%8F%AF%E4%BB%A5%E7%9B%B4%E6%8E%A5%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%90%8D%E7%A7%B0%EF%BC%88%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%89%EF%BC%9A%60minimal%60%2C%20%60balanced%60%2C%20%60comprehensive%60%E3%80%82%0A%20%20%20%20*%20%E5%A6%82%E6%9E%9C%E6%83%B3%E9%80%89%E6%8B%A9%E9%A2%84%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E4%B8%AD%E7%9A%84%E4%B8%80%E9%83%A8%E5%88%86%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%B0%86%E8%A7%84%E5%88%99%E7%9A%84**%E5%90%8D%E7%A7%B0**%EF%BC%88%E5%A6%82%20%22Ad%20Block%22%2C%20%22Google%22%20%E7%AD%89%EF%BC%8C%E8%AF%B7%E5%8F%82%E8%80%83%E9%A1%B9%E7%9B%AE%E6%96%87%E6%A1%A3%E4%B8%AD%E9%A2%84%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E7%9A%84%E5%90%8D%E7%A7%B0%E5%88%97%E8%A1%A8%EF%BC%89%E6%94%BE%E5%9C%A8%E4%B8%80%E4%B8%AA%20JSON%20%E6%95%B0%E7%BB%84%E4%B8%AD%E4%BD%9C%E4%B8%BA%20%60selectedRules%60%20%E5%8F%82%E6%95%B0%E7%9A%84%E5%80%BC%E3%80%82%E4%BE%8B%E5%A6%82%EF%BC%9A%60%5B%22Ad%20Block%22%2C%20%22Google%22%5D%60%EF%BC%8C%E7%84%B6%E5%90%8E%E8%BF%9B%E8%A1%8C%20URL%20%E7%BC%96%E7%A0%81%E3%80%82%0A%20%20%20%20*%20%E8%BF%99%E4%BA%9B%E8%A7%84%E5%88%99%E7%9A%84%E5%85%B7%E4%BD%93%E7%AB%99%E7%82%B9%2FIP%20%E5%88%97%E8%A1%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%E9%A1%B9%E7%9B%AE%E6%96%87%E6%A1%A3%E7%9A%84%20API%20%E8%AF%B4%E6%98%8E%E4%B8%AD%E6%89%BE%E5%88%B0%E3%80%82%0A%0A2.%20%20**%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%20(%60customRules%60)%EF%BC%9A**%0A%20%20%20%20*%20%E5%A6%82%E6%9E%9C%E6%82%A8%E9%9C%80%E8%A6%81%E6%B7%BB%E5%8A%A0%E4%B8%8D%E5%9C%A8%E9%A2%84%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E4%B8%AD%E7%9A%84%E8%A7%84%E5%88%99%EF%BC%8C%E5%8F%AF%E4%BB%A5%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AA%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E5%AF%B9%E8%B1%A1%E7%BB%84%E6%88%90%E7%9A%84%20JSON%20%E6%95%B0%E7%BB%84%E3%80%82%0A%20%20%20%20*%20%E6%AF%8F%E4%B8%AA%E8%87%AA%E5%AE%9A%E4%B9%89%E8%A7%84%E5%88%99%E5%AF%B9%E8%B1%A1%E5%8F%AF%E4%BB%A5%E5%8C%85%E5%90%AB%E4%BB%A5%E4%B8%8B%E5%AD%97%E6%AE%B5%EF%BC%88%E5%A1%AB%E5%86%99%E6%82%A8%E9%9C%80%E8%A6%81%E7%9A%84%E5%8D%B3%E5%8F%AF%EF%BC%8C%E5%85%B6%E4%BB%96%E5%8F%AF%E4%BB%A5%E7%95%99%E7%A9%BA%E5%AD%97%E7%AC%A6%E4%B8%B2%E6%88%96%E7%A9%BA%E6%95%B0%E7%BB%84%EF%BC%89%EF%BC%9A%0A%20%20%20%20%20%20%20%20*%20%60site%60%3A%20Geo-Site%20%E8%A7%84%E5%88%99%E5%90%8D%E7%A7%B0%E6%95%B0%E7%BB%84%20(%E5%AD%97%E7%AC%A6%E4%B8%B2)%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60ip%60%3A%20Geo-IP%20%E8%A7%84%E5%88%99%E5%90%8D%E7%A7%B0%E6%95%B0%E7%BB%84%20(%E5%AD%97%E7%AC%A6%E4%B8%B2)%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60domain_suffix%60%3A%20%E5%9F%9F%E5%90%8D%E5%90%8E%E7%BC%80%E6%95%B0%E7%BB%84%20(%E5%AD%97%E7%AC%A6%E4%B8%B2)%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60domain_keyword%60%3A%20%E5%9F%9F%E5%90%8D%E5%85%B3%E9%94%AE%E8%AF%8D%E6%95%B0%E7%BB%84%20(%E5%AD%97%E7%AC%A6%E4%B8%B2)%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60ip_cidr%60%3A%20IP%20CIDR%20%E6%95%B0%E7%BB%84%20(%E5%AD%97%E7%AC%A6%E4%B8%B2)%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60protocol%60%3A%20%E5%8D%8F%E8%AE%AE%E7%B1%BB%E5%9E%8B%E6%95%B0%E7%BB%84%20(%E5%AD%97%E7%AC%A6%E4%B8%B2%EF%BC%8C%E5%A6%82%20%22http%22%2C%20%22tls%22%2C%20%22dns%22)%E3%80%82%0A%20%20%20%20%20%20%20%20*%20%60outbound%60%20(**%E5%BF%85%E9%A1%BB**)%3A%20%E8%BF%99%E4%B8%AA%E8%A7%84%E5%88%99%E5%8C%B9%E9%85%8D%E5%88%B0%E7%9A%84%E6%B5%81%E9%87%8F%E5%B0%86%E4%BD%BF%E7%94%A8%E5%93%AA%E4%B8%AA%E5%87%BA%E7%AB%99%EF%BC%88%E4%BB%A3%E7%90%86%E7%BB%84%EF%BC%89%E5%90%8D%E7%A7%B0%E3%80%82%0A%0A%20%20%20%20*%20%E7%A4%BA%E4%BE%8B%20(%E5%B7%B2%20URL%20%E7%BC%96%E7%A0%81%EF%BC%8C%E5%AE%9E%E9%99%85%E5%8F%91%E9%80%81%E5%88%B0%20API%20%E7%9A%84)%3A%20%60%255B%257B%2522site%2522%253A%255B%2522example.com%2522%255D%252C%2522outbound%2522%253A%2522MyCustomRule%2522%257D%255D%60%20(%E5%AF%B9%E5%BA%94%20JSON%3A%20%60%5B%7B%22site%22%3A%5B%22example.com%22%5D%2C%22outbound%22%3A%22MyCustomRule%22%7D%5D%60)%0A%0A**%E5%85%B6%E4%BB%96%E9%87%8D%E8%A6%81%E4%BF%A1%E6%81%AF**%0A%0A*%20**%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86%EF%BC%9A**%20API%20%E4%BC%9A%E8%BF%94%E5%9B%9E%E6%A0%87%E5%87%86%E7%9A%84%20HTTP%20%E7%8A%B6%E6%80%81%E7%A0%81%EF%BC%88%E5%A6%82%20400%20%E8%A1%A8%E7%A4%BA%E8%AF%B7%E6%B1%82%E9%94%99%E8%AF%AF%EF%BC%8C404%20%E8%A1%A8%E7%A4%BA%E6%9C%AA%E6%89%BE%E5%88%B0%EF%BC%8C500%20%E8%A1%A8%E7%A4%BA%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%86%85%E9%83%A8%E9%94%99%E8%AF%AF%EF%BC%89%E5%92%8C%E7%9B%B8%E5%BA%94%E7%9A%84%E9%94%99%E8%AF%AF%E4%BF%A1%E6%81%AF%E6%96%87%E6%9C%AC%E3%80%82%0A*%20**URL%20%E7%BC%96%E7%A0%81%EF%BC%9A**%20%E8%AE%B0%E4%BD%8F%EF%BC%8C%E5%8C%85%E5%90%AB%E7%89%B9%E6%AE%8A%E5%AD%97%E7%AC%A6%EF%BC%88%E7%89%B9%E5%88%AB%E6%98%AF%E8%AE%A2%E9%98%85%E9%93%BE%E6%8E%A5%E6%9C%AC%E8%BA%AB%EF%BC%89%E7%9A%84%E5%8F%82%E6%95%B0%E5%80%BC%EF%BC%88%E5%B0%A4%E5%85%B6%E6%98%AF%20%60config%60%20%E5%92%8C%E5%8C%85%E5%90%AB%20JSON%20%E7%9A%84%E5%8F%82%E6%95%B0%E5%A6%82%20%60selectedRules%60%2C%20%60customRules%60%EF%BC%89**%E5%BF%85%E9%A1%BB**%E8%BF%9B%E8%A1%8C%20URL%20%E7%BC%96%E7%A0%81%E3%80%82%0A*%20**%E7%9F%AD%E9%93%BE%E6%8E%A5%E6%9C%89%E6%95%88%E6%9C%9F%EF%BC%9A**%20%E9%80%9A%E8%BF%87%20%60%2Fshorten%60%20%E7%94%9F%E6%88%90%E7%9A%84%E7%9F%AD%E9%93%BE%E6%8E%A5%E5%AD%98%E5%82%A8%E5%9C%A8%20KV%20%E4%B8%AD%EF%BC%8C%E5%8F%AF%E8%83%BD%E5%AD%98%E5%9C%A8%E4%B8%80%E5%AE%9A%E7%9A%84%E6%9C%89%E6%95%88%E6%9C%9F%E9%99%90%E5%88%B6%EF%BC%88%E9%A1%B9%E7%9B%AE%E6%96%87%E6%A1%A3%E4%B8%AD%E6%8F%90%E5%88%B0%E4%BF%9D%E5%AD%98%E9%85%8D%E7%BD%AE%E6%98%AF%2030%20%E5%A4%A9%EF%BC%8C%E7%9F%AD%E9%93%BE%E6%8E%A5%E5%8F%AF%E8%83%BD%E7%B1%BB%E4%BC%BC%E6%88%96%E7%94%B1%20Cloudflare%20KV%20%E7%9A%84%20TTL%20%E5%86%B3%E5%AE%9A%EF%BC%89%E3%80%82%0A%0A**%E7%A4%BA%E4%BE%8B%20(%E7%AE%80%E5%8C%96%E7%9A%84%20API%20%E8%B0%83%E7%94%A8%E5%BD%A2%E5%BC%8F%EF%BC%8C%E5%AE%9E%E9%99%85%E4%BD%BF%E7%94%A8%E9%9C%80%E8%A6%81%20URL%20%E7%BC%96%E7%A0%81)%EF%BC%9A**%0A%0A*%20**%E8%8E%B7%E5%8F%96%20SingBox%20%E9%85%8D%E7%BD%AE%20(%E4%BD%BF%E7%94%A8%E5%B9%B3%E8%A1%A1%E8%A7%84%E5%88%99%E9%9B%86)%EF%BC%9A**%0A%20%20%20%20%60GET%20%2Fsingbox%3Fconfig%3Dvmess%3A%2F%2Fyour_node%26selectedRules%3Dbalanced%60%0A*%20**%E8%8E%B7%E5%8F%96%20Clash%20%E9%85%8D%E7%BD%AE%20(%E5%8C%85%E5%90%AB%E6%9D%A5%E8%87%AA%E4%B8%A4%E4%B8%AA%E8%AE%A2%E9%98%85%E7%9A%84%E8%8A%82%E7%82%B9)%EF%BC%9A**%0A%20%20%20%20%60GET%20%2Fclash%3Fconfig%3Dhttp%3A%2F%2Fsub1.com%250Ahttp%3A%2F%2Fsub2.com%60%0A*%20**%E8%8E%B7%E5%8F%96%20Xray%20%E5%88%97%E8%A1%A8%20(%E5%90%88%E5%B9%B6%E4%B8%A4%E4%B8%AA%E8%8A%82%E7%82%B9)%EF%BC%9A**%0A%20%20%20%20%60GET%20%2Fxray%3Fconfig%3Dvmess%3A%2F%2Fnode1%250Ass%3A%2F%2Fnode2%60%0A*%20**%E7%94%9F%E6%88%90%E7%9F%AD%E9%93%BE%E6%8E%A5%EF%BC%9A**%0A%20%20%20%20%60GET%20%2Fshorten%3Furl%3Dhttps%3A%2F%2Fyour-worker-domain%2Fsingbox%3Fconfig%3D...%60%0A*%20**%E4%BF%9D%E5%AD%98%E8%87%AA%E5%AE%9A%E4%B9%89%20Clash%20%E9%85%8D%E7%BD%AE%EF%BC%9A**%0A%20%20%20%20%60POST%20%2Fconfig%60%20(%E8%AF%B7%E6%B1%82%E4%BD%93%E4%B8%BA%20JSON%3A%20%60%7B%22type%22%3A%20%22clash%22%2C%20%22content%22%3A%20%22port%3A%207890%5Cn...%22%7D%60)%0A%0A---%0A%0A%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%B0%86%E4%B8%8A%E9%9D%A2%E7%9A%84%20Markdown%20%E5%86%85%E5%AE%B9%E5%A4%8D%E5%88%B6%E5%88%B0%E6%96%87%E6%9C%AC%E6%96%87%E4%BB%B6%E4%B8%AD%EF%BC%88%E4%BF%9D%E5%AD%98%E4%B8%BA%20%60.md%60%20%E6%89%A9%E5%B1%95%E5%90%8D%EF%BC%89%EF%BC%8C%E7%84%B6%E5%90%8E%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8F%90%E5%88%B0%E7%9A%84%E6%96%B9%E6%B3%95%E5%B0%86%E5%85%B6%E8%BD%AC%E6%8D%A2%E4%B8%BA%20PDF%20%E6%88%96%E5%85%B6%E4%BB%96%E9%80%82%E5%90%88%E6%82%A8%E7%94%B5%E5%AD%90%E9%98%85%E8%AF%BB%E5%99%A8%E7%9A%84%E6%A0%BC%E5%BC%8F%E3%80%82%0A%0A%E5%B8%8C%E6%9C%9B%E8%BF%99%E4%BA%9B%E4%BF%A1%E6%81%AF%E8%83%BD%E5%9C%A8%E6%82%A8%E7%9A%84%E6%97%85%E9%80%94%E4%B8%AD%E5%B8%AE%E5%8A%A9%E6%82%A8%E6%9B%B4%E5%A5%BD%E5%9C%B0%E7%A0%94%E7%A9%B6%20Sublink%20Worker%EF%BC%81</center></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":55359}]"
metadata_diff: {"new":{"id":"02c23617b92e4bd09adbbcd3f5f6b008","parent_id":"c8972912af904d98b5610c325e3d5ad3","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764344954055,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T15:50:20.244Z
created_time: 2025-11-28T15:50:20.244Z
type_: 13