Giter Club home page Giter Club logo

v2board-dynamic-rate's Introduction

v2board 动态倍率脚本

使用 v2board 后端提供的 Api 配合 Linux Crontab 定时任务实现动态调整节点倍率功能。

Custom Badge Telegram

介绍

不用修改任何v2board后端代码、不侵入v2board数据库、安全无风险的实现动态倍率调节。 脚本每次运行会根据配置文件筛选出符合当前时间,需要修改倍率的节点。以此构造http请求,通过v2board后端提供的api修改节点数据。配合定时任务即可实现全自动动态节点倍率。

配置 Config.yaml

Field Desc
host 后台域名
admin_path 后台路径
admin_account 管理员账号
admin_password 管理员密码
nodes 节点列表
id 节点id
type 节点类型(shadowsocks/vmess/trojan/hysteria )
rate_config 该节点倍率配置列表
rate 倍率
start_time 开始时间(24h)
end_time 结束时间(24h)

使用方法

  1. 上传脚本到服务器 or 服务器直接 git clone 本项目

  2. 安装Python依赖 pip install -r requirements.txt

  3. 根据需求修改config.yaml

  4. 配置并启动 Linux crontab 定时任务

推荐

License

MIT

Copyright (c) 2014-present, Linki

v2board-dynamic-rate's People

Contributors

amyouran avatar

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.