Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

lixiangwuxian/warp_plus_keys_generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warp Plus Key Generator

如何使用:

  • 执行 pip install -r requirements.txt 安装所需的依赖。
  • 在keys.json中填入已有的warp plus key。是的,你至少需要一个有效的warp plus key来生成新的key。
  • 在main.py中修改生成的key数量。默认一次生成一个。
  • 修改一个key所需要生成的流量,单位为GB,默认一个新key刷10GB,实际上刷出来的会少一点。
  • 执行 python main.py 开始生成key。

  • 以下为README原文。

This is a Python script that generates Warp Plus keys for your applications using Cloudflare.

The script automates the following procedures:

  1. Registers a new user account
  2. Adds a referral to the account
  3. Deletes the referral account
  4. Updates the initial license (swap with another license from a predefined list and then swap back to the initial)
  5. Retrieves final quota and checks if Warp Plus is enabled
  6. If Warp Plus is enabled, final license and quota are stored in a JSON file.

Prerequisites

  • Python 3.11.4
  • httpx package for sending HTTP requests
  • python-dotenv package for managing environment variables

These packages can be installed using:

pip install -r requirements.txt

Usage

  1. Clone the repository
  2. Navigate to project directory
  3. Create the .env file in the project directory and populate it with your keys. The format should be:
KEYS=key1,key2,key3,...

❗All keys must be already Warp+ for generation new keys. You need at least a one warp+ key! 4. To start the key generation process, simply run the Python script:

python main.py

Please note you need to specify the number of keys the program must generate in the main function.

Disclaimer

This script is provided as is without any guarantees or warranty. The author is not responsible for any misuse or damage caused by this program.

Contributions

Contributions, issues, and feature requests are welcome!

License

MIT

About

创建Warp+ key的轻量脚本

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%