
router
TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
It uniquely integrates subscription conversion with a residential IP chain proxy, supports six major client formats, and can be deployed instantly on Cloudflare Workers with zero exposure of sensitive home network credentials.
cf-sub)⚡ 一个多客户端机场订阅转换工具与家宽链式代理节点注入工具
cf-sub 可以将标准的机场节点订阅转化为支持多客户端格式(Clash / Mihomo、Sing-box、Surge、Quantumult X、Shadowrocket)的配置。为机场节点自动附加后置家宽代理(支持 SOCKS5, HTTP, HTTPS, SS, Trojan, VLESS 出口),以家宽 IP 作为终点出口,同时保留机场原生节点与原有的分流策略。
dialer-proxy 链式代理detour 链式代理under-proxy 链式代理clash://, sing-box://, surge://, sub:// 客户端快捷导入链接。[ 用户客户端 (Clash / Sing-box / Surge) ]
│
▼ (访问目标网站)
[ 前置节点 (机场节点) ] ── (中继流量) ──► [ 出口节点 (家宽出口) ] ──► [ 目标网站 ]
1、Fork 本仓库
2、点击下方按钮,登录 Cloudflare 账号
3、在 Cloudflare 中连接你 Fork 的仓库
# 1. 克隆项目仓库
git clone https://github.com/Mareixcode/cf-sub.git
cd cf-sub
# 2. 安装依赖
npm install
# 3. 部署至 Cloudflare Workers
npx wrangler deploy
填入机场订阅,选择目标客户端与家宽出口协议(若家宽信息已配置在环境变量中,可保持留空),点击生成订阅链接或一键导入客户端。
前往 Cloudflare Dashboard -> Workers & Pages -> 选择您的 Worker -> Settings -> Variables,添加以下环境变量:
| 变量名 | 说明 | 示例 |
|---|---|---|
SOCKS_TYPE | 出口协议类型 (socks5 | http | https | ss | trojan | vless) | socks5 |
SOCKS_SERVER | 家宽出口服务器 IP 或域名 | 1.2.3.4 或 exit.example.com |
SOCKS_PORT | 出口服务端口 | 1080 |
SOCKS_USERNAME | 认证用户名 (可选) | user |
SOCKS_PASSWORD | 认证密码 (可选) | pass |
GET /sub
url: 原始机场订阅 URL(需 URL 编码)target: 目标客户端 (clash, singbox, surge, quanx, shadowrocket)socks_type: 出口协议类型 (socks5, http, https, ss, trojan, vless)socks_server: 家宽出口 IP/域名 (可选)socks_port: 家宽出口端口 (可选)Similar projects matched by category, topics, and programming language.

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.
A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.