{"id":17677016,"url":"https://github.com/muskanpaliwal/coronovirus_bot","last_synced_at":"2025-03-30T17:28:33.480Z","repository":{"id":84650789,"uuid":"249330107","full_name":"MuskanPaliwal/Coronovirus_Bot","owner":"MuskanPaliwal","description":"Scans the official Government website and throws notifications to Slack when new cases arise(Ministry of Health and Family Welfare)","archived":false,"fork":false,"pushed_at":"2021-01-04T05:56:33.000Z","size":59,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T19:43:07.889Z","etag":null,"topics":["coronavirus","coronavirus-tracking","python","scraping-websites","slack-webhook"],"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/MuskanPaliwal.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":"2020-03-23T03:49:03.000Z","updated_at":"2023-03-04T09:03:12.000Z","dependencies_parsed_at":"2023-03-12T23:58:54.480Z","dependency_job_id":null,"html_url":"https://github.com/MuskanPaliwal/Coronovirus_Bot","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/MuskanPaliwal%2FCoronovirus_Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuskanPaliwal%2FCoronovirus_Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuskanPaliwal%2FCoronovirus_Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuskanPaliwal%2FCoronovirus_Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuskanPaliwal","download_url":"https://codeload.github.com/MuskanPaliwal/Coronovirus_Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246353871,"owners_count":20763735,"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":["coronavirus","coronavirus-tracking","python","scraping-websites","slack-webhook"],"created_at":"2024-10-24T07:27:26.645Z","updated_at":"2025-03-30T17:28:33.460Z","avatar_url":"https://github.com/MuskanPaliwal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoronaVirus Bot for India (Covid19)\n![Corona Slack Bot](https://github.com/MuskanPaliwal/Coronovirus_Bot/blob/master/BotWorkingImg/Screenshot%20from%202020-03-23%2017-40-40.png)\n## Features\n- Sit back and relax - the coronavirus updates will come to you.\n- Get Slack notifications (picture below)\n  -  New Corona Virus cases happening in India\n  -  How many Indian nationals have Corona Virus per State?\n  -  How many deaths happened per State?\n  -  The new States entering the corona zone like Chattisgarh\n- Too many updates? Subscribe only to the states that you want.\n\n## Installation\n- You need Python\n- You need a Slack account + Slack Webhook to send slack notifications to your account\n- Install dependencies by running\n```bash\npip install tabulate\npip install requests\npip install beautifulsoup4\n```\n- Clone this repo and create auth.py\n```bash\ngit clone https://github.com/MuskanPaliwal/Coronovirus_Bot.git\ncd Coronovirus_Bot\ntouch auth.py\n```\n- Write your Slack Webhook into auth.py\n```python\nDEFAULT_SLACK_WEBHOOK = 'https://hooks.slack.com/services/\u003cyour custome webhook url\u003e'\n```\n- Setup the cron job to receive updates whenever something changes\n```bash\ncrontab -e # opens an editor like vim or nano\n# now write the following to run the bot every 5 mins\n*/5 * * * * cd $PATH_TO_CLONE_DIR; python3 covid-19_bot.py --states 'haryana,maharashtra'\n# to receive updates for all states, ignore the --states flag\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuskanpaliwal%2Fcoronovirus_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuskanpaliwal%2Fcoronovirus_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuskanpaliwal%2Fcoronovirus_bot/lists"}