warp-yg is a shell script that installs and manages Cloudflare WARP on Linux servers (VPS). Cloudflare WARP is a free VPN-like service from Cloudflare that routes traffic through Cloudflare's network, which can change the apparent location of a server and unblock services that are geo-restricted or that block certain data center IP ranges. This script automates what would otherwise be a manual multi-step process. The script supports two underlying WARP clients: warp-go and wgcf. Both use the WireGuard VPN protocol to connect to Cloudflare's network, but they are separate implementations. The script lets you install either one or switch between them. It also generates WireGuard configuration files for WARP, which lets you use the connection on other devices or in other tools that accept WireGuard configs. One of the main uses covered in the script is endpoint optimization. WARP connects to one of many Cloudflare servers worldwide, and the default one may not be the fastest for a given VPS location. The script includes a tool for scanning available WARP endpoint IPs and picking a better one. There is also a Windows application mentioned for the same endpoint selection task on desktop computers. The script can check whether a server's current IP can access streaming services like Netflix or AI services like ChatGPT, which are commonly restricted to residential IPs or blocked in certain regions. It also supports upgrading a WARP account to WARP+, Cloudflare's paid tier, and to team accounts. The README is written primarily in Chinese and links to video tutorials on YouTube. Installation is a single curl or wget command that runs the script directly on the server.
← yonggekkk on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.