• Stars
    star
    449
  • Rank 97,328 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 5 years ago
  • Updated almost 2 years 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,849
star
2

aria2c-ariang

HTML
310
star
3

ytdl

Get youtube video download url
JavaScript
263
star
4

wasm-jseval

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

My-CTF-Challenges

Challenges I created for CTF competitions.
Python
182
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

ebook-converter

簡單的電子書繁簡轉換器
JavaScript
53
star
9

mergemp4

JavaScript
52
star
10

saucenao-search-tgbot

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

lll_cvp

Sage
34
star
12

ghfileupl

JavaScript
29
star
13

gitcf

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

aria2-manager

HTML
26
star
15

apps-script-db

A key-value database by Google Apps Script
JavaScript
24
star
16

LKT-Manager

Kotlin
17
star
17

anime1-downloader

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

ani-gamer-toolbox

JavaScript
16
star
19

pximg-referer

JavaScript
12
star
20

heroku-proxy-local

11
star
21

gmxhr-fetch

fetch-like polyfill for userscript managers
JavaScript
10
star
22

nctfu-lattice

Sage
9
star
23

xfetch-js

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

imaginaryCTF-solution

Python
8
star
25

vue-runkit

vue wrapper of runkit embed
HTML
7
star
26

cf-webhook

HTML
7
star
27

nycu-secure-programming-2021

2021 交大程式安全
Python
6
star
28

dotfiles

Shell
6
star
29

brainfuck-in-x86-assembly

Assembly
6
star
30

require-unpkg

require from unpkg.com in browser
JavaScript
5
star
31

osuplayer

JavaScript
5
star
32

WynnStats

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

Netease-Music-Proxy

C#
4
star
34

2048-battle

Python
3
star
35

pixiv-client

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

craft2d

Java
3
star
37

maple3142.github.io

HTML
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

ncu-mlisp

JavaScript
2
star
43

js-highlight-practice

JavaScript
1
star
44

mapleutil

JavaScript
1
star
45

nodegist

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

NCU-UML-Editor

Java
1
star
47

osuplayer-old

A music player for osu!
JavaScript
1
star
48

node-electron-clipboard

JavaScript
1
star
49

Practice

C++
1
star
50

comments-of-blog

JavaScript
1
star
51

xml-translate

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

megumin-pack

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

NCU-Linux-Project

C
1
star
54

build-ffmpeg-wasm

1
star
55

vue-cli-locale-zh-tw

JavaScript
1
star
56

OMG

TypeScript
1
star
57

httpsrv

A simple http file server
JavaScript
1
star
58

request

TypeScript
1
star
59

rr-bot

TypeScript
1
star
60

vuejs-contextmenu

vue.js contextmenu wrapper
JavaScript
1
star
61

wenku8_spider

Python
1
star
62

baha_notify

JavaScript
1
star
63

static-to-worker

HTML
1
star