订阅转换

部署后端

docker run -d –restart=always –name sub -p 25500:25500 –add-host=”host.docker.internal:host-gateway” -e HTTPS_PROXY=http://host.docker.internal:7890 tindy2013/subconverter:latest

curl http://localhost:25500/version

version: ‘3’
services:
subconverter:
image: tindy2013/subconverter:latest
container_name: subconverter
extra_hosts:
- “host.docker.internal:host-gateway”
ports:
- “10001:25500”
restart: always
environment:
- HTTPS_PROXY=http://host.docker.internal:7890

前端转换

https://acl4ssr-sub.github.io

转换地址要写 http://xxxxxxx/sub?

远程配置要写 https://raw.githubusercontent.com/SubConv/ZJU-Rule/main/Clash/config/ZJU.ini

订阅转换失败

有些订阅提供者会根据请求头屏蔽部分请求,subconvertor带有SubConverter-Request和 SubConverter-Version的请求头

可以使用本地版 https://github.com/jing332/subconverter/releases

Ref

https://github.com/tindy2013/subconverter/blob/master/README-docker.md

https://github.com/tindy2013/subconverter/issues/573


订阅转换
http://grasscube.top/2025/01/29/订阅转换/
作者
grasscube
发布于
2025年1月29日
许可协议