Skip to content

hadip123/v2ray-hopper

Repository files navigation

V2Ray hopper

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

Usage

Cloning the repository

git clone https://github.com/hadip123/v2ray-hopper.git
cd v2ray-hopper/

Creating the docker image

First, an environment should be created, there's a Dockerfile in the environment_docker_image.

docker build -t v2ray-hopper environment_docker_image/

Gattering the config files and testing them

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:

Running the proxy server

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

Restarting the server

docker restart vhopper

Stopping the server

docker stop vhopper
docker rm vhopper

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors