Giter Club home page Giter Club logo

zsokami / subcvt-mannix Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 9.11 MB

订阅转换后端 api 反向代理 + clash 移除无节点的分组 / 移除错误 uuid 的节点 / 确保 h2/grpc 的 tls 为 true / 对 grpc-service-name 进行 URL 解码 / 节点 type 和 cipher 筛选 / 支持修改 sni/servername/Host/host / 支持修改 server

Home Page: https://c.7.cr

JavaScript 45.44% Smarty 46.00% TypeScript 8.56%
subconverter netlify netlify-functions clash reverse-proxy serverless

subcvt-mannix's Introduction

subcvt-mannix

订阅转换后端 api 反向代理

转为 clash 订阅的专属功能:

  • 移除无节点的分组
  • 移除错误 uuid 的节点
  • 确保 h2 / grpc 的 tls 为 true
  • 对 grpc-service-name 进行 URL 解码
  • 节点 type 和 cipher 筛选(使用完全匹配的正则表达式):
    • type=ssr?|vmess|trojan 匹配 ss / ssr / vmess / trojan 节点
    • type!=hysteria2? 排除 hysteria / hysteria2 节点
    • type!=vless|hysteria2? 排除 vless / hysteria / hysteria2 节点
    • cipher=...
    • cipher!=...
  • 支持修改 sni/servername/Host/host:
    • sni={域名} 修改所有节点的 sni/servername/Host/host
    • sni=d 删除所有节点的 sni/servername/Host/host
    • sni={sni1}|{sni2}|{sni3} 依次设置为 sni1 sni2 sni3 sni1...
    • sni={server1}@{sni1},{server2}@{sni2}|{sni3}|d,{sni4} 不同 server 设置不同 sni(server 使用部分匹配的正则表达式)
  • 支持修改 server:
    • server={域名/ip} 修改所有节点的 server
    • server={server1}|{server2}|{server3} 依次设置为 server1 server2 server3 server1...
    • server={sni1}@{server1},{sni2}@{server2}|{server3},{server4} 不同 sni 设置不同 server(sni 使用部分匹配的正则表达式)

默认 /sub 路径,默认转为 clash 订阅

  • https://c.7.cr?url={原订阅链接}(随机后端 + 默认配置 + 默认参数)
  • https://c.7.cr/api.v1.mk?url={原订阅链接}(指定后端)
  • https://c.7.cr/version(指定路径)
  • https://c.7.cr/api.v1.mk/version(指定后端和路径)

url 参数快捷方式

  • https://c.7.cr/{原订阅链接}(原订阅链接需 URL 编码)
  • https://c.7.cr?{原订阅链接}(原订阅链接无需 URL 编码,但如果存在 # 字符则必须编码,否则会被截断)
  • https://c.7.cr?config={远程配置}&{原订阅链接}(同上)

github raw url 快捷方式

https://c.7.cr/r/{owner}/{repo}/{ref}/{path} -> https://c.7.cr?url=https://raw.githubusercontent.com/{owner}/{repo}/{ref}/{path}

其他用法与 https://github.com/tindy2013/subconverter/blob/master/README-cn.md 相同,如:

  • https://c.7.cr?config={远程配置}&url={原订阅链接}(指定配置)
  • https://c.7.cr?target=mixed&url={原订阅链接}(指定目标类型)

subcvt-mannix's People

Contributors

zsokami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

i1ve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.