node-npm v18++
openwrt v24++
nano
git
git-http
jq
bash
sysstat
speedtest
Installation
axios
dotenv
node-telegram-bot-api
ws
before installation make sure your storage is not less than 150MB
make sure your internet is stable when installing the package
1. copy and paste in terminal
wget https://raw.githubusercontent.com/ahmadqsyaa/node-bot-wrt/master/install.sh -O /usr/bin/node-bot && chmod +x /usr/bin/node-bot
2. installing bot
node-bot -i
help usage
node-bot -h
update bot
node-bot -u
update node-bot
node-bot -un
━━━━━━━━━━━━━━━━━━━━━━━━━━
OPENWRT
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /dhcpl view DHCP lease list
» /cmd run a command as terminal
» /clear clear RAM cache
» /firewal view all firewall rules
» /proc CPU information
» /reboot reboot menu
» /system system information
» /cpustat informasi cpu and temperature
» /service service app start, stop dll
» /ifconfig network information
» /time get the time from OpenWrt
» /process view running application processes
» /kill stop a running application process
» /opkgin install OpenWrt packages
» /opkgupg upgrade OpenWrt packages
» /opkglist view installed packages
» /opkgup update OpenWrt packages
» /vnstat display vnstat information for the specified interface
» /vnstati generate network monitoring images
» /startup startup menu
» /crontab crontab menu
» /adguard adguard status
» /synctime synctime from web
» /pingall ping all to host
━━━━━━━━━━━━━━━━━━━━━━━━━━
MODEM HUAWEI
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /infomodem view modem information
» /deletesms delete SMS menu
» /getsms SMS menu
» /getcount view SMS inbox count
» /sendsms send SMS
» /reboot reboot menu
━━━━━━━━━━━━━━━━━━━━━━━━━━
MODEM MANAGER
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /mmsms Modem Manager menu
» /mmsmsd delete SMS with Modem Manager
» /mmsmss send SMS with Modem Manager
━━━━━━━━━━━━━━━━━━━━━━━━━━
ADB
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /adb ADB menu
» /modpes airplane on off
━━━━━━━━━━━━━━━━━━━━━━━━━━
TOOL INJECT
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /openclash openclash menu
» /passwall Passwall menu
» /ocrules view all openclash rules
» /ocproxy view all openclash proxies
» /octrafic view all openclash trafic
» /mihomo mihomo menu
» /miproxy check proxy mihomo
» /neproxy view all neko clash proxy
» /nerules view all neko clash rules
» /netrafic view all neko claah trafic
» /neko neko clash menu
━━━━━━━━━━━━━━━━━━━━━━━━━━
BOT
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /uptime view the bot's uptime
» /restartbot restart the bot
» /stopbot stop the bot
» /button enable or disable keyboard buttons
» /command enable or disable the command menu
» /setnamebot set the bot's name
» /update update bot
» /readlog read log error bot
» /dellog clear all log error bot
━━━━━━━━━━━━━━━━━━━━━━━━━━
TOOL
━━━━━━━━━━━━━━━━━━━━━━━━━━
» /curl download a file from the web
» /git git command / git clone
» /wget download a file from the web
» /ping ping google or ping a specified host
» /cekbug ping to a domain to one of the interfaces
» /sub convert vmess,vless dll to file proxy
» /myip my ip information
» /3ginfo 3ginfo-lite menu modem 4g
» /base64 base64 decode and encode
» /uuidgen generate uuid
» /speedtest perform a public speedtest
» /upfile upload a file, photo ,video to OpenWrt with the specified document
» /dlfile send a file, photo ,video from OpenWrt to the bot
» /help display help information
» /traceroute shows the path packets take to a destination
» /nslookup similar to nslookup; resolves domain names to IP addresses
» /dnslookup queries DNS for domain information (IP addresses, etc.)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
tested openwrt 23.05.4 reyre