node-npm v18++openwrt v23++nanogitgit-httpjqbashsysstatspeedtestInstallation
axiosdotenvnode-telegram-bot-apiws
before installation make sure your storage is not less than 150MBmake 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-bot2. installing bot
node-bot -i1. update package & install package
opkg update && opkg install node-npm git git-http jq sysstat bash curl wget vnstat2 vnstati2. install node-bot
wget https://raw.githubusercontent.com/ahmadqsyaa/node-bot-wrt/master/install.sh -O /usr/bin/node-bot && chmod +x /usr/bin/node-bot3. clone bot from github
cd ~ && git clone https://github.com/ahmadqsyaa/node-bot-wrt.git && cd node-bot-wrt4. create config token bot, userid etc.
cp .env.example .env && node-bot -cc5. install package npm
npm i6. move file
cp etc/init.d/node-bot /etc/init.d/
cp lib/mmsms lib/ht-api /usr/bin/
chmod +x /usr/bin/* /etc/init.d/node-bot lib/*/*.sh7. test send messages
/root/node-bot-wrt/lib/bot/booting.sh8. enable bot & start bot
/etc/init.d/node-bot enable
/etc/init.d/node-bot start9. add bot to crontab
node-bot -cb10. bot is installed and ready to use
help usage
node-bot -hupdate bot
node-bot -uupdate node-bot
node-bot -un
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OPENWRT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /dhcpl View DHCP lease list
» /cmd Run a terminal command
» /clear Clear RAM cache
» /firewal View all firewall rules
» /proc CPU information
» /reboot Reboot system
» /system System information
» /cpustat CPU and temperature info
» /service Manage services (start, stop, etc.)
» /ifconfig Network information
» /time Get time from OpenWrt
» /process View running processes
» /kill Stop a running process
» /opkgin Install OpenWrt packages
» /opkgupg Upgrade OpenWrt packages
» /opkglist List installed packages
» /opkgup Update package list
» /vnstat Display vnStat interface info
» /vnstati Generate vnStat traffic image
» /startup Startup configuration menu
» /crontab Crontab configuration menu
» /adguard AdGuard status
» /synctime Sync time from the web
» /pingall Ping all hosts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DROIDMODEM / ANDROID 10
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /droidnet Droidmodem menu
» /droidsms Send SMS from Android modem
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODEM HUAWEI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /infomodem View modem information
» /deletesms Delete SMS
» /getsms View SMS inbox
» /getcount Check SMS inbox count
» /sendsms Send SMS
» /rebootmodem Reboot modem
» /setband Change 4G band
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODEM MANAGER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /mmsms Modem Manager menu
» /mmsmsd Delete SMS via Modem Manager
» /mmsmss Send SMS via Modem Manager
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MODEM NOKIA
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /infonokia Info modem nokia
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ADB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /adb ADB menu
» /modpes Toggle airplane mode
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TOOL INJECT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /openclash OpenClash menu
» /passwall Passwall menu
» /ocrules View OpenClash rules
» /ocproxy View OpenClash proxies
» /octrafic View OpenClash traffic
» /mihomo Mihomo menu
» /miproxy Check Mihomo proxies
» /neproxy View NekoClash proxies
» /nerules View NekoClash rules
» /netrafic View NekoClash traffic
» /neko NekoClash menu
» /yacd Yacd dashboard (Meta)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BOT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /infobot info detail bot, project, dan dependencies
» /uptime View bot uptime
» /restartbot Restart the bot
» /stopbot Stop the bot
» /button Enable/disable keyboard buttons
» /command Enable/disable command menu
» /setnamebot Set bot name
» /update Update bot
» /readlog View bot error logs
» /clearlog Clear bot error logs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TOOL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
» /curl Download a file from the web
» /git Git commands / clone repository
» /wget Download a file from the web
» /ping Ping Google or a custom host
» /cekbug Ping a domain from a specific interface
» /sub Convert vmess/vless etc. to proxy file
» /myip View IP information
» /3ginfo 3ginfo-lite menu (4G modem info)
» /base64 Encode or decode base64
» /uuidgen Generate UUID
» /speedtest Perform a public speedtest
» /upfile Upload file/photo/video to OpenWrt
» /dlfile Send file/photo/video from OpenWrt
» /help Show help information
» /traceroute Trace packet route to destination
» /nslookup Resolve domain name to IP address
» /dnslookup Query DNS records
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
tested openwrt 23.05.4 reyre