{"id":18247619,"url":"https://github.com/alukianov63/telegram-bot-template","last_synced_at":"2026-04-11T04:34:39.150Z","repository":{"id":192058164,"uuid":"685969333","full_name":"aLukianov63/telegram-bot-template","owner":"aLukianov63","description":"A simple telegram bot template written on the aiogram~3.0.0, using PostgreSQL and Redis databases","archived":false,"fork":false,"pushed_at":"2023-09-28T17:02:56.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T05:08:53.095Z","etag":null,"topics":["aiogram3","bot","docker","docker-compose","postgresql","python","redis","template"],"latest_commit_sha":null,"homepage":"","language":"Python","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/aLukianov63.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":"2023-09-01T12:29:16.000Z","updated_at":"2023-09-04T10:39:22.000Z","dependencies_parsed_at":"2023-09-02T10:01:05.528Z","dependency_job_id":"c92fa697-83f4-4895-ac27-7b4fb3ea3ee2","html_url":"https://github.com/aLukianov63/telegram-bot-template","commit_stats":null,"previous_names":["alukianov63/telegram-bot-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/aLukianov63/telegram-bot-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aLukianov63%2Ftelegram-bot-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aLukianov63%2Ftelegram-bot-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aLukianov63%2Ftelegram-bot-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aLukianov63%2Ftelegram-bot-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aLukianov63","download_url":"https://codeload.github.com/aLukianov63/telegram-bot-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aLukianov63%2Ftelegram-bot-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["aiogram3","bot","docker","docker-compose","postgresql","python","redis","template"],"created_at":"2024-11-05T09:32:27.810Z","updated_at":"2026-04-11T04:34:39.127Z","avatar_url":"https://github.com/aLukianov63.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTelegram bot template✨\u003c/h1\u003e\n\n[![Aiogram](https://img.shields.io/badge/aiogram-3.0.0rc2-green)](https://pypi.org/project/aiogram/)\n[![Python](https://img.shields.io/badge/python-3.11-green)](https://www.python.org/)\n\nA simple telegram bot template written on the aiogram~3.0.0, using PostgreSQL and Redis databases\n\n## 🐋 Getting start with docker\n\n```\ngit clone https://github.com/aLukianov63/telegram-bot-template.git\n```\n\nConfigure environment variables in ``.env`` file, see [here](#configuration)\n\n```\ndocker-compose build\ndocker-compose up -d\n```\n\n## 💵 Payments\n\nIn order for your bot to charge users, you need to specify a [payment\ntoken](https://core.telegram.org/bots/payments#:~:text=Getting%20a%20Token,-Use%20the%20%2Fmybots\u0026text=Go%20to%20Bot%20Settings%20%3E%20Payments,will%20now%20show%20available%20providers.)\nin the ``.env`` file\n\n## ⚙️ Configuration\n\n|     variables     | description                                   |\n|:-----------------:|-----------------------------------------------|\n|    `API_TOKEN`    | telegram bot api token                        |\n|     `PG_HOST`     | hostname or an IP address PostgreSQL database |\n|     `PG_PORT`     | connection port number                        |\n|   `PG_PASSWORD`   | password used to authenticate                 |\n|     `PG_USER`     | the username used to authenticate             |\n|     `PG_NAME`     | the name of the PostgreSQL database           |\n|     `RD_HOST`     | hostname or an IP address Redis database      |\n|     `RD_PORT`     | port from Redis database                      |\n|      `RD_DB`      | redis database number                         |\n|    `PAY_TOKEN`    | your payment provider's token                 |\n| `PRODUCT_1_PRICE` | product 1 price                               |\n| `PRODUCT_2_PRICE` | product 2 price                               |\n\n## 📝 License\n\nDistributed under the MIT license. See `LICENSE` for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falukianov63%2Ftelegram-bot-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falukianov63%2Ftelegram-bot-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falukianov63%2Ftelegram-bot-template/lists"}