A simple config of clash server
Exec cmd
cp config-example.yaml config.yamlChange config.yaml file.
Docker run
docker-compose -p subserver up -dStop & Delete
docker-compose stop
docker-compose rm -fEnv config
touch .envTOKEN='xxx'
CLASH_SUB_FMT='http://localhost:25500/sub?target=clash&new_name=true&insert=false&config=https%3A%2F%2Fraw.githubusercontent.com%2FACL4SSR%2FACL4SSR%2Fmaster%2FClash%2Fconfig%2FACL4SSR_Online_Full_MultiMode.ini&append_type=true&emoji=true&list=false&tfo=false&scv=false&fdn=true&sort=false&udp=true'
CLASH_SUB_URLS='{"a":"https://abc.com/subscribe"}'Install vercel
# nvm use v18.12.1
npm i -g vercel@latestDevelop
vercel devDeploy
vercel --prod# subserver
curl http://localhost:8008/convert?token=<request-token>&sub_type=a
# subconverter
curl http://localhost:25500/sub?target=clash&new_name=true&insert=false&config=https%3A%2F%2Fraw.githubusercontent.com%2FACL4SSR%2FACL4SSR%2Fmaster%2FClash%2Fconfig%2FACL4SSR_Online_Full_MultiMode.ini&append_type=true&emoji=true&list=false&tfo=false&scv=false&fdn=true&sort=false&udp=true&filename=Clash_t.yaml&url=https%3A%2F%2Fxxx.a.com%2Fsub_url