# alibaba/anyproxy

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/alibaba-anyproxy).**

7,913 stars · 1,203 forks · JavaScript · Apache-2.0

## Links

- GitHub: https://github.com/alibaba/anyproxy
- Homepage: http://anyproxy.io
- awesome-repositories: https://awesome-repositories.com/repository/alibaba-anyproxy.md

## Description

AnyProxy is an HTTP/HTTPS proxy framework built on Node.js that intercepts and modifies traffic through a plugin system. It functions as a configurable proxy server where user-defined plugins inspect or alter requests and responses as they pass through the proxy.

The framework distinguishes itself through a middleware stack that processes requests sequentially, enabling modular traffic transformation and logging. It handles HTTPS interception by dynamically generating and installing root certificates for transparent decryption, and routes traffic based on configurable rules matching request properties like URL, method, or headers. An event-driven pipeline processes requests and responses through lifecycle stages, while an in-memory store buffers intercepted messages for plugin inspection or modification.

The project covers traffic interception, request and response modification, proxy plugin development, and Node.js proxy configuration. Documentation and installation details are available through the repository.

## Tags

### Networking & Communication

- [Node.js Proxy Servers](https://awesome-repositories.com/f/networking-communication/node-js-proxy-servers.md) — Provides a fully customizable HTTP/HTTPS proxy server built on Node.js with a plugin system.
- [HTTP Proxies](https://awesome-repositories.com/f/networking-communication/http-proxies.md) — Provides a configurable proxy server built on Node.js that intercepts and modifies HTTP and HTTPS traffic through a plugin system.
- [HTTP Traffic Inspection](https://awesome-repositories.com/f/networking-communication/http-traffic-inspection.md) — Captures and inspects HTTP and HTTPS requests and responses passing through a proxy for analysis or modification. ([source](https://cdn.jsdelivr.net/gh/alibaba/anyproxy@master/README.md))
- [Proxy Stacks](https://awesome-repositories.com/f/networking-communication/proxy-stacks.md) — Provides a middleware stack that processes requests sequentially for modular traffic transformation and logging.
- [Traffic Routing Rules](https://awesome-repositories.com/f/networking-communication/traffic-routing-rules.md) — Routes proxy traffic based on configurable rules matching request properties like URL, method, or headers.

### Part of an Awesome List

- [HTTP Traffic Analysis](https://awesome-repositories.com/f/awesome-lists/data/http-traffic-analysis.md) — Captures and inspects HTTP and HTTPS requests and responses passing through a proxy for analysis or modification.

### Security & Cryptography

- [Dynamic Certificate Generators](https://awesome-repositories.com/f/security-cryptography/certificate-handling/dynamic-certificate-generators.md) — Dynamically generates and installs root certificates to enable transparent decryption of HTTPS traffic.
- [HTTP Request and Response Modifiers](https://awesome-repositories.com/f/security-cryptography/encrypted-backups/on-the-fly/http-request-and-response-modifiers.md) — Alters the content of intercepted HTTP or HTTPS messages before they reach their destination or the client. ([source](https://cdn.jsdelivr.net/gh/alibaba/anyproxy@master/README.md))

### Software Engineering & Architecture

- [Proxy Plugin Systems](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/third-party-plugins/proxy-plugin-systems.md) — Adds custom logic to a proxy server through a plugin system to handle specific traffic patterns or transformations. ([source](https://cdn.jsdelivr.net/gh/alibaba/anyproxy@master/README.md))
- [Request Interception Middleware](https://awesome-repositories.com/f/software-engineering-architecture/request-interception-middleware.md) — Intercepts HTTP/HTTPS traffic by routing requests through a chain of user-defined plugins for inspection or modification.

### Web Development

- [Event-Driven Pipelines](https://awesome-repositories.com/f/web-development/backend-development/request-response-handling/request-and-response-transformers/event-driven-pipelines.md) — Processes requests and responses through an asynchronous event pipeline where plugins hook into lifecycle stages.

### Data & Databases

- [Request-Response Buffers](https://awesome-repositories.com/f/data-databases/in-memory-databases/in-memory-state-stores/request-response-buffers.md) — Buffers intercepted HTTP messages in memory to allow plugins to inspect or modify payloads before forwarding.
