{"id":26738305,"url":"https://github.com/rodigrorodrigues/discord-docker-bot","last_synced_at":"2026-04-14T23:31:16.758Z","repository":{"id":284632259,"uuid":"955568432","full_name":"rodigrorodrigues/discord-docker-bot","owner":"rodigrorodrigues","description":"Discord bot developed to control Docker containers through simple Discord commands.","archived":false,"fork":false,"pushed_at":"2025-03-26T21:05:29.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T22:23:10.247Z","etag":null,"topics":["bot","discord","discord-bot","docker","docker-container","python"],"latest_commit_sha":null,"homepage":"","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/rodigrorodrigues.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":"2025-03-26T21:02:45.000Z","updated_at":"2025-03-26T21:37:58.000Z","dependencies_parsed_at":"2025-03-26T22:33:50.119Z","dependency_job_id":null,"html_url":"https://github.com/rodigrorodrigues/discord-docker-bot","commit_stats":null,"previous_names":["rodigrorodrigues/discord-docker-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodigrorodrigues%2Fdiscord-docker-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodigrorodrigues%2Fdiscord-docker-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodigrorodrigues%2Fdiscord-docker-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodigrorodrigues%2Fdiscord-docker-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodigrorodrigues","download_url":"https://codeload.github.com/rodigrorodrigues/discord-docker-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245962039,"owners_count":20701023,"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":["bot","discord","discord-bot","docker","docker-container","python"],"created_at":"2025-03-28T03:21:35.162Z","updated_at":"2026-04-14T23:31:11.730Z","avatar_url":"https://github.com/rodigrorodrigues.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Docker Bot\n\n## 📋 Description\n\nDiscord bot developed to control Docker containers through simple Discord commands.\n\n## 🛠️ Technologies Used\n\n- Python 3.9\n- discord.py\n- Docker SDK for Python\n- python-dotenv\n\n## 🚀 Features\n\n- Start container (`!start`)\n- Stop container (`!stop`)\n- Automatic event and error logging\n\n## ⚙️ Setup\n\n### Prerequisites\n\n- Python 3.9 or higher\n- Docker installed\n- A registered Discord application to obtain the token\n\n### Environment Variables\n\nCreate an `.env` file in the project root with:\n\n```env\nDISCORD_TOKEN=your_discord_token\nDOCKER_IMAGE=docker/image\nDOCKER_CONTAINER_NAME=containerName\n```\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/rodigrorodrigues/discord-docker-bot.git\n```\n\n2. Install dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\n3. Run the bot:\n\n```bash\npython src/bot.py\n```\n\n### Using Docker Compose\n\nTo run using Docker Compose:\n\n```bash\ndocker-compose up --build\n```\n\n## 📌 Bot Commands\n\n- `!start` - Starts the container\n- `!stop` - Stops the container\n\n## 🧪 Tests\n\nTo run the tests:\n\n```bash\npython -m unittest tests/test_docker_service.py\n```\n\n## 📄 License\n\nThis project is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodigrorodrigues%2Fdiscord-docker-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodigrorodrigues%2Fdiscord-docker-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodigrorodrigues%2Fdiscord-docker-bot/lists"}