Skip to content

ihorhnennyi/server-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Server Bot

Telegram bot for managing remote servers and projects via SSH
Built with Node.js + TypeScript | Telegraf | SSH2 | Admin Access Control


🚀 Features

  • ✅ Retrieve server status (uptime)
  • 🔄 Reboot and shut down remote servers
  • ⚙️ Manage server-side projects (PM2, Docker, custom deploy commands)
  • 🧠 Admin-only access via ADMIN_ID
  • 🔐 Secure SSH-based connection and execution

🧠 Technologies

Technology Description
Node.js JavaScript runtime environment
TypeScript Typed JavaScript for safer development
Telegraf Framework for creating Telegram bots
SSH2 SSH client for remote command execution
Docker (optional) Deploy project in container

🛠️ Installation

git clone https://github.com/ihorhnennyi/server-bot.git
cd server-bot

# Install dependencies
npm install

# Run the bot
npm run start

About

A Telegram bot for server management and project control through SSH commands

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors