{"id":22244200,"url":"https://github.com/erfjab/servermanagerbot","last_synced_at":"2025-07-28T02:31:54.628Z","repository":{"id":257116539,"uuid":"855953053","full_name":"erfjab/ServerManagerBot","owner":"erfjab","description":"ServerManagerBot is a Telegram bot for managing Hetzner servers. It allows admins to control server actions.","archived":false,"fork":false,"pushed_at":"2024-10-30T00:37:55.000Z","size":19,"stargazers_count":31,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T02:52:04.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://t.me/Erfjabs","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erfjab.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-11T18:20:57.000Z","updated_at":"2024-10-30T00:37:59.000Z","dependencies_parsed_at":"2024-10-30T01:47:00.737Z","dependency_job_id":null,"html_url":"https://github.com/erfjab/ServerManagerBot","commit_stats":null,"previous_names":["erfjab/servermanagerbot"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FServerManagerBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FServerManagerBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FServerManagerBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FServerManagerBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfjab","download_url":"https://codeload.github.com/erfjab/ServerManagerBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227857424,"owners_count":17830164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T04:35:41.159Z","updated_at":"2025-07-28T02:31:54.614Z","avatar_url":"https://github.com/erfjab.png","language":"Python","funding_links":[],"categories":["Integrations"],"sub_categories":["Rust"],"readme":"## Prerequisites\n\nEnsure the following requirements are met before proceeding with installation:\n- **Operating System**: Ubuntu\n- **Permissions**: Root or sudo access\n\n## Installation\n\nTo install the `ServerManagerBot` bot, execute the following commands:\n\n1. Download and set up the script:\n   ```bash\n   sudo bash -c \"$(curl -sL https://raw.githubusercontent.com/erfjab/ServerManagerBot/master/install.sh)\" @ install-script\n   ```\n\n2. Install the bot:\n   ```bash\n   ServerManagerBot install\n   ```\n\n3. Set up the system service:\n   ```bash\n   ServerManagerBot install-service\n   ```\n\n4. Start the handler:\n   ```bash\n   ServerManagerBot start\n   ```\n\n### Installation Details\n\nThe above steps will:\n1. **Check and Install Dependencies**: Ensure all necessary software is installed.\n2. **Clone Repository**: Retrieve the `ServerManagerBot` repository securely.\n3. **Create Python Environment**: Set up an isolated environment for Python packages.\n4. **Create and Enable Service**: Register `ServerManagerBot` as a system service.\n5. **Launch the Bot**: Start the bot, which will run continuously in the background.\n\n## Usage\n\nAfter installation, you can manage the `ServerManagerBot` bot using the following commands:\n\n```bash\nServerManagerBot \u003ccommand\u003e\n```\n\n### Commands\n\n- `install`: Set up the bot, including dependencies and initial configuration.\n- `start`: Start the bot service.\n- `stop`: Stop the bot service.\n- `restart`: Restart the bot service.\n- `status`: Check the current status of the bot service.\n- `logs`: View the bot’s logs in real time.\n- `update`: Pull the latest changes from the repository and apply updates.\n- `uninstall`: Fully remove the bot and all related files.\n- `help`: Display a help message with all available commands.\n\n## Directory Structure\n\n- **Installation Directory**: `/opt/erfjab/ServerManagerBot`\n- **Log File**: `/opt/erfjab/ServerManagerBot/ServerManagerBot.log`\n- **Service File**: `/etc/systemd/system/ServerManagerBot.service`\n\n## Uninstallation\n\nTo completely remove `ServerManagerBot` and all associated files, execute:\n\n```bash\nsudo ServerManagerBot uninstall\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfjab%2Fservermanagerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfjab%2Fservermanagerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfjab%2Fservermanagerbot/lists"}