Skip to content

About

WARP WireGuard Config Generator — generate Cloudflare WARP WireGuard configs in your browser

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

atdx.github.io

WARP WireGuard Config Generator — https://atdx.github.io/

A browser-based tool that generates WireGuard configurations for Cloudflare WARP, entirely client-side: keypair generation, WARP registration, QR code for mobile import, and .conf download.

Based on lanrat/wireguard-warp-generator.

Files

File Description
index.html UI and application logic
wireguard.js WireGuard (Curve25519) keypair generation — from WireGuard tools by Jason A. Donenfeld, GPL-2.0
.nojekyll Tells GitHub Pages to serve files as-is (skip Jekyll build)

How it works

  1. Generates a WireGuard keypair locally in your browser.
  2. Registers the public key with Cloudflare's WARP API (via CORS proxy proxy.corsfix.com).
  3. Outputs a complete WireGuard configuration plus a QR code.

The private key is generated locally and never transmitted anywhere; only the public key is sent to Cloudflare.

CORS proxy

api.cloudflareclient.com does not send CORS headers, so the page reaches it through the Corsfix proxy, loaded via their free-tier SDK (corsfix.js from jsDelivr). The free tier allows 10 MB/month per domain (100 MB when registered) and 60 requests/minute.

To bypass those limits, self-host a proxy (e.g. a small Cloudflare Worker that forwards requests to api.cloudflareclient.com and adds CORS headers for https://atdx.github.io), then set SELF_PROXY in index.html to your proxy base URL (must accept ?url=<encoded target>).

Local preview

Serve this folder with any static file server, e.g.:

npx serve .

or open index.html directly in a browser.

Credits

About

WARP WireGuard Config Generator — generate Cloudflare WARP WireGuard configs in your browser

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages