• Stars
    star
    431
  • Rank 97,476 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

cf-warp

A simple cli to get Warp+ as WireGuard configuration

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. Source code of the backend can be found here.

Usage

By using this, you agree the Privacy Policy and Terms of Service of Cloudflare 1.1.1.1

With Node.js (Recommended)

Step 1

Install cf-warp globally through yarn or npm.

yarn global add cf-warp # npm i -g cf-warp

Step 2

Initialize your Warp+ account by running cf-warp command.

Example:

$ cf-warp
Your 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".
You currently have 1GB Warp+ quota.
To get your current Warp+ quota, simply run "cf-warp".
To increase your Warp+ quota by 10 GB, simply run "cf-warp 10".

Step 3

Obtain cf-warp.conf from ~/.cf-warp/cf-warp.conf and use it normally.

Without Node.js

Step 1

Go ahead to releases page and download a binary for your platform.

Step 2

Open your cmd/terminal and locate the binary you just downloaded, such as cf-warp-win.exe ...

Step 3

Use it just like cf-warp installed by npm.

With Docker

Step 1

docker run --rm -v ~/.cf-warp:/root/.cf-warp maple3142/cf-warp [args]

FAQ

How does cf-warp get Warp+ quota for free?

It 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.

How do link this to a WARP+ license from the mobile 1.1.1.1 app?

  1. Find your license key on your mobile 1.1.1.1 app
    • It should be under settings/account/key, in the form of "1a2b3d4e-1a2b3d4e-1a2b3d4e"
  2. Copy that key, and run the command:
cf-warp --license 1a2b3d4e-1a2b3d4e-1a2b3d4e #Your own license key goes here
  1. When done, the current config should be sharing the same data quota as the mobile 1.1.1.1
    • If you've paid on your phone, this config should enjoy unlimited data and WARP+.

IPv6 doesn't works in Linux by default

Due to the private tunnel local address Linux needs getaddrinfo configuration.

Thanks

https://github.com/yyuueexxiinngg/some-scripts/tree/master/cloudflare

More Repositories

1

GDIndex

A Google Drive Index built with Vue Running on CloudFlare Workers
HTML
1,839
star
2

aria2c-ariang

HTML
311
star
3

ytdl

Get youtube video download url
JavaScript
262
star
4

wasm-jseval

A safe eval library based on WebAssembly and Duktape/QuickJS.
C
224
star
5

My-CTF-Challenges

Challenges I created for CTF competitions.
Python
137
star
6

vuejs-storage

Vue and Vuex plugin to persistence data with localStorage/sessionStorage
TypeScript
121
star
7

browser-extensions

我的一些 userjs & usercss
JavaScript
88
star
8

mergemp4

JavaScript
52
star
9

ebook-converter

簡單的電子書繁簡轉換器
JavaScript
45
star
10

saucenao-search-tgbot

A telegram bot enable you to search SauceNAO in telegram.
TypeScript
34
star
11

ghfileupl

JavaScript
28
star
12

aria2-manager

HTML
26
star
13

gitcf

A service that is similar to RawGit, but this one is running on CloudFlare Workers.
25
star
14

apps-script-db

A key-value database by Google Apps Script
JavaScript
22
star
15

LKT-Manager

Kotlin
17
star
16

anime1-downloader

用來下載 Anime1.me 網站上的動漫
JavaScript
16
star
17

ani-gamer-toolbox

JavaScript
15
star
18

heroku-proxy-local

11
star
19

pximg-referer

JavaScript
10
star
20

gmxhr-fetch

fetch-like polyfill for userscript managers
JavaScript
10
star
21

imaginaryCTF-solution

Python
9
star
22

xfetch-js

A extremely simple fetch extension inspired by sindresorhus/ky.
JavaScript
9
star
23

nctfu-lattice

Sage
8
star
24

vue-runkit

vue wrapper of runkit embed
HTML
7
star
25

nycu-secure-programming-2021

2021 交大程式安全
Python
6
star
26

cf-webhook

HTML
6
star
27

brainfuck-in-x86-assembly

Assembly
6
star
28

require-unpkg

require from unpkg.com in browser
JavaScript
5
star
29

osuplayer

JavaScript
5
star
30

dotfiles

Shell
5
star
31

WynnStats

WynnStats is a serverless client which can view wynncraft statistics.
Vue
5
star
32

Netease-Music-Proxy

C#
4
star
33

2048-battle

Python
3
star
34

pixiv-client

Pixiv api client for node.js written in typescript.
TypeScript
3
star
35

craft2d

Java
3
star
36

maple3142.github.io

HTML
2
star
37

ncu-mlisp

JavaScript
2
star
38

node-rclone

JavaScript
2
star
39

maple-bot

A linebot
JavaScript
2
star
40

TodoList

JavaScript
2
star
41

php-url-shortener

PHP
2
star
42

js-highlight-practice

JavaScript
1
star
43

nodegist

A simple module allow you to create gists
JavaScript
1
star
44

mapleutil

JavaScript
1
star
45

NCU-UML-Editor

Java
1
star
46

osuplayer-old

A music player for osu!
JavaScript
1
star
47

node-electron-clipboard

JavaScript
1
star
48

Practice

C++
1
star
49

comments-of-blog

JavaScript
1
star
50

xml-translate

a simple tool to translate xml/html with google translate
JavaScript
1
star
51

megumin-pack

A really small javascript bundler for practice.
JavaScript
1
star
52

NCU-Linux-Project

C
1
star
53

build-ffmpeg-wasm

1
star
54

vue-cli-locale-zh-tw

JavaScript
1
star
55

OMG

TypeScript
1
star
56

httpsrv

A simple http file server
JavaScript
1
star
57

request

TypeScript
1
star
58

rr-bot

TypeScript
1
star
59

baha_notify

JavaScript
1
star
60

vuejs-contextmenu

vue.js contextmenu wrapper
JavaScript
1
star
61

wenku8_spider

Python
1
star
62

static-to-worker

HTML
1
star