It collects the configs from here, runs some checks, then with the proxy_server hosts a socks5 server that changes its config file when there's a problem with the current configuration.
It's still being developed
git clone https://github.com/hadip123/v2ray-hopper.git
cd v2ray-hopper/First, an environment should be created, there's a Dockerfile in the environment_docker_image.
docker build -t v2ray-hopper environment_docker_image/There's a script in the /app direcotry in the docker image created.
docker run -it --rm -v ./:/app -e TEST_URL=https://google.com -e ANTI_403=false v2ray-hopper "/app/gattc"Environmental variables:
- TEST_URL defaut=https://google.com
- ANTI_403 default=false
You can specify the port for the proxy.
- with docker compose
docker compose up -d- w/o docker compose
docker run --name vhopper -d -p "8900:10808" -v ./:/app -e PATHS_DIR=/app/tester/wcp -e CONFIGS_DIR=/app/tester/configs v2ray-hopper:latest "/app/entrypoint"Now proxy is up and running on socks5://<your_host>:8900
docker restart vhopperdocker stop vhopper
docker rm vhopper