Skip to content

cavoq/proxy-rotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy-rotator

Modern rotating TOR proxy (Currently only supports HTTP)

Usage

Create a .env file containing the following environment variables:

USERNAME=<username>
PASSWORD=<password>
TOR_CONTROL_PORT=<port>
RENEWAL_INTERVAL=<interval> # in seconds

Build and run the Docker container:

docker build -t proxy-rotator .
docker run --env-file .env -it -p 8080:8080 proxy-rotator

Test proxy with curl:

curl -x http://localhost:8080 -U username:password http://httpbin.org/ip
{
  "origin": "rotating-ip"
}

How it works

Alt Text

Releases

No releases published

Packages

No packages published