1.0.0 • Published 7 years agoCLI
cy-proxy-server
Licence
MIT
Version
1.0.0
Deps
34
Size
15.0 MB
Vulns
34
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
A proxy for your debug environment
Cy Proxy is an HTTP proxy server written in Node.js, which can be used to modify requests and mock reponse data. It is also a tool for custom DNS resolving and requests monitoring.
The proxy server can be easily configured by a user-friendly interface. In addition, a mechanism is provided for developers to customize the behavior of the server.
Features
- Support HTTP, HTTPS and websocket
- Support remote redirect rules
- Modify the request target
- Mock the response data
- Custom plugins to modify default behaviour
- Custom DNS resolving
- GUI Configuration
Installation
npm i -g cy-proxy
Usage
cy-proxy
The website for management will be opened automatically.
Documentation
The detailed documentation can be refered here.
Running From Source Code
install dependencies
yarninstall ui dependencies
cd webui/ && yarnback to the project root directory
cd ..build
yarn buildrun
node dist/bin/index.js
Plugins List
- [zp-print-url] print the urls
- [zp-debug-tool]web debug tool
(PRs are welcomed to append the list)
Links
- [Vue UI]
- [React UI]
- [Weapp UI]