{"id":22157866,"url":"https://github.com/mkbeh/weatherbot","last_synced_at":"2025-03-24T14:48:17.255Z","repository":{"id":39762163,"uuid":"281428128","full_name":"mkbeh/weatherbot","owner":"mkbeh","description":"Weather telegram bot.","archived":false,"fork":false,"pushed_at":"2022-12-08T11:14:51.000Z","size":55,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T19:48:42.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mkbeh.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}},"created_at":"2020-07-21T14:59:52.000Z","updated_at":"2020-07-25T04:03:04.000Z","dependencies_parsed_at":"2023-01-25T03:00:25.322Z","dependency_job_id":null,"html_url":"https://github.com/mkbeh/weatherbot","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/mkbeh%2Fweatherbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fweatherbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fweatherbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkbeh%2Fweatherbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkbeh","download_url":"https://codeload.github.com/mkbeh/weatherbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294764,"owners_count":20591899,"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":[],"created_at":"2024-12-02T03:16:06.814Z","updated_at":"2025-03-24T14:48:17.231Z","avatar_url":"https://github.com/mkbeh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple asynchronous \"Weather telegram bot\"\n\n\n**Supports actions:**\n\n* User registration/login/logout\n* Send mail for confirm user email address\n* Get weather today (temperature, humidity)\n* Weather notifications for users every day at 10:00 AM\n\n\n**Used stack:**\n\n* Starlette\n* Tortoise ORM\n* MySQL\n* Docker-Compose\n\n\n**Third-party:**\n\n* openweathermap.org API\n* ngrok\n\n\n## Setup\n\n\u003e git clone https://github.com/mkbeh/weatherbot \u0026\u0026 cd weatherbot\n\nCreate and fill in .env* files.\n\u003e Create 2 files in the same directory: .env_app , .env_mysql\n\n**.env_app**\n```\nTELEGRAM_API_TOKEN=\nOPENWEATHER_API_TOKEN=\nNGROK_URL=\nSECRET_KEY=random:secret:key\nPWD_SALT=activation\nGMAIL_USER=\nGMAIL_PWD=\nMYSQL_URL=mysql://\u003cuser\u003e:\u003cpwd\u003e@db:3306/weatherbot\n```\n\n**.env_mysql**\n```\nMYSQL_ROOT_PASSWORD=root\nMYSQL_DATABASE=weatherbot\nMYSQL_USER=punk\nMYSQL_PASSWORD=punk\nMYSQL_HOST=db\n```\n\n## How to run\n\n```\nngrok http 5000\n\ndocker-compose up\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkbeh%2Fweatherbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkbeh%2Fweatherbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkbeh%2Fweatherbot/lists"}