Skip to content

ahmadqsyaa/node-bot-wrt

Repository files navigation

usage

📝 Requitmenst

  • node-npm v14++
  • nano
  • git
  • git-http
  • jq
  • bash
  • sysstat
  • speedtest Installation

📝 Depedenci NPM

  • pm2
  • axios
  • dotenv
  • node-telegram-bot-api
  • ws

🪄 fast Installation

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

installing bot

node-bot -i

help usage

node-bot -h

⚒️ Command Bot

━━━━━━━━━━━━━━━━━━━━━━━━━━ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━ TOOL INJECT ━━━━━━━━━━━━━━━━━━━━━━━━━━
  • » /openclash Openclash menu
  • » /passwall Passwall menu
  • » /ocrules view all OpenClash rules
  • » /ocproxy view all OpenClash proxies
  • » /octrafic view all OpenClash traffic ━━━━━━━━━━━━━━━━━━━━━━━━━━ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━ 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 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🆘 Help & Contact

tested openwrt 23.05.4 reyre