Pichi is a flexible rule-based proxy.

Get Started API Docs

Build Status

OS Ubuntu 24.04 macOS 26 FreeBSD 15.0 Windows Server 2025 Android iOS
Toolchain GCC 13.3.0 Xcode 26.4.1 Clang 19.1.7 Visual Studio 2022 Android NDK r29 Xcode 26.4.1
Status Linux macOS FreeBSD Windows Android iOS

Supported protocols

Protocol Ingress Egress Description
Direct connecting to destination directly
DUAL HTTP & SOCKS5
HTTP defined by RFC 2068 and RFC 2616
Reject rejecting request immediately or after a fixed/random delay
Shadowsocks defined by shadowsocks.org
SOCKS5 defined by RFC 1928
Transparent Transparent proxy for TCP
Trojan defined by trojan-gfw and its websocket extension defined by trojan-go
Tunnel TCP tunnel to multiple destinations to be chosen by pre-defined load balance

HTTP egress always attempts an HTTP CONNECT handshake first. If the handshake fails, an HTTP Proxy.

Donation

If you enjoy using Pichi, consider buying me a coffee.

Please donate BTC


This site uses Just the Docs, a documentation theme for Jekyll.