WireGuard configs → AmneziaWG, Clash, or Wiresock — ready for restricted networks.
Turn ordinary .conf files into formats with the junk-packet knobs that help traffic survive deep packet inspection.
Static site. No build step. Your keys stay in the browser.
Plain WireGuard is easy to fingerprint: fixed packet shapes and sizes give filters a clean signature. AmneziaWG and Wiresock add controlled noise (jc, jmin, jmax, and friends) so the stream looks less like a textbook tunnel. Moving between those formats by hand is tedious, especially if you keep several profiles. This tool does the rewrite for you.
- Four-step wizard — Input → Format → Settings → Result, with live validation as you paste or drop files
- Three output families — AmneziaWG / WG Tunnel, Clash YAML, Wiresock (with masking IDs)
- Junk packet presets — Light, Heavy, or fully custom values; Amnezia 1.5 (I1–I5) when you need it
- Advanced timing — rekey, keepalive, handshake limits, content padding (off by default)
- DNS and MTU overrides — known resolvers or your own list; MTU default 1420
- Auto Generate — optional one-click fresh WARP account (developer must enable a relay; see below)
- Country flags — proxy names that contain a country code get a matching flag in Clash output
- Copy, QR, ZIP — per-config clipboard, QR for mobile clients, or download everything as a zip
- Five languages — English, Türkçe, فارسی, Русский, 中文 — plus dark and light themes
Any static file server works. From the project root:
python3 -m http.server 8000Then open http://localhost:8000.
You can also open index.html directly in a browser, though a local server matches production more closely (module scripts, relative asset paths).
- Input — drop one or more
.conffiles, or paste config text. The tool detects each block and shows a count. - Format — pick Clash, AmneziaWG / WG Tunnel, or Wiresock.
- Settings — choose a junk preset (or custom values), and optionally DNS, MTU, and advanced options.
- Result — copy a config, show its QR code, edit it in place, or download the zip.
Validation runs before you leave step 1. Missing private keys, broken endpoints, and malformed fields show up with short explanations instead of a silent bad export.
Auto Generate registers a brand-new Cloudflare WARP account in the browser and pastes a ready .conf into the input box. The private key is created locally (X25519) and never leaves the device; only the public key is sent.
Cloudflare’s API does not send CORS headers, so the browser cannot call it directly. Auto Generate walks a fixed three-relay chain — there is no proxy field in the UI:
- Self-hosted Worker (primary) — ~100k req/day, no key in the URL, allowlisted to the WARP API.
- corsproxy.dev (fallback) — 100 req/day, origin-locked key; a
429means the daily quota is spent and the chain moves on. - Corsfix SDK (last resort) — loaded from
unpkg.com/corsfix.
First success wins; visitors either get a working button or a clear failure message. The chain is defined in js/warp-direct.js (WORKER_PREFIX / CORSPROXY_PREFIX).
Self-hosted / Origin-hardened relay details: proxy/README.md.
index.html wizard shell (four steps + dialogs)
js/ ES modules — parsing, conversion, i18n, UI, WARP helpers
styles/ design tokens and component CSS (no framework)
lang/ en, fa, tr, ru, zh string tables
assets/ logo, icons sprite, format thumbnails
proxy/ optional self-hosted CORS relay (Worker or Node)
tools/ node:test suite for WARP + conversion regression
Adding an output format means one generator function plus an entry in FORMAT_REGISTRY in js/converters.js.
node --test tools/warp-direct.test.mjsCovers profile building, registration error codes, X25519 RFC vectors, and converter regressions. No network and no browser required.
- Original concept and early codebase: proton-converter/proton-converter.github.io
- This rewrite and current repository: ParsaAzari/wirepro (
Parsa Azari) - UI libraries: JSZip, QRCode.js
- Fonts: Vazirmatn, Inter, Noto Sans TC
See LICENSE. All rights reserved by Parsa Azari.
You may read, run, and study this code for personal use. Redistribution, sublicensing, or commercial reuse requires written permission. If you reference this project in an article, fork, or derivative write-up, credit the source: ParsaAzari / wirepro with a link to the repository.
Do not strip attribution or present this work as your own.