talira

subconverter

Convert proxy subscriptions between Clash, Surge, Quantumult, V2Ray and other formats

open sourceGPL-3.0-onlyself-hostablefree

subconverter is a small self-hosted HTTP service that converts proxy subscription links between client formats: Clash and ClashR, Surge 2 to 4, Quantumult and Quantumult X, Loon, Surfboard, Shadowsocks (SIP002, SSD, Android), ShadowsocksR and V2Ray, and reads Telegram-style HTTP and SOCKS5 links. You call /sub?target=...&url=... and it returns the converted subscription with proxy groups and rule sets from its configuration, and can upload the result to a Gist. It runs as a binary or in Docker.

Problems it solves

  • turn my proxy subscription link into a Clash config
  • convert a V2Ray subscription for Surge or Quantumult X
  • self-hosted subscription converter for proxy clients

Features

  • converts between Clash, Surge, Quantumult X, Loon, Surfboard, SS, SSR and V2Ray formats
  • HTTP API for subscription conversion
  • proxy groups and rule sets from configuration
  • Gist upload
  • Docker image

Limitations

  • Its latest release is v0.9.0 from April 2024; later fixes are only on the master branch.1

Alternatives

The same job

These do what subconverter does.

  1. clashctl Installer and command-line manager for the mihomo (Clash) proxy core on Linux
  2. Clash Verge Rev Desktop GUI for the Clash Meta (mihomo) proxy core
  3. Clash Party Desktop GUI for the mihomo (Clash Meta) proxy core
  4. ShellCrash Shell script that deploys and manages the mihomo and sing-box proxy cores on routers and Linux machines
  5. Karing Cross-platform proxy client built on sing-box, with Clash-style routing rules
  6. Clash Nyanpasu Multi-core proxy manager for Windows, macOS and Linux with traffic insights and a Material You interface

Compare subconverter with the top 3