marknote / TeleShellBot

A simple Telegram Bot to run shell commands remotely

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TeleShellBot

A simple Telegram Bot to run shell commands remotely, so that you can maintain your server from mobile phones! demo

Install

Download or clone this repo, then

npm install

Config

module.exports = {
    config:function(){
        return (
            {
                adminUsers:[ADMIN_ID], //admin users' telegram id, should be numbers
                botToken: 'YOUR_BOT_TOEKN', // bot token

            }
        );
    }
};

Run

npm run start

or

node index.js

That is it!

About

A simple Telegram Bot to run shell commands remotely

License:MIT License


Languages

Language:JavaScript 100.0%