telebot-server
v1.0.1
Published
Control your Linux server from Telegram — runs in background
Readme
telebot-server
Control your Linux server from Telegram. Runs in background.
Usage
# Install
npm install -g telebot-server
# Create .env
TELEGRAM_BOT_TOKEN=xxx
ALLOWED_USER_IDS=123,456
# Run (backgrounds automatically, prints PID)
telebot-server
# Stop
kill $(cat /tmp/telebot-server.pid)Commands
/exec <cmd> — any shell command
/uptime /who /mem /cpu /disk /temp /net /ports /docker
/ls [path] /cat <file> /find <p> /tail <file> [n]
/ps /top /kill <pid> [sig] /pkill <name>
/id — your Telegram ID
