SkillAgentSearch skills...

ServerManagerBot

ServerManagerBot is a Telegram bot for managing Hetzner servers. It allows admins to control server actions.

Install / Use

/learn @erfjab/ServerManagerBot
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

[!IMPORTANT] We thank PingiHost for supporting and sponsoring this. project.

Setup

Server and Docker Setup

<details> <summary>Show Server Commands</summary>

1. Update the Server

sudo apt update && sudo apt upgrade -y

2. Install Docker

curl -fsSL https://get.docker.com | sh
</details>

Install & Run the Bot

<details> <summary>Show Run Commands</summary>

1. Create Directory and Download Files

mkdir -p /opt/erfjab/servermanagerbot/data
curl -o /opt/erfjab/servermanagerbot/docker-compose.yml https://raw.githubusercontent.com/erfjab/servermanagerbot/master/docker-compose.yml
cd /opt/erfjab/servermanagerbot
curl -o .env https://raw.githubusercontent.com/erfjab/servermanagerbot/master/.env.example

2. Config .env

You can set the database values as you like, but make sure to also add the same values inside the docker-compose.yml file to ensure your database is properly configured.

nano .env

Then edit your docker-compose.yml file as well:

nano docker-compose.yml

3. Pull Docker Image

docker compose pull

4. Start the Bot

docker compose up -d

After a few moments, the bot will start running.

</details>

Update the Bot

<details> <summary>Show Update Commands</summary>

Make sure you're in the servermanagerbot directory:

cd /opt/erfjab/servermanagerbot

Then update the bot:

docker compose pull && docker compose up -d
</details>

Manage the Bot

<details> <summary>Show Manage Commands</summary>

Make sure you're in the servermanagerbot directory:

cd /opt/erfjab/servermanagerbot
  • Restart the Bot:

    docker compose restart
    
  • Stop the Bot:

    docker compose down
    
  • View Logs:

    docker compose logs -f
    
</details>

Switch to GA Mode (preview mode)

<details> <summary>Show GA Commands</summary>

Make sure you're in the HolderBot directory:

cd /opt/erfjab/servermanagerbot
  • Open the Docker Compose File:

    nano docker-compose.yml
    
  • Change the Image Tag:

    From:

    erfjab/servermanagerbot:latest
    

    To:

    erfjab/servermanagerbot:ga
    
  • Pull the Docker Image:

    docker compose pull
    
  • Start the Bot:

    docker compose up -d
    
</details>

Support

Star the Project:
Stargazers

Related Skills

View on GitHub
GitHub Stars96
CategoryDevelopment
Updated1mo ago
Forks24

Languages

Python

Security Score

95/100

Audited on Mar 1, 2026

No findings