lanrat/wireguard-warp-generator ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple tool that generates WireGuard configs for Cloudflare WARP.
I want a browser version that does everything on the client side, so nothing sensitive gets sent anywhere, and it should make it easy to copy or download the config. If possible, include a QR code so I can import it on my phone, and let me turn a few options on or off like showing account info.
Also make a command line script that can generate a working WARP config from the terminal and print it to a file. It should generate the keypair locally, register the public key with Cloudflare’s WARP service, and then output a complete WireGuard config that I can use right away.
Keep it clean and easy to use, and if you need to check the current Cloudflare or WireGuard docs while building it, go ahead and look them up.
Are you gonna build this?
make sure you review the code using coderabbit