{"id":47708483,"url":"https://github.com/osamingo/warp-wg","last_synced_at":"2026-04-02T18:08:46.257Z","repository":{"id":347771526,"uuid":"1194575818","full_name":"osamingo/warp-wg","owner":"osamingo","description":"Unofficial CLI for generating WireGuard profiles from Cloudflare WARP","archived":false,"fork":false,"pushed_at":"2026-03-29T12:47:34.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T15:14:33.635Z","etag":null,"topics":["cli","cloudflare-warp","go","wireguard"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osamingo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-28T14:45:19.000Z","updated_at":"2026-03-29T12:44:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/osamingo/warp-wg","commit_stats":null,"previous_names":["osamingo/warp-wg"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/osamingo/warp-wg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fwarp-wg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fwarp-wg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fwarp-wg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fwarp-wg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osamingo","download_url":"https://codeload.github.com/osamingo/warp-wg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamingo%2Fwarp-wg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cloudflare-warp","go","wireguard"],"created_at":"2026-04-02T18:08:45.529Z","updated_at":"2026-04-02T18:08:46.245Z","avatar_url":"https://github.com/osamingo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# warp-wg\n\n[![CI](https://github.com/osamingo/warp-wg/actions/workflows/ci.yml/badge.svg)](https://github.com/osamingo/warp-wg/actions/workflows/ci.yml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/osamingo/warp-wg.svg)](https://pkg.go.dev/github.com/osamingo/warp-wg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/osamingo/warp-wg)](https://goreportcard.com/report/github.com/osamingo/warp-wg)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\nUnofficial CLI for generating WireGuard profiles from [Cloudflare WARP](https://1.1.1.1/).\n\n## Installation\n\n### Go\n\n```bash\ngo install github.com/osamingo/warp-wg/cmd/warp-wg@latest\n```\n\n### Binary\n\nDownload from [GitHub Releases](https://github.com/osamingo/warp-wg/releases) for all platforms.\n\n## Usage\n\n```bash\n# Register a new device\nwarp-wg registration new\n\n# Output WireGuard profile\nwarp-wg profile \u003e warp.conf\n\n# Show registration details (optional)\nwarp-wg registration show\n```\n\n## Commands\n\n```\nwarp-wg\n├── registration\n│   ├── new           Register a new WARP device\n│   ├── show          Show current registration details\n│   ├── update        Update device registration settings\n│   ├── delete        Delete current device registration\n│   ├── license       Set a WARP+ license key\n│   ├── devices       List devices linked to the account\n│   └── rotate-keys   Generate a new key pair and update the registration\n├── profile           Output WireGuard profile to stdout\n├── status            Show Cloudflare connection diagnostics\n├── completion        Generate shell completion script\n└── version           Print version information\n```\n\n## Shell Completion\n\nSee `warp-wg completion -h/--help` for setup instructions.\n\n## Configuration\n\nCredentials are stored in `~/.config/warp-wg/reg.json` ([XDG Base Directory](https://specifications.freedesktop.org/basedir-spec/latest/)) with `0600` permissions. The WireGuard private key is generated locally and never sent to the server.\n\nEnvironment variable overrides:\n\n| Variable | Description |\n|----------|-------------|\n| `WARP_WG_REGISTRATION_ID` | Registration ID |\n| `WARP_WG_API_TOKEN` | API token |\n| `WARP_WG_PRIVATE_KEY` | WireGuard private key |\n\n## WARP+\n\nTo use a WARP+ license key, bind it after registration:\n\n```bash\nwarp-wg registration license \u003cKEY\u003e\n```\n\n- Only keys purchased from the official [1.1.1.1](https://1.1.1.1/) app are supported.\n- Up to 5 devices can be linked to a single account.\n\n## Troubleshooting\n\nIf the standard WireGuard client fails to connect (handshake succeeds but no data flows), Cloudflare may be blocking connections without the correct `Reserved` bytes. The generated profile includes the `Reserved` value as a comment:\n\n```ini\n# Reserved = 171, 85, 205\n```\n\nUse this value with clients that support the `reserved` field, such as [Xray-core](https://github.com/XTLS/Xray-core) or [sing-box](https://github.com/SagerNet/sing-box).\n\n## Disclaimer\n\n\u003e This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Cloudflare, Inc.\n\n- This tool uses an undocumented Cloudflare API. There is no stability guarantee; Cloudflare may change or remove the API at any time.\n- Use of this tool may be subject to the [Cloudflare Terms of Service](https://www.cloudflare.com/application/terms/).\n- Cloudflare is migrating from WireGuard to [MASQUE](https://blog.cloudflare.com/masque-now-powers-1-1-1-1-and-warp-apps-dex-available-with-remote-captures/). WireGuard-based connections may stop working in the future.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamingo%2Fwarp-wg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosamingo%2Fwarp-wg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamingo%2Fwarp-wg/lists"}