Skip to content

A simple Telegram Bot to run shell commands remotely

License

Notifications You must be signed in to change notification settings

yeahbull/TeleShellBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeleShellBot

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

Install

Download or clone this repo, then

npm install

Config

Follow Telegram instructions to create a bot Then put your telegram user ID and bot token in config.js:

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

            }
        );
    }
};

Run

npm start

or

node index.js

That is it!

About

A simple Telegram Bot to run shell commands remotely

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%