Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

subconverter

> 后端框架
Open source

Utility to convert between various subscription format

16.9K stars0 likes3 views
WebsiteGitHub

About

Utility to convert between various subscription format

subconverter

Utility to convert between various proxy subscription formats. Docker README

中文文档

  • subconverter
    • Supported Types
    • Quick Usage
      • Access Interface
      • Description
    • Advanced Usage
    • Auto Upload

Supported Types

Type As Source As Target Target Name
Clash ✓ ✓ clash
ClashR ✓ ✓ clashr
Quantumult ✓ ✓ quan
Quantumult X ✓ ✓ quanx
Loon ✓ ✓ loon
SS (SIP002) ✓ ✓ ss
SS Android ✓ ✓ sssub
SSD ✓ ✓ ssd
SSR ✓ ✓ ssr
Surfboard ✓ ✓ surfboard
Surge 2 ✓ ✓ surge&ver=2
Surge 3 ✓ ✓ surge&ver=3
Surge 4 ✓ ✓ surge&ver=4
V2Ray ✓ ✓ v2ray
Telegram-liked HTTP/Socks 5 links ✓ × Only as source

Notice:

  1. Shadowrocket users should use ss, ssr or v2ray as target.

  2. You can add &remark= to Telegram-liked HTTP/Socks 5 links to set a remark for this node. For example:

    • tg://http?server=1.2.3.4&port=233&user=user&pass=pass&remark=Example

    • https://t.me/http?server=1.2.3.4&port=233&user=user&pass=pass&remark=Example


Quick Usage

Using default groups and rulesets configuration directly, without changing any settings

Access Interface

txt
http://127.0.0.1:25500/sub?target=%TARGET%&url=%URL%&config=%CONFIG%

Description

Argument Required Example Description
target Yes clash Target subscription type. Acquire from Target Name in Supported Types.
url Yes https%3A%2F%2Fwww.xxx.com Subscription to convert. Supports URLs and file paths. Process with URLEncode first.
config No https%3A%2F%2Fwww.xxx.com External configuration file path. Supports URLs and file paths. Process with URLEncode first. More examples can be found in this repository.

If you need to merge two or more subscription, you should join them with '|' before the URLEncode process.

Example:

…

Advanced Usage

Please refer to 中文文档.

Auto Upload

Upload Gist automatically

Add a Personal Access Token into gistconf.ini in the root directory, then add &upload=true to the local subscription link, then when you access this link, the program will automatically update the content to Gist repository.

Example:

ini
[common]
;uncomment the following line and enter your token to enable upload function
token = xxxxxxxxxxxxxxxxxxxxxxxx(Your Personal Access Token)

Issues· 258 open

View all issuesOpen on GitHub
  • #891

    [Bug] Hysteria2 fingerprint 字段在转换为 Clash 格式时丢失

    Updated Sep 26, 2026
  • #894

    [BUG] 无法正确转换sub-rule

    Updated Sep 15, 2026
  • #897

    [BUG] <title>节点地址中包含"/?"时,无法正确转换节点

    Updated Sep 12, 2026
  • #867

    [Feature] 建议支持vless等新协议

    Updated Jul 27, 2026
  • #779

    [Feature] <title>能否支持Vless。。。

    Updated Jul 27, 2026
  • #881

    [Feature] 为clash meta的dialer-proxy添加支持

    Updated Jul 22, 2026
  • #884

    [Feature] 中文文档更新

    Updated Jul 22, 2026
  • #892

    [BUG] <NODE RENAME IS NOT WORKING ANYMORE>

    Updated May 7, 2026
  • #818

    [BUG] 订阅url有302重定向的情况下,不会自动跳转

    Updated Mar 24, 2026
  • #830

    [Feature] 是否应该将访问subconverter的header转发给订阅url?

    Updated Mar 11, 2026

> Tags

C++clashclashremojigist

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架