跳到正文

CF-Workers-SUB

维护中
cmliu/CF-Workers-SUB

基于 Cloudflare Workers 的工具,可将多个代理节点和订阅聚合为一个统一的订阅链接,支持自动适配和自定义分流规则。

在 GitHub 查看
星标
7523
Fork
9050
关注
7523
未关闭 Issue
49

该介绍目前仅提供英文版本。

Overview

CF-Workers-SUB is a powerful tool that leverages Cloudflare Workers to aggregate multiple proxy nodes and subscription links into a single unified subscription URL. This project simplifies subscription management by allowing users to combine self-built nodes with commercial subscription services, creating a personalized proxy solution with automatic format adaptation.

Key Features

  • Node Link Conversion: Automatically converts proxy node links to base64 subscription format
  • Multiple Subscription Aggregation: Combines various subscription sources into one unified link
  • Format Compatibility: Supports multiple proxy protocols including VLESS, VMess, Trojan, and more
  • Automatic Adaptation: Intelligently adapts to different subscription clients (Clash, Sing-Box, etc.)
  • Temporary Conversion: Creates 24-hour temporary subscriptions to protect your source links
  • Telegram Notifications: Optional alerts for subscription access and updates
  • Custom Configuration: Supports advanced routing rules and proxy configurations
  • Easy Deployment: Simple setup process on Cloudflare Workers platform

How It Works

The service operates through Cloudflare Workers to:

  1. Collect Proxy Information: Gathers nodes from both individual links and subscription services
  2. Process Data: Converts all formats to a standardized base64 encoding
  3. Create Unified Endpoint: Generates a single subscription URL that works across various clients
  4. Apply Custom Rules: Implements user-defined routing and proxy configurations
  5. Secure Access: Protects subscriptions with token-based access control

Deployment Guide

Deployment is straightforward through the Cloudflare Workers platform:

  1. Create a new Cloudflare Worker in your dashboard
  2. Copy the provided JavaScript code to the Worker
  3. Configure a KV namespace named “KV” to store your subscription data
  4. Set up additional environment variables as needed (TOKEN, GUEST, SUBNAME, etc.)
  5. Access your personal subscription through the specified endpoint

Technical Details

The project utilizes:

  • JavaScript (100%)
  • Cloudflare Workers runtime
  • KV storage for subscription data
  • External subscription conversion services
  • Base64 encoding for standardization

Disclaimer

This project is provided for educational and research purposes only. The authors and contributors are not responsible for any misuse or damages that may result from using this software. Users should:

  • Ensure compliance with Cloudflare’s Terms of Service
  • Follow all applicable local laws and regulations
  • Use the software responsibly and ethically

按共同分类和标签排序的同类开源项目。

全部网络项目 →