All Projects → ViRb3 → Wgcf

ViRb3 / Wgcf

Licence: mit
🚤 Cross-platform, unofficial CLI for Cloudflare Warp

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Wgcf

Cloudflare Warp Wireguard Client
Generate WireGuard profile from Cloudflare Warp account
Stars: ✭ 102 (-86.89%)
Mutual labels:  vpn, cloudflare, client
warpy
A command-line program to get WARP+ as WireGuard written in python
Stars: ✭ 57 (-92.67%)
Mutual labels:  cloudflare, vpn
AdGuard-WireGuard-Unbound-Cloudflare
The Ultimate Network Security Guide 🔒 Protection | 🔎 Privacy | 🚀 Performance on home network 24/7 🕛 Accessible anywhere 🌏
Stars: ✭ 160 (-79.43%)
Mutual labels:  cloudflare, vpn
Cloudflare
An asynchronous Ruby wrapper for the CloudFlare V4 API.
Stars: ✭ 113 (-85.48%)
Mutual labels:  cloudflare, client
Warp Plus Cloudflare
Script for getting unlimited GB on Warp+ ( https://1.1.1.1/ )
Stars: ✭ 381 (-51.03%)
Mutual labels:  vpn, cloudflare
Graphql
Simple low-level GraphQL HTTP client for Go
Stars: ✭ 682 (-12.34%)
Mutual labels:  client
Heliport
Intel Wi-Fi Client for itlwm
Stars: ✭ 701 (-9.9%)
Mutual labels:  client
Aws Vpn Server Setup
Setup your own private, secure, free* VPN on the Amazon AWS Cloud in 10 minutes. CloudFormation
Stars: ✭ 672 (-13.62%)
Mutual labels:  vpn
Wireguard Install
WireGuard road warrior installer for Ubuntu, Debian, CentOS and Fedora
Stars: ✭ 650 (-16.45%)
Mutual labels:  vpn
Pritunl Client Electron
Pritunl OpenVPN client
Stars: ✭ 772 (-0.77%)
Mutual labels:  vpn
Openvpn Install
Set up your own OpenVPN server on Debian, Ubuntu, Fedora, CentOS or Arch Linux.
Stars: ✭ 7,142 (+817.99%)
Mutual labels:  vpn
Bobarr
🍿 The all-in-one alternative for Sonarr, Radarr, Jackett... with a VPN and running in docker
Stars: ✭ 697 (-10.41%)
Mutual labels:  vpn
Node
Mysterium Network Node - official implementation of distributed VPN network (dVPN) protocol
Stars: ✭ 681 (-12.47%)
Mutual labels:  vpn
Vpncloud
Peer-to-peer VPN
Stars: ✭ 708 (-9%)
Mutual labels:  vpn
Vibora
Fast, asynchronous and elegant Python web framework.
Stars: ✭ 5,734 (+637.02%)
Mutual labels:  client
Raspberrypiwireguard
Install and configure WireGuard on Raspberry Pi (and others)
Stars: ✭ 755 (-2.96%)
Mutual labels:  vpn
Wewechat
💬 Unofficial WeChat client built with React, MobX and Electron.
Stars: ✭ 5,618 (+622.11%)
Mutual labels:  client
Node Minecraft Protocol
Parse and serialize minecraft packets, plus authentication and encryption.
Stars: ✭ 697 (-10.41%)
Mutual labels:  client
Httpotion
(soft-deprecated) HTTP client for Elixir (use Tesla please)
Stars: ✭ 723 (-7.07%)
Mutual labels:  client
Instagram Web Api
🤳 Instagram Private Web API client for Node
Stars: ✭ 694 (-10.8%)
Mutual labels:  client

wgcf

wgcf is an unofficial, cross-platform CLI for Cloudflare Warp

Features

  • Register new account
  • Change license key to use existing Warp+ subscription
  • Generate WireGuard profile
  • Check account status
  • Print trace information to debug Warp/Warp+ status

Download

You can find pre-compiled binaries on the releases page.

Usage

Run wgcf in a terminal without any arguments to display the help screen. All commands and parameters are documented.

Register new account

Run the following command in a terminal:

wgcf register

The new account will be saved under wgcf-account.toml

Generate WireGuard profile

Run the following command in a terminal:

wgcf generate

The WireGuard profile will be saved under wgcf-profile.conf. For more information on how to use it, please check the official WireGuard Quick Start.

Maximum transmission unit (MTU)

To ensure maximum compatibility, the generated profile will have a MTU of 1280, just like the official Android app. If you are experiencing performance issues, you may be able to improve your speed by increasing this value. For more information, please check #40.

Change license key

If you have an existing Warp+ subscription, for an example on your phone, you can bind the account generated by this tool to your phone's account, sharing its Warp+ status. Please note that there is a current limit of maximum 5 linked devices active at a time.

⚠️ This device's private key will be changed!

First, get your Warp+ account license key. To view it on Android:

  1. Open the 1.1.1.1 app
  2. Click on the hamburger menu button on the top-right corner
  3. Navigate to: Account > Key

Edit wgcf-account.toml directly with the new license key and run:

wgcf update

or, using an environment variable:

WGCF_LICENSE_KEY="123412341234" wgcf update

The license will be applied, and a new private key will be created for your account. Regenerate your WireGuard configuration and use the new private key.

Check device status

Run the following command in a terminal:

wgcf status

Verify Warp/Warp+ works

Connect to the WireGuard profile generated by this tool, then run:

wgcf trace

If you look at the last line, it should say warp=on or warp=plus, depending on whether you have Warp or Warp+ respectively.

Development

Sub-packages

  • api_tests - Tests for API documentation generation
  • spec_format - OpenAPI3 specification formatter to post-process the spec generated by Optic

API

This project uses Optic to automatically generate API documentation using the tests defined in api_tests. These tests cover all endpoints used by wgcf. The documentation is exported as an OpenAPI3 specification, which is then used with openapi-generator to generate the Go client API code under wgcf/openapi.

To update the API documentation, install Optic, then run:

api start

Resolve and save all the differences in the Web UI.

To regenerate the Go client API code, install openapi-generator, then run:

bash generate-api.sh

This script supports both Linux and WSL.

Notice of Non-Affiliation and Disclaimer

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Cloudflare, or any of its subsidiaries or its affiliates. The official Cloudflare website can be found at https://www.cloudflare.com/.

The names Cloudflare Warp and Cloudflare as well as related names, marks, emblems and images are registered trademarks of their respective owners.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].