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
yarn -
install ui dependencies
cd webui/ && yarn -
back to the project root directory
cd .. -
build
yarn build -
run
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]