warp-tools

module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: AGPL-3.0

README

warp-tools

一些关于滥用 Cloudflare WARP 的工具。

Build

./scripts/build.sh

得到 build/warp-tools

Usage

Program

您可以调用我们程序的 API 以在您的项目中管理 WARP。

go get github.com/AntiNeko/warp-tools@latest

cmd/example 提供了一个简单的示例程序。它虽然简单,但却包含了程序的所有功能。

Command

$ warp-tools --help
Usage:
  warp-tools [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  device      Update your device info.
  generate    Generate wireguard keypair.
  help        Help about any command
  int2base64  Turn Int to base64.
  register    Register a warp account.
  reserved    Turn base64 reserved to some numbers.
  version     Print the version number of myapp

Flags:
  -h, --help           help for warp-tools
  -s, --socks uint16   Set socks5 proxy port.

Use "warp-tools [command] --help" for more information about a command.

device

上传您的 WARP 账户信息以激活 WARP。(没多少用)

generate

生成 WireGuard 密钥对。

int2base64

把 reserved 整数组转换为 base64 字符串。

register

注册 WARP 账号并生成 sing-box WireGuard Outbound 配置。

reserved

将 base64 字符串转换为整数组。

version

显示版本号。

Credits

Directories

Path Synopsis
cmd
example

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL