{"id":13672935,"url":"https://github.com/youzan/zan-proxy","last_synced_at":"2025-05-15T05:06:06.734Z","repository":{"id":54566965,"uuid":"130452003","full_name":"youzan/zan-proxy","owner":"youzan","description":"An extensible proxy for PC/Mobile/APP developer","archived":false,"fork":false,"pushed_at":"2020-08-07T08:43:45.000Z","size":9401,"stargazers_count":1825,"open_issues_count":29,"forks_count":190,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-04-14T08:09:49.318Z","etag":null,"topics":["http","https","middleware","nodejs","proxy","websocket"],"latest_commit_sha":null,"homepage":"https://youzan.github.io/zan-proxy/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/youzan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-21T07:47:06.000Z","updated_at":"2025-04-11T07:58:56.000Z","dependencies_parsed_at":"2022-08-13T20:00:41.058Z","dependency_job_id":null,"html_url":"https://github.com/youzan/zan-proxy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzan-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzan-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzan-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzan-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youzan","download_url":"https://codeload.github.com/youzan/zan-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276447,"owners_count":22043867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","https","middleware","nodejs","proxy","websocket"],"created_at":"2024-08-02T09:01:58.609Z","updated_at":"2025-05-15T05:06:01.722Z","avatar_url":"https://github.com/youzan.png","language":"TypeScript","readme":"\u003cp  align=\"left\"\u003e\n    \u003ca href=\"https://github.com/youzan/\"\u003e\u003cimg alt=\"logo\" width=\"36\" height=\"36\" src=\"https://img.yzcdn.cn/public_files/2017/02/09/e84aa8cbbf7852688c86218c1f3bbf17.png\" alt=\"youzan\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp  align=\"center\"\u003e\n\u003cimg src=\"https://img.yzcdn.cn/public_files/2018/07/16/78d4c3e8ac0cb627f57628b9e2c89346.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\" style=\"margin: 30px 0 35px;\"\u003eA proxy for your debug environment\u003c/p\u003e\n\n[访问中文版](./README.zh-CN.md)\n\n[![Build Status](https://travis-ci.org/youzan/zan-proxy.svg?branch=master)](https://travis-ci.org/youzan/zan-proxy)\n[![downloads](https://img.shields.io/npm/dt/zan-proxy.svg)](https://www.npmjs.com/package/zan-proxy)\n[![npm version](https://img.shields.io/npm/v/zan-proxy.svg?style=flat)](https://www.npmjs.com/package/zan-proxy)\n[![license](https://img.shields.io/npm/l/zan-proxy.svg)](https://www.npmjs.com/package/zan-proxy)\n\n`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.\nThe 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.\n\n## Features\n\n* Clean and user-friendly interface\n* Support HTTP, HTTPS and websocket\n* Support remote redirect rules\n* Modify the request target\n* Mock the response data\n* Custom plugins to modify default behaviour\n* Custom DNS resolving\n* GUI Configuration\n\n## Installation\n\nDownload from [Github](https://github.com/youzan/zan-proxy/releases).\n\n### Upgrade To v5\n\nZan Proxy v5.0.0 did some incompatible change，you should pay attention to something when upgrading：\n\n1. To fit macOS 10.15 and ios 13, we replaced the Zan Proxy certificate(from 1024 bits to 2048 bits), we will automatically install the certificate for you on the Mac, but on other devices(like Windows、phone), you have to install the certificate manually.\n2. Change some config file fields, but you need not update it manually, Zan Proxy will update these files automatically.\n\n## Interface\n\n### GUI\n\n\u003cimg src=\"https://img.yzcdn.cn/public_files/2019/03/01/b101dc19661fda0341aaff08239ac528.png\" /\u003e\n\n### Web\n\n\u003cimg src=\"https://img.yzcdn.cn/public_files/2018/03/29/538c49fa295df7dc7184d75fc1c1ab99.png\" /\u003e\n\n## Documentation\n\nThe detailed documentation can be refered [here](https://youzan.github.io/zan-proxy/book/).\n\n## Running From Source Code\n\n1. install dependencies\n\n    ```shell\n    yarn\n    cd webui \u0026\u0026 yarn\n    ```\n\n2.  start webui development mode\n\n    ```shell\n    yarn dev:ui\n    ```\n\n3. start cli/gui development mode\n\n    ```shell\n    yarn dev:cli  # cli development mode\n    yarn dev:gui  # gui development mode\n    ```\n\n4. build\n\n    ```shell\n    yarn build:cli\n    yarn build:gui\n    ```\n\n## Plugins List\n\n* [zp-print-url](https://www.npmjs.com/package/zp-print-url) print the urls\n* [zp-debug-tool](https://www.npmjs.com/package/zp-debug-tool) web debug tool\n\n(PRs are welcomed to append the list)\n\n## Links\n\n* [Vue UI](https://github.com/youzan/vant)\n* [React UI](https://www.youzanyun.com/zanui/zent)\n* [Weapp UI](https://github.com/youzan/zanui-weapp)\n\n## Wechat Group\n\nScan the qrcode to join our wechat discussion group, please note that you want to join ZanProxy discussion group.\n\n\u003cimg src=\"https://img.yzcdn.cn/vant/wechat_20180606.png\" width=\"220\" height=\"292\" \u003e\n\n## LICENSE\n\n[MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouzan%2Fzan-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyouzan%2Fzan-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouzan%2Fzan-proxy/lists"}