{"id":19881875,"url":"https://github.com/szsascha/kafka-telegram-bot-example","last_synced_at":"2026-04-12T00:45:21.287Z","repository":{"id":194834665,"uuid":"682059857","full_name":"szsascha/kafka-telegram-bot-example","owner":"szsascha","description":"Telegram webhook echo bot using Go and Kafka.","archived":false,"fork":false,"pushed_at":"2023-09-14T17:22:07.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T18:14:56.838Z","etag":null,"topics":["cicd","deployment","devops","docker","docker-compose","github-actions","golang","kafka","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szsascha.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}},"created_at":"2023-08-23T10:56:00.000Z","updated_at":"2023-09-14T17:23:03.000Z","dependencies_parsed_at":"2023-09-15T10:24:49.035Z","dependency_job_id":null,"html_url":"https://github.com/szsascha/kafka-telegram-bot-example","commit_stats":null,"previous_names":["szsascha/kafka-telegram-bot-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szsascha%2Fkafka-telegram-bot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szsascha%2Fkafka-telegram-bot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szsascha%2Fkafka-telegram-bot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szsascha%2Fkafka-telegram-bot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szsascha","download_url":"https://codeload.github.com/szsascha/kafka-telegram-bot-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241310523,"owners_count":19941970,"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":["cicd","deployment","devops","docker","docker-compose","github-actions","golang","kafka","telegram-bot"],"created_at":"2024-11-12T17:15:47.552Z","updated_at":"2026-04-12T00:45:21.240Z","avatar_url":"https://github.com/szsascha.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram echo bot using Kafka\n\nWith this repository I created a simple Telegram echo bot in order to learn more about Go and Kafka.\n\nThe echo bot consists of 3 services:\n- telegram-callback: Endpoint for Telegram webhook. Writes content to incoming_messages Kafka topic.\n- telegram-message-processor: Reads incoming_messages topic, processes the message and sent the client a message via outgoing_messages topic\n- telegram-sender: Receives the outgoing_messages topic and creates the Telegram message\n\n## Futher notes\n- The production environment uses a proxy like https://github.com/szsascha/caddy-proxy (HTTPS handling is done in the proxy)\n- Run a service directly via `go run telegram-callback/telgram-callback.go`\n- Set Telegram webhook via POST https://api.telegram.org/bot{{token}}/setWebhook?url=https://{{serveraddress}}/{{token}}\n- The current setup is created for use in github actions only\n- Kafka port docker internally: 29092\n- Kafka port from outsite docker: 9092\n- Keep your token safe!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszsascha%2Fkafka-telegram-bot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszsascha%2Fkafka-telegram-bot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszsascha%2Fkafka-telegram-bot-example/lists"}