https://github.com/faem/telegram-sh-bot
Run shell command & take screenshots of your PC using a Telegram bot!
https://github.com/faem/telegram-sh-bot
bot go golang screenshot shell telegram-bot
Last synced: 5 months ago
JSON representation
Run shell command & take screenshots of your PC using a Telegram bot!
- Host: GitHub
- URL: https://github.com/faem/telegram-sh-bot
- Owner: faem
- Created: 2019-04-25T15:25:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-11T13:04:13.000Z (almost 7 years ago)
- Last Synced: 2025-07-30T21:22:39.147Z (11 months ago)
- Topics: bot, go, golang, screenshot, shell, telegram-bot
- Language: Go
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram Shell Bot
Run shell command & take screenshots of your PC using this bot.
## How to Run
- First create a Telegram bot using [BotFather]
- Then run `go get github.com/faem/telegram-sh-bot`
- Finally, `telegram-sh-bot --token --admin `
- Enjoy!
## Run from Docker
- `docker run fahimabrar/bot --token --admin `
## Available Flags
```
-admin string
Username of the admin (default "fahim_abrar")
-debug
Print error info to debug
-poll_time int
Response time of bot (default 100)
-token string
Token of your bot
```
## Bot Commands
- `/hello`: simply greets the user (anyone can run it)
- `/getss`: takes screenshots of the pc and sends it to the user (only admin can run it)
- `/sh `: runs the command where the bot is running and sends any output returned by the command or error (only admin can run it)
## Bot ScreenShots
Hello (`/hello`) | Get Screenshots (`/getss`) | Shell (`/sh cat Dockerfile`)
:-------------------------:|:-------------------------:|:-------------------------:
 |  | 
[BotFather]: https://core.telegram.org/bots#6-botfather