{"id":30823979,"url":"https://github.com/bots-house/docker-telegram-bot-api","last_synced_at":"2025-09-06T11:11:55.669Z","repository":{"id":40919625,"uuid":"310036822","full_name":"bots-house/docker-telegram-bot-api","owner":"bots-house","description":"🧢 Docker image for Telegram Bot API. Always fresh!","archived":false,"fork":false,"pushed_at":"2024-03-15T09:59:16.000Z","size":13,"stargazers_count":69,"open_issues_count":4,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-16T00:45:53.593Z","etag":null,"topics":["docker-image","telegram-bot-api"],"latest_commit_sha":null,"homepage":"https://github.com/tdlib/telegram-bot-api","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bots-house.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}},"created_at":"2020-11-04T15:05:47.000Z","updated_at":"2024-02-09T18:23:18.000Z","dependencies_parsed_at":"2022-08-26T12:50:21.909Z","dependency_job_id":null,"html_url":"https://github.com/bots-house/docker-telegram-bot-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bots-house/docker-telegram-bot-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-house%2Fdocker-telegram-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-house%2Fdocker-telegram-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-house%2Fdocker-telegram-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-house%2Fdocker-telegram-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bots-house","download_url":"https://codeload.github.com/bots-house/docker-telegram-bot-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bots-house%2Fdocker-telegram-bot-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273893299,"owners_count":25186622,"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-06T02:00:13.247Z","response_time":2576,"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":["docker-image","telegram-bot-api"],"created_at":"2025-09-06T11:10:26.568Z","updated_at":"2025-09-06T11:11:55.660Z","avatar_url":"https://github.com/bots-house.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-telegram-bot-api ![CI](https://github.com/bots-house/docker-telegram-bot-api/workflows/CI/badge.svg)\n\nIt's just image and CI pipline for build [tdlib/telegram-bot-api](https://github.com/tdlib/telegram-bot-api). \n\n - 🧙 no magic, contains only build stage with binary entrypoint; \n - 🔄 trigger build when someone push to upstream repository (via [github-actions-upstream-watch](https://github.com/bots-house/github-actions-upstream-watch))\n\n## Docker Compose\n\n```yaml\nversion: '3.8'\n\nvolumes:\n  server-data: \n    driver: local\n\nservices:\n  server:\n    image: ghcr.io/bots-house/docker-telegram-bot-api:latest\n    environment: \n      # get this values from https://core.telegram.org/api/obtaining_api_id\n      TELEGRAM_API_ID: ?\n      TELEGRAM_API_HASH: ?\n    command: \n      # set working directory for files \n      - --dir=/var/lib/telegram-bot-api\n      # enable logging, disable in production\n      - --verbosity=2\n    volumes: \n      # mount volume for persistance of files\n      - server-data:/var/lib/telegram-bot-api\n    ports:\n      # access the API on 8081 port\n      - 8081:8081\n```\n\n## Usage \n\nYou can configure it through the command line flags, here is the list of available ones:\n\n```\nUsage: telegram-bot-api --api_id=\u003carg\u003e --api-hash=\u003carg\u003e [--local] [OPTION]...\n\nTelegram Bot API server. Options:\n  -h, --help                          display this help text and exit\n      --local                         allow the Bot API server to serve local requests\n      --api-id=\u003carg\u003e                  application identifier for Telegram API access, which can be obtained at https://my.telegram.org (defaults to the value of the TELEGRAM_API_ID environment variable)\n      --api-hash=\u003carg\u003e                application identifier hash for Telegram API access, which can be obtained at https://my.telegram.org (defaults to the value of the TELEGRAM_API_HASH environment variable)\n  -p, --http-port=\u003carg\u003e               HTTP listening port (default is 8081)\n  -s, --http-stat-port=\u003carg\u003e          HTTP statistics port\n  -d, --dir=\u003carg\u003e                     server working directory\n  -t, --temp-dir=\u003carg\u003e                directory for storing HTTP server temporary files\n      --filter=\u003carg\u003e                  \"\u003cremainder\u003e/\u003cmodulo\u003e\". Allow only bots with 'bot_user_id % modulo == remainder'\n      --max-webhook-connections=\u003carg\u003e default value of the maximum webhook connections per bot\n  -l, --log=\u003carg\u003e                     path to the file where the log will be written\n  -v, --verbosity=\u003carg\u003e               log verbosity level\n      --log-max-file-size=\u003carg\u003e       maximum size of the log file in bytes before it will be auto-rotated (default is 2000000000)\n  -u, --username=\u003carg\u003e                effective user name to switch to\n  -g, --groupname=\u003carg\u003e               effective group name to switch to\n  -c, --max-connections=\u003carg\u003e         maximum number of open file descriptors\n      --proxy=\u003carg\u003e                   HTTP proxy server for outgoing webhook requests in the format http://host:port\n```\n\n## Show your support\n\nGive a ⭐️ if this project helped you!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbots-house%2Fdocker-telegram-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbots-house%2Fdocker-telegram-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbots-house%2Fdocker-telegram-bot-api/lists"}