{"id":20699891,"url":"https://github.com/mrmarble/teledock","last_synced_at":"2025-10-10T23:04:42.298Z","repository":{"id":38037242,"uuid":"282327738","full_name":"MrMarble/teledock","owner":"MrMarble","description":"Telegram bot to control docker","archived":false,"fork":false,"pushed_at":"2023-03-06T23:48:35.000Z","size":350,"stargazers_count":62,"open_issues_count":14,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-13T14:59:10.987Z","etag":null,"topics":["bot","docker","docker-compose","hacktoberfest","portainer","telegram"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrMarble.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}},"created_at":"2020-07-24T22:33:38.000Z","updated_at":"2024-07-08T02:02:17.000Z","dependencies_parsed_at":"2024-06-19T00:09:20.394Z","dependency_job_id":"2ed9ea18-917d-4f4d-99fa-2b85c343449f","html_url":"https://github.com/MrMarble/teledock","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fteledock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fteledock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fteledock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fteledock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrMarble","download_url":"https://codeload.github.com/MrMarble/teledock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224986449,"owners_count":17402937,"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","docker","docker-compose","hacktoberfest","portainer","telegram"],"created_at":"2024-11-17T00:32:40.897Z","updated_at":"2025-10-10T23:04:37.263Z","avatar_url":"https://github.com/MrMarble.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Teledock\n\n\u003cimg src=\"https://github.com/MrMarble/teledock/raw/master/assets/teledcock.png\" width=\"180\"\u003e\n\n[![Golang](https://github.com/MrMarble/teledock/actions/workflows/golang.yml/badge.svg)](https://github.com/MrMarble/teledock/actions/workflows/golang.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=MrMarble_teledock\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=MrMarble_teledock)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/mrmarble/teledock)\n[![Go Report Card](https://goreportcard.com/badge/github.com/MrMarble/teledock)](https://goreportcard.com/report/github.com/MrMarble/teledock)\n![Docker Pulls](https://img.shields.io/docker/pulls/mrmarble/teledock)\n\n**Teledock**: A simple telegram bot that allows a telegram's user to control a docker service.\n\n## Features\n\n- [x] List containers\n- [x] Start / Stop containers\n- [x] Inspect containers\n- [x] List stacks\n- [x] See logs\n- [x] List images\n\n## Build\n\n```bash\ngo build\n```\n\n## Running it\n\n### Requirements\n\n- [Docker](https://docker.com) (Obviously)\n\n### Configuration environment variables\n\n- `TELEDOCK_TOKEN`: Telegram token. See https://core.telegram.org/bots\n- `TELEDOCK_SUPERADMINS`: Comma separated list of Telegram user ids, only users listed here will have access to the bot.\n\n## Docker\n\nTo simplify the management of the bot there is a [Docker image](https://hub.docker.com/r/mrmarble/teledock) ready to use. You'll only need to mount the docker socket as a volume and set the environment variables ([see how](https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file)). Example:\n\n```bash\ndocker pull mrmarble/teledock # Only needed the first time or to update\ndocker run -d -v /var/run/docker.sock:/var/run/docker.sock \\\n--name teledock \\\n--env TELEDOCK_TOKEN=bot_token \\\n--env TELEDOCK_SUPERADMINS=tg_userid  \\\nmrmarble/teledock\n```\n\n## TODO\n\n- [ ] Create container\n- [ ] Run command inside container\n- [ ] Warn the user if tries to stop the bot\n\n## Suggestions / Contribution\n\nI made teledock because I need it but if you want to use it and there's something missing or not quite right, feel free to create an issue or a pull request if you know how to fix it yourself\n\n## License\n\nThis project is licensed under the GPL 3.0 License. See the [LICENSE](LICENSE)\nfile for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmarble%2Fteledock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmarble%2Fteledock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmarble%2Fteledock/lists"}