8000 GitHub - MatrixClub/SubinfoChecker: 订阅流量信息查询
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MatrixClub/SubinfoChecker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

订阅信息查询 Telegram Bot

DEMO

@Thesubinfo2_bot

配置

先去botfather获取bot token,然后在vps内使用一下命令安装bot

git clone https://github.com/RenaLio/SubinfoChecker

Debian | Ubuntu:

apt-get upgrade -y 
apt install -y python3 python3-pip 
pip3 install -r requirements.txt

CentOS

yum update -y
yun install -y python3 python3-pip
pip3 install -r requirements.txt

运行方式

直接使用Python命令调用Bot即可

python3 bot.py -t 123456:xxxxxxxx

123456:xxxxxxxxxxx为bot token

建议使用screensystemdPM2等工具将Bot挂在后台运行。

安装方式

持久化

  • Systemed

    bash install.sh
    

    查看状态

    systemctl status subbot
    

    查看日志

    journalctl -u subbot
    

    启动

    systemctl start subbot
    

    停止

    systemctl stop subbot
    

    重启

    systemctl restart subbot
    

    杀死所有子进程

    systemctl kill subbot
    

其他

subinfo.py

推荐个人使用,直接发送订阅链接就可以返回结果

subinfo2.py

/subinfo URL

感谢

subinfo的主要代码来源自telegram-PGM模块

About

订阅流量信息查询

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.7%
  • Shell 9.3%< 29C9 /span>
0