Description
warp.sh is a POSIX shell script that generates a WireGuard configuration for Cloudflare WARP and prints it to standard output. It needs jq, curl and wireguard-tools installed so it can generate keys with wg genkey and wg pubkey. The README includes a guide for running it in GitHub Codespaces, so you do not need a local setup. It also supports enrolling with a Cloudflare Teams account, where you pass a token obtained from your organisation's access page. The script can read the token and similar arguments from a file, so the value does not appear in shell history or the process list. The project notes that using it means agreeing to Cloudflare's terms of service. It is a small command-line tool for people who want a WireGuard config for WARP on a Linux or Unix system.…
Highlights
- Generates a WireGuard config for Cloudflare WARP
- Plain POSIX shell with jq, curl and wireguard-tools
- Runs in GitHub Codespaces
- Teams enrollment with a token
- Reads tokens from a file to keep them out of history
Ratings & Reviews
No ratings yet
Be the first to rate Warp.sh.
People also visit
Warp.sh FAQ
What does warp.sh output?
It prints a WireGuard configuration for Cloudflare WARP to standard output.
What do I need to install first?
jq, curl and wireguard-tools. The wireguard-tools package provides the wg command used to create keys.
Can I run it without a local setup?
Yes. The README explains how to open the repository in GitHub Codespaces and run ./warp.sh there.
How does Teams enrollment work?
You sign in to your organisation's Cloudflare access page, get a JWT token from the page, and pass it with the -T option. The README says it can be read from a file.
What are the best Warp.sh alternatives?
Popular alternatives to Warp.sh include Easy WG Quick, OPNsensePIAWireguard and Wireguard Install. See all Warp.sh alternatives

