hpts(http-proxy-to-socks) is a tool to convert socks proxy into http proxy
cargo install htps
htps --help
USAGE:
hpts [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-v Sets the level of verbosity
-V, --version Prints version information
OPTIONS:
-p <port> specify the listening port of http proxy server, default: 8080
-s <socks> specify your socks proxy host, default: 127.0.0.1:1080
I was using oyyd/http-proxy-to-socks, and notice the memory cost is not cheap. So I implement the rust version, it is very lightweight, with much lower memory-consumption compared to nodejs version.