Skip to content

johnyhi/zan-proxy

 
 

Repository files navigation

logo

A proxy for your debug environment

访问中文版

Build Status downloads npm version license

Zan 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 zan-proxy

Usage

zan-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

(PRs are welcomed to append the list)

Links

Wechat Group

Scan the qrcode to join our wechat discussion group, please note that you want to join ZanProxy discussion group.

LICENSE

MIT

About

An extensible proxy for PC/Mobile/APP developer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 49.2%
  • TypeScript 34.6%
  • JavaScript 12.4%
  • CSS 3.1%
  • Other 0.7%