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:
--port <port> specify the listening port of http proxy server
--socks <socks> specify your socks proxies host map, example: bla=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.