{"id":16064497,"url":"https://github.com/antoniosbarotsis/coronabot","last_synced_at":"2025-10-28T23:39:08.917Z","repository":{"id":40725206,"uuid":"245882284","full_name":"AntoniosBarotsis/coronaBot","owner":"AntoniosBarotsis","description":"My attempt at data mining and analysis on Covid-19","archived":false,"fork":false,"pushed_at":"2023-01-05T17:35:02.000Z","size":2654,"stargazers_count":9,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-26T08:34:22.600Z","etag":null,"topics":["chartjs","coronavirus","covid-19","data-analysis","discord-bot","graph","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/AntoniosBarotsis.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-03-08T20:23:17.000Z","updated_at":"2022-09-29T14:29:00.000Z","dependencies_parsed_at":"2023-02-04T08:46:14.661Z","dependency_job_id":null,"html_url":"https://github.com/AntoniosBarotsis/coronaBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AntoniosBarotsis/coronaBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoniosBarotsis%2FcoronaBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoniosBarotsis%2FcoronaBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoniosBarotsis%2FcoronaBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoniosBarotsis%2FcoronaBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntoniosBarotsis","download_url":"https://codeload.github.com/AntoniosBarotsis/coronaBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntoniosBarotsis%2FcoronaBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281533483,"owners_count":26517826,"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-10-28T02:00:06.022Z","response_time":60,"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":["chartjs","coronavirus","covid-19","data-analysis","discord-bot","graph","hacktoberfest"],"created_at":"2024-10-09T05:08:15.471Z","updated_at":"2025-10-28T23:39:08.872Z","avatar_url":"https://github.com/AntoniosBarotsis.png","language":"JavaScript","readme":"# Covid-19 Discord Bot\n\n[![Build Status](https://travis-ci.org/AntoniosBarotsis/coronaBot.svg?branch=master)](https://travis-ci.org/AntoniosBarotsis/coronaBot)\n![GitHub repo size](https://img.shields.io/github/repo-size/AntoniosBarotsis/coronaBot?color=light%20green)\n\nA simple discord bot/command line application that can query data about confirmed, death and recovered cases regarding Covid-19 and make \nplots with that data. \n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Support](#support)\n- [Contributing](#contributing)\n\n## Installation\n\n- Using a Discord bot:\n    Download the repository and add a ``.env`` file in root containing your bot token and your preferred prefix (I used ``.``\n    as a prefix in the following examples).\n- Without a Discord bot:\n    Run the code through your console by running ``npm run cv [arguments]`` in the root directory.\n\n## Usage\n\n``.cv [modifier] [country] [option]``\n\n- modifier\n   - c (confirmed cases)\n   - r (recovered)\n   - d (deaths). \\\n   Inputting a modifier is optional and in the case of it's absence, confirmed cases are selected by default.\n   \n- country \\\n    All countries with recorded cases are supported. You have the option of typing ``all`` which\n    will return you data for all countries combined as well as ``other`` which does the same thing\n    minus China.\n    \n- option (optional)\n    - pie\\\n        Prints a pie chart (no need for modifier). Example usage: ``.cv us pie``\n    - change\\\n        Returns a chart showing the rate of change (modifier applicable). Example usage: ``.cv d italy change``\n    - compare ``[country 2]``\\\n        Plots both countries on the same chart (modifier applicable). Example usage: ``.cv r greece compare romania``.\n        Note that you can combine ``change`` and ``compare`` like so: ``.cv spain compare italy change``.\n    - log\\\n        Plots a logarithmic graph instead of a linear one. Can be combined with ``compare``.\n    - top\\\n        Plots a bar graph with the top 10 countries in terms of c/r/d cases. By default it plots the top 10.\\\n        Extra arguments:\n        - \\[number of countries\\]: changes the amount of countries displayed\n        - m: Sorts countries by mortality rate\n        - r: Shows countries in reverse order\n    - combined\\\n        Plots a line chart with recovered, deaths and active cases. If you include `` c``,' +\n        'confirmed cases are included in the graph as well.\n        \nYou can always use ``.help`` and ``.help [command]`` for a list of commands + usage.\n    \n## Support\n   \nPlease [open an issue](https://github.com/AntoniosBarotsis/coronaBot/issues/new) for support.\n\n## Contributing\n\nPlease contribute using [Github Flow](https://guides.github.com/introduction/flow/). \nCreate a branch, add commits, and [open a pull request](https://github.com/AntoniosBarotsis/coronaBot/compare).\n\n## Showcase\n - ```.cv all```\\\n![bruh](/images/3.jpeg)\n\n - ```.cv other change```\\\n![bruh](/images/4.jpeg)\n\n - ```.cv us pie```\\\n![bruh](/images/2.jpeg)\n\n - ```.cv d greece compare romania```\\\n![bruh](/images/1.jpeg)\n\n- ```.cv spain compare italy change```\\\n![bruh](/images/5.jpeg)\n\n- ```.cv russia compare albania log```\\\n![bruh](/images/6.jpeg)\n\n- ```.cv top 20```\\\n![bruh](/images/7.jpeg)\n\n- ```.cv spain combined c```\n![bruh](/images/8.jpeg)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniosbarotsis%2Fcoronabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoniosbarotsis%2Fcoronabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoniosbarotsis%2Fcoronabot/lists"}