Skip to content

gophers-latam/go_linux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote execution of applications running on a linux server using Telegram

About the project

The aim of this project is to allow the users to execute different linux commands remotelly using the Telegram cli. This is a multi-thread application that handles simultaneously the requests of multiple users. Configuration is aimed to be simple.

Usage

  • Clone this repository on the Linux server you want to execute commands on.

  • Run make install to install all the dependencies.

  • Configure the .env file.

  • Configure the .secrets file. In this file you must specify:

    • TELEGRAM_TOKEN=YOUR BOT TOKEN
    • USER=USER SUDO PASSWORD
    • ADMIN=ADMIN TELEGRAM ID
  • Execute make run to directly run the application or make build to build the executable.

TBD

  • Use a better DB engine.
  • Add more scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.9%
  • Shell 3.1%
  • Makefile 2.0%
  • Python 1.0%