https://github.com/dracarys18/shellbot
Just a simple telegram bot to run shell commands on a linux system using a telegram bot
https://github.com/dracarys18/shellbot
linux shellbot telegram-bot
Last synced: 12 months ago
JSON representation
Just a simple telegram bot to run shell commands on a linux system using a telegram bot
- Host: GitHub
- URL: https://github.com/dracarys18/shellbot
- Owner: dracarys18
- Created: 2020-09-14T18:10:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T21:05:29.000Z (over 1 year ago)
- Last Synced: 2025-03-16T15:42:00.849Z (12 months ago)
- Topics: linux, shellbot, telegram-bot
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShellBot
A simple Telegram Bot written in C++ to run shell commands in a Linux system remotely
from a Telegram Bot.
# Deployment
1. Install C++ Telegram Bot Library. The guide to install the library is [here](https://github.com/reo7sp/tgbot-cpp#library-installation)
2. Go to [@BotFather](https://t.me/botfather) in telegram and create a Bot.
3. Get the Bot API Key and add it in TG_API_KEY in `include/definit.h` header file.
4. Add your user id in SUDO_USER in `include/definit.h` header file.
5. And finally to run the Bot run following commands:-
```
cmake .
make -j $(nproc --all)
./tgbot
```