{"id":22097815,"url":"https://github.com/4thel00z/tbd","last_synced_at":"2025-03-24T01:21:57.993Z","repository":{"id":143783316,"uuid":"432242135","full_name":"4thel00z/tbd","owner":"4thel00z","description":"A tool to setup a server for and deploy telegram bots written in golang.","archived":false,"fork":false,"pushed_at":"2021-11-30T23:14:37.000Z","size":127,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T07:43:49.209Z","etag":null,"topics":["chatbot","ci","ci-cd","cli","deploy","deployment","deployment-automation","go","golang","pipeline","server","telegram","telegram-bot"],"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/4thel00z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2021-11-26T16:36:40.000Z","updated_at":"2021-12-15T20:04:24.000Z","dependencies_parsed_at":"2023-06-18T08:00:57.280Z","dependency_job_id":null,"html_url":"https://github.com/4thel00z/tbd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Ftbd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Ftbd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Ftbd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4thel00z%2Ftbd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4thel00z","download_url":"https://codeload.github.com/4thel00z/tbd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191995,"owners_count":20575317,"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":["chatbot","ci","ci-cd","cli","deploy","deployment","deployment-automation","go","golang","pipeline","server","telegram","telegram-bot"],"created_at":"2024-12-01T04:16:52.150Z","updated_at":"2025-03-24T01:21:57.968Z","avatar_url":"https://github.com/4thel00z.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tbd 👉 telegram bot deployer\n\n## Motivation\n\nThe idea is to have a tool which deploys telegram bots built in go as docker containers on a vanilla root server.\nNo fancy schmancy AWS/Azure/GCP stuff needed.\n\n## How ?\n\n![Picture of high level architecture](./arch/high_level.png)\n\nOn the target server we have the docker (containerd) daemon running while exposing the docker API via an tcp endpoint.\nFor this matter the docker settings was modified and the docker (contained) daemon restarted.\n\nAfter that this endpoint was forwarded via ssh to the local machine.\n\nThe environment variable `DOCKER_HOST` is modified before calling `tbd`, so it calls the remote docker (containerd) daemon\nthrough the ssh tunnel.\n\nThe `tbd` binary builds (currently only) go programs and builds a distroless docker image where it packs the first build artifact.\n\nThen it runs the artifact remotely on the server.\n\n\n## License\n\nThis project is licensed under the GPL-3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4thel00z%2Ftbd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4thel00z%2Ftbd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4thel00z%2Ftbd/lists"}