{"id":19442463,"url":"https://github.com/zsokami/subcvt-mannix","last_synced_at":"2025-04-25T00:31:50.544Z","repository":{"id":153688832,"uuid":"628979903","full_name":"zsokami/subcvt-mannix","owner":"zsokami","description":"订阅转换后端 api 反向代理 + clash 移除无节点的分组 / 移除错误 uuid 的节点 / 确保 h2/grpc 的 tls 为 true / 对 grpc-service-name 进行 URL 解码 / 节点 type 和 cipher 筛选 / 支持修改 sni/servername/Host/host / 支持修改 server / 支持修改自动组策略 / 支持修改 up/down","archived":false,"fork":false,"pushed_at":"2025-01-18T17:02:36.000Z","size":17329,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T13:13:48.974Z","etag":null,"topics":["clash","netlify","netlify-functions","reverse-proxy","serverless","subconverter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zsokami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-17T11:29:18.000Z","updated_at":"2025-03-29T13:44:23.000Z","dependencies_parsed_at":"2024-01-02T18:48:56.205Z","dependency_job_id":"92eb036a-b0d5-4e1c-99f2-5c2afcfa3700","html_url":"https://github.com/zsokami/subcvt-mannix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Fsubcvt-mannix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Fsubcvt-mannix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Fsubcvt-mannix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsokami%2Fsubcvt-mannix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zsokami","download_url":"https://codeload.github.com/zsokami/subcvt-mannix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250733073,"owners_count":21478283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clash","netlify","netlify-functions","reverse-proxy","serverless","subconverter"],"created_at":"2024-11-10T15:39:23.276Z","updated_at":"2025-04-25T00:31:50.532Z","avatar_url":"https://github.com/zsokami.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# subcvt-mannix\n\n订阅转换后端 api 反向代理\n\n转为 clash 订阅的专属功能：\n\n- 移除无节点的分组\n- 移除错误 uuid 的节点\n- 确保 h2 / grpc 的 tls 为 true\n- 对 grpc-service-name 进行 URL 解码\n- 节点 type 和 cipher 筛选（使用完全匹配的正则表达式）：\n  - `type=ssr?|vmess|trojan` 匹配 ss / ssr / vmess / trojan 节点\n  - `type!=hysteria2?` 排除 hysteria / hysteria2 节点\n  - `type!=vless|hysteria2?` 排除 vless / hysteria / hysteria2  节点\n  - `cipher=...`\n  - `cipher!=...`\n- 支持修改 sni/servername/Host/host：\n  - `sni={域名}` 修改所有节点的 sni/servername/Host/host\n  - `sni=d` 删除所有节点的 sni/servername/Host/host\n  - `sni={sni1}|{sni2}|{sni3}` 依次设置为 sni1 sni2 sni3 sni1...\n  - `sni={server1}@{sni1},{server2}@{sni2}|{sni3}|d,{sni4}` 不同 server 设置不同 sni（server 使用部分匹配的正则表达式）\n- 支持修改 server：\n  - `server={域名/ip}` 修改所有节点的 server\n  - `server={server1}|{server2}|{server3}` 依次设置为 server1 server2 server3 server1...\n  - `server={sni1}@{server1},{sni2}@{server2}|{server3},{server4}` 不同 sni 设置不同 server（sni 使用部分匹配的正则表达式）\n- 支持修改自动组策略：\n  - `gtype=url-test` ⚡ ‍低延迟，优先选择低延迟节点\n  - `gtype=fallback` ✔️ ‍自动切换，选择第一个能用的节点\n  - `gtype=load-balance` ⚖️ ‍负载均衡，按域名哈希选择节点，同域请求分配给同一节点\n  - `gtype=round-robin` 🔃 ‍循环，每次请求按顺序选择下一个能用的节点，到最后再回到第一个节点循环往复\n  - `gtype=sticky-sessions` 🥂 ‍黏性会话，10 分钟内同域请求分配给同一节点\n  - `strategy=...` `gtype` 别名\n  - `testurl=...` 延迟/可用性测试链接\n  - `testinterval=...` 测试的间隔时间（秒）\n  - `tolerance=...` `url-test` 的节点切换容差（毫秒），当前节点和最低延迟节点相差超过该值时将触发切换\n- 支持修改 up/down:\n  - `up=30` 修改 hysteria / hysteria2 的 up 参数为 30（Mbps）\n  - `up=0` 删除 hysteria2 的 up 参数（转为 BBR 拥塞控制算法）\n  - `down=200` 修改 hysteria / hysteria2 的 down 参数为 200（Mbps）\n  - `down=0` 删除 hysteria2 的 down 参数（转为 BBR 拥塞控制算法）\n\n默认 /sub 路径，默认转为 clash 订阅\n\n- `https://sc.mnnx.cc/?url={原订阅链接}`（随机后端 + 默认配置 + 默认参数）\n- `https://sc.mnnx.cc/api.v1.mk?url={原订阅链接}`（指定后端）\n- `https://sc.mnnx.cc/version`（指定路径）\n- `https://sc.mnnx.cc/api.v1.mk/version`（指定后端和路径）\n\nurl 参数快捷方式\n\n- `https://sc.mnnx.cc/{原订阅链接}`\n- `https://sc.mnnx.cc/{后端地址}/{原订阅链接}`（原订阅链接需 URL 编码）\n- ~~`https://sc.mnnx.cc/?{原订阅链接}`~~（原订阅链接无需 URL 编码，但如果存在 # 字符则必须编码，否则会被截断）\n- ~~`https://sc.mnnx.cc?config={远程配置}\u0026{原订阅链接}`~~（同上）\n\ngithub raw url 快捷方式\n\n`https://sc.mnnx.cc/r/{owner}/{repo}/{ref}/{path}` -\u003e `https://sc.mnnx.cc/?url=https://raw.githubusercontent.com/{owner}/{repo}/{ref}/{path}`\n\n其他用法与 https://github.com/tindy2013/subconverter/blob/master/README-cn.md 相同，如：\n\n- `https://sc.mnnx.cc/?config={远程配置}\u0026url={原订阅链接}`（指定配置）\n- `https://sc.mnnx.cc/?target=mixed\u0026url={原订阅链接}`（指定目标类型）\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsokami%2Fsubcvt-mannix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzsokami%2Fsubcvt-mannix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsokami%2Fsubcvt-mannix/lists"}