cy-proxy-server

1.0.0 • Public • Published

A proxy for your debug environment

访问中文版

Build Status downloads npm version license

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

  1. install dependencies

    yarn
  2. install ui dependencies

    cd webui/ && yarn
  3. back to the project root directory

    cd ..
  4. build

    yarn build
  5. 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]

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i cy-proxy-server

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

15.7 MB

Total Files

338

Last publish

Collaborators

  • morgancao