sindresorhus / project-ideas

Need a JavaScript module or looking for ideas? Welcome ✨
544 stars 9 forks source link

System proxy cli tool #94

Open axetroy opened 7 years ago

axetroy commented 7 years ago

Need a system proxy cli tool like proxychains

Usage:

$ proxychains nvm install 8.1.0
$ proxychains wget https://www.google.com

or even do it better.

$ proxychains  # open a new terminal, proxy the network in this environment

Can it be implement?

Qix- commented 7 years ago
  1. Probably not because it requires instrumenting the child process
  2. What's wrong with proxychains?
sholladay commented 6 years ago

You can check out os-proxy (or its CLI) and see if it meets your needs. It works well for me, though it's a bit simpler than what you describe since it mimics the behavior of the network settings GUI rather than trying to limit the effect to a child process.

gajus commented 4 years ago

This could be implemented using https://github.com/gajus/global-agent