Giter Club home page Giter Club logo

rotxy's Introduction

gopher with moustache

ROTXY

Rotating Proxy Server

golangci-lint Go Report Card GitHub go.mod Go version


Rotxy is a simple proxy server that rotates the proxy used for each request.

Why?

I needed a proxy server that rotates the proxy used for each request. I couldn't find any that did this, so I made one.

How?

Rotxy has 12 free proxy providers built in. You can add your own by using the --from-url or --from-file flags. Rotxy will then rotate through all the available proxies for each connection.

Usage

$ rotxy --help
Usage: rotxy

A simple proxy rotator

Flags:
  -h, --help                 Show context-sensitive help.
  -v, --verbose=INT          Enable verbose logging
      --version              Print version information and quit
  -p, --port=8080            Port to listen on.
  -h, --host="0.0.0.0"       Host to listen on.
  -s, --strategy="random"    Proxy strategy to use.

Download
  -d, --download                   Download proxies from internal list.
  -f, --from-file=FROM-FILE,...    File containing proxies.
  -u, --from-url=FROM-URL,...      URL to download proxies from.
  -U, --update-delay=1h            Update delay.

Check
  -c, --prune          Prune non-working proxies
  -y, --cycle=1        Number of cycles to prune proxies.
  -t, --timeout=30s    Timeout for proxy checks.
      --tls            Enable TLS for proxy checks.

rotxy's People

Contributors

mrmarble avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rotxy's Issues

How can i static ip?

System: ubuntu 20.04, centos 7.9

how can i static ip?

I test rotxy get random multiple ip in list.txt and it working

i use proxy and add it into extension oxylabs proxy chrome, and then check ip into the web https://whatismyipaddress.com/ is ok.

But when i watch youtube about 1 mimutes, and check ip again, it change?
And repeat the action, and it change again and again.

How can i control the ip, in case stop the change it and make it static?

thank for read and support

How to use if list proxy is SOCKv5

System: Centos 7.9

Command:
./rotxy --port=8888 --host="0.0.0.0" --from-file=/home/test/proxy.txt

And it working if proxy is http/https

But not working if proxy is Sock

How can i use if it Sock?

Thank for read and support.

Bind host hard-coded to localhost

Hey, thanks for the cool project. I'm trying to use it in a Docker container and noticed the server is hard-coded to bind to localhost:

func Listen(port int, iterator proxy.ProxyIterator) {
	// ...
	log.Println("Serving at port", port)
	err := http.ListenAndServe(fmt.Sprintf("localhost:%d", port), middleProxy)
	if err != nil {
		panic(err)
	}
}

It would be really helpful if this were configurable by the command line (to make something like -H 0.0.0.0 possible). Any chance that would be possible?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.