XppaiWRT
Telegram bot framework written in PHP for OpenWRT
0
Stars
0
Forks
0
Watchers
0
Issues
66
Size (KB)
master
Branch
Files
Source on GitHubBrowse the folder structure on GitHub
File tree for this repository will appear here after the next data sync. Meanwhile you can open the full folder listing directly on GitHub.
README.md
View raw on GitHub →XppaiWRT
- Telegram bot framework written in PHP for OpenWRT
Tested on
Reyre Firmware OC OnLy 28.09.22 -> Speedtest bug
Reyre Firmware OC OnLy 27.10.22 -> Speedtest Fixed | vnstat Bug
Reyre Firmware OC OnLy 06.11.22 -> Working Perfectly
Features
Simple, easy to use.Support Long Polling and Webhook.
Speedtest (Fixed on Firmware Reyre OC OnLy 27.10.22)
Proxy List
Rules List
My IP
Vnstat
Memory
MyXL
Inline Command
Sysinfo
Commands
Commands list
/ping
/proxies
/rules
/vnstat -d / -m / --h
/myip
/memory
/sysinfo
/speedtest
/myxl 087666xxx
📷 Screenshots
Edit
Xppai.WRT with your own Bot Token
!bottokenStarting Bot
!Startingbot/start | /cmdlist
!Start cmdlist/memory
!Memory/myip
!Myip/myxl
number
!MyXL/proxies
!Proxies/rules
!Rules/speedtest
(depend on what speedtest installed)
!Speedtest/sysinfo
!sysinfo/vnstat
-d or -h or -m
!sysinfo
Requirements
- git
- screen
- php8-cli
- php8-mod-curl
- Telegram Bot API Token - Talk to @BotFather OR you can use default Token
Installation
Install from Terminal
Make sure all requirements is installed on your OpenWRT:
opkg update
opkg install git
opkg install git-http
opkg install php8-cli
opkg install php8-mod-curl
git clone https://github.com/OppaiCyber/XppaiWRT && chmod +x XppaiWRT/src/plugins/.sh
Usage
Edit Xppai.WRT before running
Edit Xppai.WRT with your Bot Token & Bot Username (without @)
Start Screen
screen -S bot
Enter XppaiWRT Directory
cd XppaiWRT
Start bot
php8-cli index.php
Repository metadata
- Owner
- TEGAR-SRC
- Primary language
- Not detected
- License
- GPL-3.0
- Created
- Nov 9, 2022
- Last pushed
- Nov 7, 2022
- Last updated
- Nov 7, 2022
Clone this repository
HTTPS
git clone https://github.com/TEGAR-SRC/XppaiWRT.gitSSH
git clone git@github.com:TEGAR-SRC/XppaiWRT.git