{"repo":"alfiankan/teleterm","free":true,"listed":false,"github":"https://github.com/alfiankan/teleterm","clone":"git clone https://github.com/alfiankan/teleterm.git","description":"Telegram Bot Exec Terminal Command","language":"Go","stars":42,"topics":["telegram-bot","terminal","go","ssh","bot","golang","telegram"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Teleterm Telegram Bot Exec Terminal Command resurrection in this agentic era wi will create simple telegram ai agent wrapper Use Case - Running command on IoT Device through telegram bot - Transfering Files through telegram bot How To Install 1. Prebuilt Binary you can download prebuild binary depends on your os and arch, available prebuilts here: https://github.com/alfiankan/teleterm/releases/tag/v2.1.0 Once the binary is downloaded, you can move the binary to /usr/local/bin 2. Build From Source If your arch os is not listed in the prebuilt binary you can build from source. Required : - Go ^1.18 - gcc How to build : - clone git clone https://github.com/alfiankan/teleterm - build go build -o teleterm-bin ./cmd... How To Run : Required : - Telegram bot tokens, to get tokens please refer to Telegram Docs 1. Setting Up Config To setup fresh teleterm run teleterm will create folder on your home folder with name .teleterm contains : - config.yaml config yaml hold teleterm config : Key Value ------------- ------------- telegram token telegram token from bot father shell executor /bin/bash or /bin/sh .etc default is /bin/bash example config.yaml 2. Run teleterm To run teleterm simply run teleterm and log info will displayed. Available Bot Command Command Desc Example ------------- :------------- :------------- /refresh Refresh the bot system /refresh /run executing command /run ping -c 5 8.8.8.8 /getfile transfer donwload file from bot server /getfile /home/raspi/myfile.txt /addbutt","default_branch":null,"files":null,"tree":[],"storefront":"/r/alfiankan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alfiankan/teleterm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}