{"id":13682394,"url":"https://github.com/sagarkarira/coronavirus-tracker-cli","last_synced_at":"2025-05-16T01:06:03.717Z","repository":{"id":42287724,"uuid":"247166776","full_name":"sagarkarira/coronavirus-tracker-cli","owner":"sagarkarira","description":"Track conronavirus cases from command line. curl https://corona-stats.online/","archived":false,"fork":false,"pushed_at":"2023-03-09T16:59:47.000Z","size":2237,"stargazers_count":943,"open_issues_count":44,"forks_count":81,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-08T19:21:11.864Z","etag":null,"topics":["cli","corona","coronavirus","coronavirus-info","coronavirus-tracker","coronavirus-tracker-cli","covid19","curl"],"latest_commit_sha":null,"homepage":"https://corona-stats.online/","language":"JavaScript","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/sagarkarira.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","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}},"created_at":"2020-03-13T21:46:50.000Z","updated_at":"2024-12-20T22:49:25.000Z","dependencies_parsed_at":"2024-01-22T20:14:53.686Z","dependency_job_id":"975c41b4-2a94-479a-81c0-994ddecdcf0b","html_url":"https://github.com/sagarkarira/coronavirus-tracker-cli","commit_stats":{"total_commits":102,"total_committers":19,"mean_commits":5.368421052631579,"dds":0.4607843137254902,"last_synced_commit":"1d515fbe0b97596b11f050e282cd61330dec01e8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkarira%2Fcoronavirus-tracker-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkarira%2Fcoronavirus-tracker-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkarira%2Fcoronavirus-tracker-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagarkarira%2Fcoronavirus-tracker-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagarkarira","download_url":"https://codeload.github.com/sagarkarira/coronavirus-tracker-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254087605,"owners_count":22012529,"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":["cli","corona","coronavirus","coronavirus-info","coronavirus-tracker","coronavirus-tracker-cli","covid19","curl"],"created_at":"2024-08-02T13:01:45.398Z","updated_at":"2025-05-16T01:05:58.681Z","avatar_url":"https://github.com/sagarkarira.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    Coronavirus Tracker CLI\n\u003c/h1\u003e\n\n\nTrack The Corona virus stats from your terminal using curl or global command.\n\n[![Build Status](https://github.com/sagarkarira/coronavirus-tracker-cli/workflows/Tests/badge.svg)](https://github.com/sagarkarira/coronavirus-tracker-cli/actions?workflow=Tests)\n[![Tweet](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fsagarkarira%2Fcoronavirus-tracker-cli%2F)](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fsagarkarira%2Fcoronavirus-tracker-cli%2F)\n\n![Sponsored By Zeit](./powered-by.svg)\n\n**Live global stats (provided by [fight-covid19/bagdes](https://github.com/fight-covid19/bagdes))**\n\n![Covid-19 Confirmed](https://covid19-badges.herokuapp.com/confirmed/latest)\n![Covid-19 Deaths](https://covid19-badges.herokuapp.com/deaths/latest)\n\n## Screenshot\n\n![Preview](./preview.png)\n\n## Data Sources\n\n* Source 1 : [Johns Hopkins Data API](https://github.com/ExpDev07/coronavirus-tracker-api)\n* Source 2 : [WorldoMeters Data API](https://github.com/NovelCOVID/API/) updated very frequently.\n\n**Note: Source 2 is the default source now if not mentioned**\n\n## CURL\n\n```sh\n# Get data from worldometers api i.e source 2\ncurl https://corona-stats.online\n\n# Get data from source 1\ncurl https://corona-stats.online?source=1\n\n# Get data from source 2\ncurl https://corona-stats.online?source=2\n\n# Filter by country /countryCode or /countryName\n\ncurl https://corona-stats.online/US\ncurl https://corona-stats.online/italy\ncurl https://corona-stats.online/uk?source=2\ncurl https://corona-stats.online/gb?source=1\n\n# State wise stats of country (Only for US as of now)\n\ncurl https://corona-stats.online/US\n\n# Only show top N countries\ncurl https://corona-stats.online?top=20\n\n# Remove padding and borders from table\ncurl https://corona-stats.online?minimal=true\n\n# Latest News (Work In Progress)\ncurl https://corona-stats.online/updates\n\n# Allow emojis (emojis breaks in some terminals)\ncurl https://corona-stats.online?emojis=true\n\n# Help\ncurl https://corona-stats.online/help\n\n# Mix up above params (One that I use)\ncurl 'https://corona-stats.online?top=30\u0026source=2\u0026minimal=true\u0026emojis=true'\n\n```\n\n## API\n\nAdd `?format=json` at the end of any API to get JSON formatted data.\n\n```sh\ncurl https://corona-stats.online?format=json\n```\n\n## Node CLI\n\nNote: NodeJS version 12 recommended. You can download it [here](https://nodejs.org/en/download/).\n\n**Install**\n\n``` sh\n# Install\nnpm install coronavirus-tracker-cli -g\n\n# Run command\ncorona \n\n# Get source 1 data\ncorona --source=1\ncorona -s=1\n\n# Filter by country\ncorona italy\n\n# state wise stats (only for US as of now)\ncorona --states=US\ncorona --st=us\n\n# Filter top N countries\ncorona --top=10\ncorona -t=10\n\n# Minimal Compact Table\ncorona --minimal\ncorona -m\n\n# Monocolor / No colors\ncorona --color=false\ncorona -c=false\n\n# Show emojis\ncorona --emojis\ncorona -e\n\n# Confirmed Cases Graph\ncorona italy --graph\ncorona italy -g\n```\n\n## ToDos\n\n* ~~Filter by country to get cases by local states.~~\n* ~~Move from npm to curl~~\n* ~~Add daily change.~~\n* ~~Add graphs~~\n* Add growth rate column ? (double in X days)\n* Add latest updates from reddit / twitter.\n* Find and add regional data - state, county, city, district level data.\n\n## Contributors\n\n```text\n project  : curl-corona\n lines    :     3991\n authors  :\n  3342 Sagar Karira             83.7%\n  356 XhmikosR                  8.9%\n  232 Alexandra Parker          5.8%\n   26 Lucas Fernandez Nicolau   0.7%\n   13 Daniel S                  0.3%\n   10 Shelton Koskie            0.3%\n    5 Sabu Siyad                0.1%\n    4 Mo'men Tawfik             0.1%\n    2 Steven                    0.1%\n    1 Greg Myers                0.0%\n```\n\n## Other Regional Trackers\n\n* [Italy](https://opendatadpc.maps.arcgis.com/apps/opsdashboard/index.html#/b0c68bce2cce478eaac82fe38d4138b1)\n* [India](https://www.covid19india.org/)\n* [USA](https://www.npr.org/sections/health-shots/2020/03/16/816707182/map-tracking-the-spread-of-the-coronavirus-in-the-u-s)\n* [France](https://veille-coronavirus.fr/)\n* [Japan](https://covid19japan.com/)\n* [Philippines](https://ncovtracker.doh.gov.ph/)\n* [Austria (official)](https://info.gesundheitsministerium.at), [Austria (inofficial but more detailed)](https://covid19.spiessknafl.at)\n\n## Related Projects\n\n* \u003chttps://github.com/NovelCOVID/API\u003e\n* \u003chttps://github.com/javieraviles/covidAPI\u003e\n* \u003chttps://github.com/mathdroid/covid-19-api\u003e\n* \u003chttps://github.com/warengonzaga/covid19-tracker-cli\u003e\n* \u003chttps://github.com/ahmadawais/corona-cli\u003e\n* \u003chttps://github.com/ebwinters/CoronaTracker\u003e\n\n## Sponsored By\n\n* [Zeit Now](https://github.com/zeit/now).\n\n## License\n\n[WTFPL](http://www.wtfpl.net/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarkarira%2Fcoronavirus-tracker-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagarkarira%2Fcoronavirus-tracker-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagarkarira%2Fcoronavirus-tracker-cli/lists"}