Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.74 KB

README.md

File metadata and controls

71 lines (48 loc) · 1.74 KB

foolproxy

NPM version NPM downloads Node version

The most simple http & https proxy for mac.


Install

$ npm install foolproxy -g

Usage

// remote url to local url
$ sudo foolproxy <remoteUrl> <localUrl>
sudo foolproxy https://baidu.com/component/console-security-message/0.0.2/index.js ./index.js

// remote url to remote url
$ sudo foolproxy <remoteUrl> <remoteUrl>
sudo foolproxy https://baidu.com/component/xxx/0.0.2/index.js http://taobao/xxx/index.js

// multiple proxy
$ sudo foolproxy ./my-proxy.json
my-proxy.json
{
  "https://baidu.com/component/console-security-message/0.0.2/index.js": "./index.js",
  "https://baidu.com/component/xxx/0.0.2/index.js": "https://taobao/xxx/index.js"
}

Feature

  • auto create certificate
  • support http & https
  • support multi file(https && http)
  • only for mac

License

foolproxy is available under the terms of the MIT License.

demo