{"id":13627600,"url":"https://github.com/t0mer/dockerbot","last_synced_at":"2025-09-04T01:31:37.325Z","repository":{"id":101737075,"uuid":"278475483","full_name":"t0mer/dockerbot","owner":"t0mer","description":"DockerBot is a Telepot powerd, easy to use Telegram bot written in python that runs as Docker Container.","archived":false,"fork":false,"pushed_at":"2025-06-10T20:00:40.000Z","size":1549,"stargazers_count":22,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T21:19:49.347Z","etag":null,"topics":["bot","docker","python","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t0mer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","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,"zenodo":null}},"created_at":"2020-07-09T21:33:36.000Z","updated_at":"2025-06-10T20:00:44.000Z","dependencies_parsed_at":"2025-01-26T23:31:34.233Z","dependency_job_id":null,"html_url":"https://github.com/t0mer/dockerbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/t0mer/dockerbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Fdockerbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Fdockerbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Fdockerbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Fdockerbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t0mer","download_url":"https://codeload.github.com/t0mer/dockerbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t0mer%2Fdockerbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273539225,"owners_count":25123494,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","docker","python","telegram","telegram-bot"],"created_at":"2024-08-01T22:00:36.124Z","updated_at":"2025-09-04T01:31:37.303Z","avatar_url":"https://github.com/t0mer.png","language":"Python","funding_links":["https://www.paypal.com/paypalme/techblogil?locale.x=he_IL"],"categories":["Projects by main language"],"sub_categories":["python"],"readme":"*Please :star: this repo if you find it useful*\n\n\u003cp align=\"left\"\u003e\u003cbr\u003e\n\u003ca href=\"https://www.paypal.com/paypalme/techblogil?locale.x=he_IL\" target=\"_blank\"\u003e\u003cimg src=\"http://khrolenok.ru/support_paypal.png\" alt=\"PayPal\" width=\"250\" height=\"48\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n# DockerBot\n\nDockerBot is a [Telepot](https://telepot.readthedocs.io/en/latest/) powerd, easy to use Telegram bot written in python that runs as Docker Container.\nWith DockerBot you can:\n- List Exsisting Containers (and get status).\n- Start, Stop and Restart Containers.\n- Run SpeedTest.\n- Get Memory Status (Used, Free, etc.)\n- Get Disk Status.\n- Get Server Time.\n- Get Server Real (External) IP.\n\n\n#### Credits:\n=======\n\n- [Adam Russak](https://github.com/AdamRussak) for working with me on this project\n\n\n## Usage\n### Run from hub\n\n#### docker-compose from hub\n```yaml\nversion: \"3.7\"\n\nservices:\n  dockerbot:\n    image: techblog/dockerbot\n    container_name: dockerbot\n    network_mode: host\n    cap_add:\n       - NET_ADMIN\n    privileged: true\n    restart: always\n    environment:\n      - API_KEY=  #Required\n      - ALLOWED_IDS= #Required\n    volumes:\n       - /var/run/docker.sock:/var/run/docker.sock\n```\nReplace API_KEY with your bot token. if you do not have existing bot you can create one\nusing the instruction in this article:\n[Bots: An introduction for developers](https://core.telegram.org/bots) \n\nIn order to secure the bot and block unwanted calls from Unauthorized users add your allowd Id's with comma separated values into ALLOWED_IDS\nenvironmet. in order to get your id use @myidbot in telegram and send the /getid command. the result will be your ID:\n\n[![Get your ID](https://github.com/t0mer/dockerbot/raw/master/screenshots/Idbot.PNG \"Get your ID\")](https://github.com/t0mer/dockerbot/raw/master/screenshots/Idbot.PNG \"Get your ID\")\n\n# Screenshots\n\n[![Get Containers List](https://github.com/t0mer/dockerbot/raw/master/screenshots/dockerbot_get_containers_list.PNG \"Device Listing\")](https://github.com/t0mer/dockerbot/raw/master/screenshots/dockerbot_get_containers_list.PNG \"Device Listing\")\n\n[![Show Disk Info](https://github.com/t0mer/dockerbot/raw/master/screenshots/dockerbot_get_disk_info.PNG \"Show Disk Info\")](https://github.com/t0mer/dockerbot/raw/master/screenshots/dockerbot_get_disk_info.PNG \"Show Disk Info\")\n\n[![Run Speed Test](https://github.com/t0mer/dockerbot/raw/master/screenshots/dockerbot_speedtest.PNG \"Run Speed Test\")](https://github.com/t0mer/dockerbot/raw/master/screenshots/dockerbot_speedtest.PNG \"Run Speed Test\")\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0mer%2Fdockerbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft0mer%2Fdockerbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0mer%2Fdockerbot/lists"}