{"id":20127444,"url":"https://github.com/lexxx42/calculator_bot_aiogram","last_synced_at":"2025-07-19T22:34:49.685Z","repository":{"id":71895077,"uuid":"579600425","full_name":"Lexxx42/calculator_bot_aiogram","owner":"Lexxx42","description":"aiogram 3.0.0b7 calculator bot","archived":false,"fork":false,"pushed_at":"2023-03-31T14:45:14.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T21:22:53.256Z","etag":null,"topics":["aiogram3","bot","python","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Lexxx42.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-18T08:32:38.000Z","updated_at":"2022-12-22T11:31:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"11b2f232-11b6-41bf-ade7-43eee1a15705","html_url":"https://github.com/Lexxx42/calculator_bot_aiogram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lexxx42/calculator_bot_aiogram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fcalculator_bot_aiogram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fcalculator_bot_aiogram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fcalculator_bot_aiogram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fcalculator_bot_aiogram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lexxx42","download_url":"https://codeload.github.com/Lexxx42/calculator_bot_aiogram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lexxx42%2Fcalculator_bot_aiogram/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266031844,"owners_count":23866844,"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":["aiogram3","bot","python","telegram-bot"],"created_at":"2024-11-13T20:21:29.567Z","updated_at":"2025-07-19T22:34:49.651Z","avatar_url":"https://github.com/Lexxx42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calculator_bot_aiogram\n\nCalculator https://github.com/Lexxx42/calculator is now a telegram bot\n\n* Coded with Python 3.11.1\n\n---\n\n## used libraries\n\n* https://docs.aiogram.dev/en/dev-3.x/\n\n---\n\n## С чего начать?\n\n1. Создать бота у бота отца https://t.me/BotFather\n2. Используя команду /newbot или через меню бота-отца\n3. установить зависимости из файла requirements.txt командой: pip install -r requirements.txt\n4. создать в корне проекта файл .env\n5. вставить в .env строку: BOT_TOKEN=ВАШ_ТОКЕН_ТЕЛЕГРАМА, где ВАШ_ТОКЕН_ТЕЛЕГРАМА - токен бота, который получен от\n   бота-отца.\n\n*Пример:*\n\n``` shell\nBOT_TOKEN=ВАШ_ТОКЕН_ТЕЛЕГРАМА\n```\n\n# New features with docker\n\n## If there is an error about lack of access, add current user to the docker group:\n\n```shell\nsudo usermod -a -G docker [user]\nnewgrp docker\n```\n\n## Use this sequence of commands to run the container:\n\n1. To run the application in docker, you need to install docker-compose:\n\n```shell\nsudo apt install docker-compose \n```\n\n2. Clone the repository\n\n```shell\ngit clone https://github.com/Lexxx42/calculator_bot_aiogram.git\n```\n\n3. Change directory to project dir\n\n```shell\ncd calculator_bot_aiogram/\n```\n\n4. Add your tokens for telegram bot and yandex weather\n\n```shell\nnano .env\n```\n\n```\nBOT_TOKEN=YOUR_BOT_TOKEN\n```\n\nDon't forget to save changes!\n\n5. Start the build\n\n```shell\ndocker-compose up --build\n```\n\n### Added docker image to public repository\n\n[Docker Hub](https://hub.docker.com/repository/docker/alex42konukhov/calculator-bot-aiogram/general)\n\nIf you are using docker image from DockerHub use following commands:\n\n1. To pull repository use:\n\n```docker\ndocker pull alex42konukhov/calculator-bot-aiogram:ubuntu\n```\n\n2. Create a container from the image. Should be an error message.\n\n```docker\ndocker run alex42konukhov/calculator-bot-aiogram:ubuntu\n```\n\n3. Create `.env` file and add your telegram token\n\n```\nBOT_TOKEN=YOUR_BOT_TOKEN \n```\n\n4. Copy the modified configuration file from your host machine to the container's file system:\n\n```docker\ndocker cp .env docker_container_id:/calc-bot/.env\n```\n\n5. Run docker container in detached mode\n\n```docker\ndocker start container_id\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexxx42%2Fcalculator_bot_aiogram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flexxx42%2Fcalculator_bot_aiogram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flexxx42%2Fcalculator_bot_aiogram/lists"}