# 7sageer/sublink-worker

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/7sageer-sublink-worker).**

4,940 stars · 8,846 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/7Sageer/sublink-worker
- Homepage: https://sublink.works/
- awesome-repositories: https://awesome-repositories.com/repository/7sageer-sublink-worker.md

## Topics

`clash` `clash-meta` `cloudflare-workers` `mihomo` `singbox` `v2rayn` `v2rayng` `xray-core`

## Description

This is a serverless proxy subscription converter implemented as a Cloudflare Worker. It aggregates multiple proxy subscriptions into a single unified stream and converts them into client-specific configuration formats through protocol translation.

The project functions as a proxy protocol translator and routing rule generator, enabling the definition and export of custom network traffic rules and policy groups. It also includes a URL shortener that utilizes key-value storage to create shortened aliases for long subscription links.

The system covers a broad range of subscription management capabilities, including client version detection, configuration conversion, and the application of custom proxy templates. It also provides tools for traffic routing management and the generation of formatted configuration files for external tools.

The application can be deployed as a multi-architecture container with optional database integration for persistent state storage.

## Tags

### Content Management & Publishing

- [Proxy Configuration Converters](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/document-processing-conversion/proxy-configuration-converters.md) — Dynamically translates proxy subscription configurations between different client formats and protocols. ([source](https://sublink.works/guide/quick-start))

### Networking & Communication

- [Proxy Subscription Managers](https://awesome-repositories.com/f/networking-communication/cloudflare-worker-proxies/proxy-subscription-managers.md) — A serverless Cloudflare Worker application that aggregates and converts proxy subscriptions into client-specific formats.
- [Subscription Aggregators](https://awesome-repositories.com/f/networking-communication/proxy-servers/clash-configuration-managers/subscription-aggregators.md) — Aggregates multiple disparate proxy subscription sources into a single unified list.
- [Proxy Source Aggregators](https://awesome-repositories.com/f/networking-communication/proxy-source-aggregators.md) — Combines multiple proxy subscription sources into a single unified stream for easier management.
- [Proxy Subscription Managers](https://awesome-repositories.com/f/networking-communication/pub-sub-messaging/sharded-pub-sub/proxy-subscription-managers.md) — Transforms proxy lists into client-specific formats using custom user agents for correct delivery. ([source](https://sublink.works/api/))
- [Traffic Routing Rules](https://awesome-repositories.com/f/networking-communication/traffic-routing-rules.md) — Generates standard text format routing configurations and policy groups for use in external proxy converters. ([source](https://sublink.works/guide/subconverter))
- [Proxy Rule Managers](https://awesome-repositories.com/f/networking-communication/proxy-configuration-rules/proxy-rule-managers.md) — Provides a way to define rule sets and customize policy groups to control network traffic. ([source](https://cdn.jsdelivr.net/gh/7sageer/sublink-worker@main/README.md))
- [URL Shorteners](https://awesome-repositories.com/f/networking-communication/url-shorteners.md) — Provides a service to create shortened aliases for long subscription links using KV storage.

### Part of an Awesome List

- [Proxy Protocol Converters](https://awesome-repositories.com/f/awesome-lists/devtools/format-conversion/proxy-protocol-converters.md) — Transforms proxy node data between different protocol formats to ensure compatibility across various client software.
- [Configuration Link Shorteners](https://awesome-repositories.com/f/awesome-lists/devtools/url-shorteners/configuration-link-shorteners.md) — Creates shortened, shareable URLs for long proxy configuration links using a key-value store.
- [Other Tools](https://awesome-repositories.com/f/awesome-lists/more/other-tools.md) — Proxy subscription link converter.

### Software Engineering & Architecture

- [Proxy Rule Set Generators](https://awesome-repositories.com/f/software-engineering-architecture/functional-composition-rules/proxy-rule-fragment-composers/proxy-rule-set-generators.md) — Generates ready-to-use proxy rule sets and policy groups for external proxy clients from custom definitions.
- [Configuration Templates](https://awesome-repositories.com/f/software-engineering-architecture/configuration-templates.md) — Allows the use of uploaded configuration files as templates to define the final output of converted subscriptions. ([source](https://sublink.works/guide/base-config))

### Business & Productivity Software

- [Configuration Generators](https://awesome-repositories.com/f/business-productivity-software/share-link-generation/proxy-subscription-links/configuration-generators.md) — Generates external links that integrate with proxy converters to apply specific rules and settings. ([source](https://app.sublink.works/))

### Data & Databases

- [URL Redirect Mappings](https://awesome-repositories.com/f/data-databases/url-redirect-mappings.md) — Implements a key-value store to map shortened identifiers to original subscription URLs for redirection.

### Security & Cryptography

- [Subscription Output Templates](https://awesome-repositories.com/f/security-cryptography/security/utilities/security-tools/offensive-red-team/phishing-attack-tools/proxy-templates/subscription-output-templates.md) — Applies user-defined configuration templates to shape the final output of converted proxy subscriptions.

### User Interface & Experience

- [Configuration Data Templates](https://awesome-repositories.com/f/user-interface-experience/layout-utilities/presentation-engines/template-engines/configuration-and-integration/custom-template-integrations/generation-templates/configuration-data-templates.md) — Uses external configuration files as blueprints to generate structured proxy configuration data for specific clients.
