{"id":13549692,"url":"https://github.com/maple3142/cf-warp","last_synced_at":"2025-04-08T23:45:02.956Z","repository":{"id":37419893,"uuid":"212135820","full_name":"maple3142/cf-warp","owner":"maple3142","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-20T21:54:53.000Z","size":59,"stargazers_count":460,"open_issues_count":13,"forks_count":65,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-02T23:33:33.165Z","etag":null,"topics":["vpn","warp","wireguard"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/maple3142.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}},"created_at":"2019-10-01T15:46:12.000Z","updated_at":"2025-03-25T21:02:43.000Z","dependencies_parsed_at":"2023-02-12T05:40:28.468Z","dependency_job_id":null,"html_url":"https://github.com/maple3142/cf-warp","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fcf-warp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fcf-warp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fcf-warp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maple3142%2Fcf-warp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maple3142","download_url":"https://codeload.github.com/maple3142/cf-warp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947819,"owners_count":21023058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["vpn","warp","wireguard"],"created_at":"2024-08-01T12:01:24.484Z","updated_at":"2025-04-08T23:45:02.938Z","avatar_url":"https://github.com/maple3142.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","JavaScript (485)"],"sub_categories":[],"readme":"# cf-warp\n\n\u003e A simple cli to get [Warp+](https://blog.cloudflare.com/announcing-warp-plus/) as [WireGuard](https://www.wireguard.com/) configuration\n\n\u003e For people who just want a easy way to get a WireGuard of Warp, just download this file: [https://cf-warp.maple3142.net/warp.conf](https://cf-warp.maple3142.net/warp.conf).\n\u003e Source code of the backend can be found [here](https://glitch.com/edit/#!/cf-warp).\n\n## Usage\n\nBy using this, you agree the [Privacy Policy](https://www.cloudflare.com/application/privacypolicy/) and [Terms of Service](https://www.cloudflare.com/application/terms/) of Cloudflare 1.1.1.1\n\n### With Node.js (Recommended)\n\n#### Step 1\n\nInstall `cf-warp` globally through yarn or npm.\n\n```bash\nyarn global add cf-warp # npm i -g cf-warp\n```\n\n#### Step 2\n\nInitialize your Warp+ account by running `cf-warp` command.\n\nExample:\n\n```bash\n$ cf-warp\nYour Warp credentials are located at \"C:\\Users\\maple3142\\.cf-warp\\data.json\", and WireGuard connection file is \"C:\\Users\\maple3142\\.cf-warp\\cf-warp.conf\".\nYou currently have 1GB Warp+ quota.\nTo get your current Warp+ quota, simply run \"cf-warp\".\nTo increase your Warp+ quota by 10 GB, simply run \"cf-warp 10\".\n```\n\n#### Step 3\n\nObtain `cf-warp.conf` from `~/.cf-warp/cf-warp.conf` and use it normally.\n\n### Without Node.js\n\n#### Step 1\n\nGo ahead to [releases](https://github.com/maple3142/cf-warp/releases) page and download a binary for your platform.\n\n#### Step 2\n\nOpen your cmd/terminal and locate the binary you just downloaded, such as `cf-warp-win.exe` ...\n\n#### Step 3\n\nUse it just like `cf-warp` installed by npm.\n\n### With Docker\n\n#### Step 1\n\n```bash\ndocker run --rm -v ~/.cf-warp:/root/.cf-warp maple3142/cf-warp [args]\n```\n\n## FAQ\n\n### How does `cf-warp` get Warp+ quota for free?\n\nIt currently get quota by faking referrers since there is no way to pay for premium version outside of 1.1.1.1 app, but it is recommended to pay for it on your phone if you think their service is good.\n\n### How do link this to a WARP+ license from the mobile 1.1.1.1 app?\n\n1. Find your license key on your mobile 1.1.1.1 app\n    - It should be under settings/account/key, in the form of \"1a2b3d4e-1a2b3d4e-1a2b3d4e\"\n2. Copy that key, and run the command:\n\n```bash\ncf-warp --license 1a2b3d4e-1a2b3d4e-1a2b3d4e #Your own license key goes here\n```\n\n3. When done, the current config should be sharing the same data quota as the mobile 1.1.1.1\n    - If you've paid on your phone, this config should enjoy unlimited data and WARP+.\n    \n### IPv6 doesn't works in Linux by default\n\nDue to the private tunnel local address Linux needs `getaddrinfo` [configuration](https://github.com/maple3142/cf-warp/issues/9#issuecomment-716139339). \n\n## Thanks\n\nhttps://github.com/yyuueexxiinngg/some-scripts/tree/master/cloudflare\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaple3142%2Fcf-warp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaple3142%2Fcf-warp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaple3142%2Fcf-warp/lists"}