Git Product home page Git Product logo

warpplus's Introduction

WARP+ 推荐奖励 Telegram Bot

warpplus

利用 Telegram Bot 获取 WARP+ 推荐奖励流量并通知用户

功能 (Functions)

  • 刷取一定次数
    • 不指定次数按 +∞ 刷取
    • 指定次数刷取
    • 刷取结果统计
  • 添加管理命令
  • 支持他人刷取
  • 设置定时任务
  • 查询当前流量
  • 支持多种语言

部署 (Deploy)

Warning 需要 Python >= 3.7

克隆仓库

git clone --depth=1 https://github.com/Oreomeow/warpplus && cd warpplus

安装依赖

pip3 install -r requirements.txt

配置参数

  • 通过 @BotFather 获取 Bot API Token

  • 通过 WARP APP 获取 ID

    WARP APP 图示

  • 修改 config.json

    {
        "TOKEN": "# Telegram bot API Token (可在 @botfather 获取,如 10xxx4:AAFcqxxxxgER5uw)",
        "REFERRER": "# WARP 应用内的设备 ID",
        "USER_ID": "# Telegram 用户 ID (给 @getidsbot 发送 /start 获取到的纯数字 ID,如 1434078534)",
        "GIFT_LIMIT": "# 限制其他用户单次刷取次数,如 10,不限制则输入 0"
    }

运行测试

python3 warpplus.py

Ctrl + C 退出

持久化运行

使用 tmux 或者 screen 运行。例如 tmux 安装:

# Debian or Ubuntu
apt install tmux

# CentOS or RedHat
yum install tmux

tmux 使用:

tmux new -s warpplus
cd warpplus
python3 warpplus.py

然后键盘按下 Ctrl + B D 即可 detach 当前窗口。

命令 (Commands)

start - 开始使用
plus - (<n>) 💂‍♂️管理员账号添加流量,不输入次数视为 +∞
bind - <referrer> 绑定账号
unbind - 解除绑定
gift - (<n>) 获取流量,不输入次数视为 +∞
stop - 💂‍♂️管理员停止运行中的任务

鸣谢 (Thanks)

warpplus's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.