diff --git a/README.md b/README.md index a068a517b..ac6394ac7 100644 --- a/README.md +++ b/README.md @@ -7,28 +7,26 @@ COVID-19 (2019 novel Coronavirus) is a current epidemic as of today. Developers **If you are a developer, you may also be able to contribute to some of these projects.** ## Contents - - [Get to Know](#get-to-know) - [Open Source Projects](#open-source-projects) - [API](#api) - - [Data, Charts, Stats, Analysis](#data-charts-stats-analysis) - - [Deep Learning](#deep-learning) + - [Statistics](#statistics) + - [Learning](#learning) - [Maps](#maps) - [Applications and Bots](#applications-and-bots) - [Packages and Scripts](#packages-and-scripts) - [Applications](#applications) - - [Open Source](#open-source-apps) + - [Open Source Apps](#open-source-apps) - [Web Apps](#web-apps) - [Android Apps](#android-apps) - [IOS Apps](#ios-apps) - - [Telegram / WhatsApp](#telegram--whatsApp) - + - [Social](#social) - [Twitter](#twitter) - [Telegram](#telegram) - - [WhatsApp](#twitter) + - [WhatsApp](#whatsApp) - [Research Outlets](#research-outlets) @@ -36,172 +34,212 @@ COVID-19 (2019 novel Coronavirus) is a current epidemic as of today. Developers - [Current Status](#current-status) -- [Contribute](#contribute) + + ## Get to Know -- [Coronavirus](https://www.who.int/health-topics/coronavirus) - World Health Organisation. -- [Novel coronavirus (COVID-19)](https://www.who.int/emergencies/diseases/novel-coronavirus-2019) - World Health Organisation. -- [Coronavirus disease (COVID-19) advice for the public](https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public) - World Health Organisation. -- [Q&A on coronaviruses (COVID-19)](https://www.who.int/news-room/q-a-detail/q-a-coronaviruses) - World Health Organisation. +| Link | Description | +|:------|:-------------| +| [Coronavirus](https://www.who.int/health-topics/coronavirus) | World Health Organisation. | +| [Novel coronavirus (COVID-19)](https://www.who.int/emergencies/diseases/novel-coronavirus-2019) | World Health Organisation. | +| [Coronavirus disease (COVID-19) advice for the public](https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public) | World Health Organisation. | +| [Q&A on coronaviruses (COVID-19)](https://www.who.int/news-room/q-a-detail/q-a-coronaviruses) | World Health Organisation. | + ## Open Source Projects #### API -- [ExpDev07/coronavirus-tracker](https://github.com/ExpDev07/coronavirus-tracker-api) - This is a fast (< 200ms) and basic API for tracking development of the new coronavirus (COVID-19, SARS-CoV-2). It's written in python using Flask. -- [nat236919/Covid2019API](https://github.com/nat236919/Covid2019API) - This API provides the information regarding '2019 Novel Coronavirus (Covid2019)'. It contains a number of confirmed, death, and recovered cases based on the data provided by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE). -- [bizz84/coronavirus_rest_api_flutter_course](https://github.com/bizz84/coronavirus_rest_api_flutter_course) - Coronavirus REST API Flutter Course. -- [coronavirus](https://coronavirus.john-coene.com/#/api) - An open-source nCov-2019 tracker API. -- [sorxrob/2019-ncov-api](https://github.com/sorxrob/2019-ncov-api) - Map, data and timeline of coronavirus (2019-nCoV). - -#### Data, Charts, Stats, Analysis - -- [CSSEGISandData/COVID-19](https://github.com/CSSEGISandData/COVID-19) - Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE. -- [globalcitizen/2019-wuhan-coronavirus-dat](https://github.com/globalcitizen/2019-wuhan-coronavirus-data) - 2019 Wuhan Coronavirus data (COVID-19 / 2019-nCoV). -- [nextstrain/ncov](https://github.com/nextstrain/ncov) - Nextstrain build for novel coronavirus (nCoV). -- [GuangchuangYu/nCov2019](https://github.com/GuangchuangYu/nCov2019) - Query stats of infected coronavirus cases. -- [RamiKrispin/coronavirus](https://github.com/RamiKrispin/coronavirus) - The coronavirus dataset. -- [jianxu305/nCov2019_analysis](https://github.com/jianxu305/nCov2019_analysis) - Analysis of 2019-nCov coronavirus data. -- [jihoo-kim/Coronavirus-Dataset](https://github.com/jihoo-kim/Coronavirus-Dataset) - Official information of Coronavirus disease 2019 (COVID-19) in South Korea. -- [docligot/coronatracker-analytics](https://github.com/docligot/coronatracker-analytics) - Analysis and reports based on novel coronavirus (nCoV-2019) data. -- [artic-network/artic-ncov2019](https://github.com/artic-network/artic-ncov2019) - ARTIC nanopore protocol for nCoV2019 novel coronavirus. -- [RamiKrispin/coronavirus-csv](https://github.com/RamiKrispin/coronavirus-csv) - CSV format for the coronavirus R package dataset. -- [alext234/coronavirus-stats](https://github.com/alext234/coronavirus-stats) - Charts and Data on Coronavirus (COVID-19). -- [lazargugleta/coronavirusStats](https://github.com/lazargugleta/coronavirusStats) - Track data for Coronavirus for your country. -- [tmacdou4/2019-nCov](https://github.com/tmacdou4/2019-nCov) - Efforts towards proposing a potentially highly active molecule against a target protein of the 2019 Novel Coronavirus. -- [joaotinti75/Coronavirus](https://github.com/joaotinti75/Coronavirus) - Daily database to display data in the form of a graph and map using the libraries matplotlib and folium. -- [alext234/coronavirus-stats](https://github.com/alext234/coronavirus-stats) - Charts and Data on Coronavirus (COVID-19). -- [HopkinsIDD/ncov_incubation](https://github.com/HopkinsIDD/ncov_incubation) - Real-time estimation of the novel coronavirus incubation time. - -#### Deep Learning - -- [mattroconnor/deep_learning_coronavirus_cur](https://github.com/mattroconnor/deep_learning_coronavirus_cure) - Using deep learning to generate novel molecules as candidates for binding with coronavirus protease. +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| + | 56 | [@nat236919](https://github.com/nat236919)/[**Covid2019API**](https://github.com/nat236919/Covid2019API) | COVID-2019 API | CoronaVirus 2019 Global Cases | + | 20 | [@sorxrob](https://github.com/sorxrob)/[**2019-ncov-api**](https://github.com/sorxrob/2019-ncov-api) | Map, data and timeline of coronavirus (2019-nCoV) | + | 8 | [@bizz84](https://github.com/bizz84)/[**coronavirus_rest_api_flutter_course**](https://github.com/bizz84/coronavirus_rest_api_flutter_course) | Coronavirus REST API Flutter Course | + | 2 | [@ExpDev07](https://github.com/ExpDev07)/[**coronavirus-tracker**](https://github.com/ExpDev07/coronavirus-tracker) | 🦠 A live tracker and visualization of the coronavirus (2019-nCoV). Consists purely of a frontend written in EmberJS. | + +#### Statistics + +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| + | 8212 | [@CSSEGISandData](https://github.com/CSSEGISandData)/[**COVID-19**](https://github.com/CSSEGISandData/COVID-19) | Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE | + | 671 | [@nextstrain](https://github.com/nextstrain)/[**ncov**](https://github.com/nextstrain/ncov) | Nextstrain build for novel coronavirus (nCoV) | + | 240 | [@GuangchuangYu](https://github.com/GuangchuangYu)/[**nCov2019**](https://github.com/GuangchuangYu/nCov2019) | query stats of infected coronavirus cases | + | 121 | [@RamiKrispin](https://github.com/RamiKrispin)/[**coronavirus**](https://github.com/RamiKrispin/coronavirus) | The coronavirus dataset | + | 113 | [@jihoo-kim](https://github.com/jihoo-kim)/[**Coronavirus-Dataset**](https://github.com/jihoo-kim/Coronavirus-Dataset) | [CSV] Dataset of CoronaVirus disease 2019 (COVID-19) in South Korea (from KCDC) | + | 66 | [@jianxu305](https://github.com/jianxu305)/[**nCov2019_analysis**](https://github.com/jianxu305/nCov2019_analysis) | Analysis of 2019-nCov coronavirus data | + | 39 | [@tmacdou4](https://github.com/tmacdou4)/[**2019-nCov**](https://github.com/tmacdou4/2019-nCov) | Efforts towards proposing a potentially highly active molecule against a target protein of the 2019 Novel Coronavirus | + | 35 | [@alext234](https://github.com/alext234)/[**coronavirus-stats**](https://github.com/alext234/coronavirus-stats) | Automatically scrape data and statistics on Coronavirus to make them easily accessible in CSV format | + | 35 | [@alext234](https://github.com/alext234)/[**coronavirus-stats**](https://github.com/alext234/coronavirus-stats) | Automatically scrape data and statistics on Coronavirus to make them easily accessible in CSV format | + | 24 | [@HopkinsIDD](https://github.com/HopkinsIDD)/[**ncov_incubation**](https://github.com/HopkinsIDD/ncov_incubation) | Estimating the incubation time of the novel coronavirus (nCoV-2019) based on traveler data using coarse data tools | + | 17 | [@RamiKrispin](https://github.com/RamiKrispin)/[**coronavirus-csv**](https://github.com/RamiKrispin/coronavirus-csv) | CSV format for the coronavirus R package dataset | + | 17 | [@docligot](https://github.com/docligot)/[**coronatracker-analytics**](https://github.com/docligot/coronatracker-analytics) | Analysis and reports based on novel coronavirus (nCoV-2019) data. | + | 14 | [@artic-network](https://github.com/artic-network)/[**artic-ncov2019**](https://github.com/artic-network/artic-ncov2019) | ARTIC nanopore protocol for nCoV2019 novel coronavirus | + | 9 | [@lazargugleta](https://github.com/lazargugleta)/[**coronavirusStats**](https://github.com/lazargugleta/coronavirusStats) | Track data for Coronavirus for your country. | + | 8 | [@joaotinti75](https://github.com/joaotinti75)/[**Coronavirus**](https://github.com/joaotinti75/Coronavirus) | this code uses a daily database to display data in the form of a graph and map using the libraries matplotlib and folium | + +#### Learning + +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| + | 224 | [@mattroconnor](https://github.com/mattroconnor)/[**deep_learning_coronavirus_cure**](https://github.com/mattroconnor/deep_learning_coronavirus_cure) | Using deep learning to generate novel molecules as candidates for binding with coronavirus protease | #### Maps -- [ncovis/choropleth](https://github.com/ncovis/choropleth) - Choropleth Map of the 2019 Novel Coronavirus Outbreak. -- [jakobzhao/virus](https://github.com/jakobzhao/virus) - Noval Coronavirus Infection Map. -- [antonlukin/2019-nCoV](https://github.com/antonlukin/2019-nCoV) - Wuhan coronavirus outbreak. -- [stevenliuyi/covid19](https://github.com/stevenliuyi/covid19) - An interactive, animated COVID-19 coronavirus map. -- [par6n/ncov-19](https://github.com/par6n/ncov-19) - A simple page featuring an interactive map presenting nCoV-19 spread in Iran. +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| + | 144 | [@ncovis](https://github.com/ncovis)/[**choropleth**](https://github.com/ncovis/choropleth) | Choropleth Map of the 2019 Novel Coronavirus Outbreak. | + | 38 | [@jakobzhao](https://github.com/jakobzhao)/[**virus**](https://github.com/jakobzhao/virus) | Noval Coronavirus Infection Map | + | 38 | [@stevenliuyi](https://github.com/stevenliuyi)/[**covid19**](https://github.com/stevenliuyi/covid19) | an interactive, animated COVID-19 coronavirus map to track the outbreak over time by country and by region for selected countries (including China, Italy, Korea, Japan, France, Germany, United States) | + | 35 | [@antonlukin](https://github.com/antonlukin)/[**2019-nCoV**](https://github.com/antonlukin/2019-nCoV) | Wuhan coronavirus outbreak | + | 12 | [@par6n](https://github.com/par6n)/[**ncov-19**](https://github.com/par6n/ncov-19) | A simple page featuring an interactive map presenting nCoV-19 spread in Iran | #### Applications and Bots -- [RamiKrispin/coronavirus_dashboard](https://github.com/RamiKrispin/coronavirus_dashboard) - Coronavirus dashboard provides an overview of the 2019 Novel Coronavirus COVID-19 (2019-nCoV) epidemic. -- [hysios/coronavirus](https://github.com/hysios/coronavirus) - 2019 nCoV realtime track system based Scrapy + influxdb + grafana + NLTK + Stanford CoreNLP. -- [sorxrob/2019-ncov-frontend](https://github.com/sorxrob/2019-ncov-frontend) - Map, data and timeline of coronavirus (2019-nCoV). -- [onlyphantom/coronavirus](https://github.com/onlyphantom/coronavirus) - A Shiny Web App tutorial inspecting the COVID-19 (2019-nCoV) epidemic. -- [the-robot/covid19-updates](https://github.com/the-robot/covid19-updates) - Monitoring service and bot to give updates about COVID-19 (Novel Coronavirus). +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| + | 65 | [@sorxrob](https://github.com/sorxrob)/[**2019-ncov-frontend**](https://github.com/sorxrob/2019-ncov-frontend) | Map, data and timeline of coronavirus (2019-nCoV) | + | 49 | [@hysios](https://github.com/hysios)/[**coronavirus**](https://github.com/hysios/coronavirus) | 2019 nCoV realtime track system based Scrapy + influxdb + grafana + NLTK + Stanford CoreNLP | + | 36 | [@the-robot](https://github.com/the-robot)/[**covid19-updates**](https://github.com/the-robot/covid19-updates) | Monitoring service and bot to give updates about COVID-19 (Novel Coronavirus) | + | 15 | [@RamiKrispin](https://github.com/RamiKrispin)/[**coronavirus_dashboard**](https://github.com/RamiKrispin/coronavirus_dashboard) | The Coronavirus Dashboard | + | 3 | [@onlyphantom](https://github.com/onlyphantom)/[**coronavirus**](https://github.com/onlyphantom/coronavirus) | A Shiny Web App tutorial inspecting the COVID-19 (2019-nCoV) epidemic | #### Packages and Scripts -- [datasets/covid-19](https://github.com/datasets/covid-19) - Novel Coronavirus 2019. -- [koushikkothagal/coronavirus-tracker](https://github.com/koushikkothagal/coronavirus-tracker) - Spring Boot Java app to track coronavirus confirmed cases across the globe. -- [eebrown/data2019nCoV](https://github.com/eebrown/data2019nCoV) - Data on the 2019 Novel Coronavirus Outbreak (R Package). -- [pdtyreus/coronavirus-ds](https://github.com/pdtyreus/coronavirus-ds) - Jupyter notebooks and python scripts for investigating the 2019 coronavirus outbreak. -- [eebrown/data2019nCoV](https://github.com/eebrown/data2019nCoV) - Data on the 2019 Novel Coronavirus Outbreak (R Package). +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| + | 42 | [@datasets](https://github.com/datasets)/[**covid-19**](https://github.com/datasets/covid-19) | Novel Coronavirus 2019 | + | 19 | [@pdtyreus](https://github.com/pdtyreus)/[**coronavirus-ds**](https://github.com/pdtyreus/coronavirus-ds) | Jupyter notebooks and python scripts for investigating the 2019 coronavirus outbreak | + | 16 | [@koushikkothagal](https://github.com/koushikkothagal)/[**coronavirus-tracker**](https://github.com/koushikkothagal/coronavirus-tracker) | Spring Boot Java app to track coronavirus confirmed cases across the globe | + | 15 | [@eebrown](https://github.com/eebrown)/[**data2019nCoV**](https://github.com/eebrown/data2019nCoV) | Data on the 2019 Novel Coronavirus Outbreak (R Package) | + | 15 | [@eebrown](https://github.com/eebrown)/[**data2019nCoV**](https://github.com/eebrown/data2019nCoV) | Data on the 2019 Novel Coronavirus Outbreak (R Package) | + ## Applications #### Open Source Apps -- [MhdHejazi/CoronaTracker](https://github.com/MhdHejazi/CoronaTracker) - Coronavirus tracker app for iOS & macOS with map & charts. -- [JohnCoene/coronavirus](https://github.com/JohnCoene/coronavirus) - Novel Coronavirus (COVID-19) Tracker. -- [alfianlosari/CoronaVirusTrackerSwiftUI](https://github.com/alfianlosari/CoronaVirusTrackerSwiftUI) - Corona Virus Tracker & Advices iOS App with SwiftUI. -- [MG-ng/Virus-Ticker-Widget](https://github.com/MG-ng/Virus-Ticker-Widget) - Android App to display a homescreen widget and useful websites in fullscreen. +| Link | Description | +|:-----|:-------------| +| [MhdHejazi/CoronaTracker](https://www.github.com/MhdHejazi/CoronaTracker) | Coronavirus tracker app for iOS & macOS with map & charts. | +| [JohnCoene/coronavirus](https://www.github.com/JohnCoene/coronavirus) | Novel Coronavirus (COVID-19) Tracker. | +| [alfianlosari/CoronaVirusTrackerSwiftUI](https://www.github.com/alfianlosari/CoronaVirusTrackerSwiftUI) | Corona Virus Tracker & Advices iOS App with SwiftUI. | +| [MG-ng/Virus-Ticker-Widget](https://www.github.com/MG-ng/Virus-Ticker-Widget) | Android App to display a homescreen widget and useful websites in fullscreen. | #### Web Apps -- [coronatracker.com](https://www.coronatracker.com) - CORONATRACKER.com is a community-based project powered by over 460 volunteers from across the globe, ranging from data scientists, medical professionals, UI/UX designers, fullstack developers, to the general public. -- [coronavirus.app](https://coronavirus.app) - Coronavirus statistics by map. -- [coronavirusinfections.org](https://coronavirusinfections.org) - Health information on coronavirus infections with detailed statistics from around the world. Data can be exported in 7 different formats. -- [thewuhanvirus.com](https://thewuhanvirus.com) - Coronavirus statistics by the countries. -- [sgwuhan.xose.net](https://sgwuhan.xose.net) - Coronavirus map. -- [coronavirus.site](https://coronavirus.site) - RECOMENDACIONES Y MEDIDAS PREVENTIVAS PARA EVITAR QUE EL VIRUS AVANCE. -- [the2019ncov.com](https://the2019ncov.com) - Map, data and timeline of coronavirus (2019-nCoV). -- [wuflu.live](https://wuflu.live) - Real-time updates and stats for the Coronavirus. -- [outbreak.my](https://www.outbreak.my) - Malaysia outbreakmMonitor and live updates. -- [epidemictracker.com](https://www.epidemictracker.com/2019-Novel-Coronavirus-2019-nCoV) - Epidemic Tracking and Data Science. -- [COVID19Japan.com](https://COVID19Japan.com) - Japan COVID-19 Coronavirus Tracker. -- [coronavirus.visualdatahq.com](https://coronavirus.visualdatahq.com) - Coronavirus Tracker. -- [go.gov.sg/covid-19-dashboard](https://go.gov.sg/covid-19-dashboard) - Official Update of COVID -19 Situation in Singapore. -- [shiny.john-coene.com/coronavirus](https://shiny.john-coene.com/coronavirus) - Coronavirus Tracker. -- [corona.rade.ir](https://corona.rade.ir) - نقشه‌ی مبتلایان به ویروس COVID-19 در ایران. -- [coronavirus.zone](https://coronavirus.zone) - Outbreak map of novel coronavirus 2019-nCoV. -- [balad.ir](https://balad.ir/search/corona-test-hospitals) - مراکز ویژه کرونا بر روی نقشه. -- [talksub.com/covid19](https://talksub.com/covid19) - For US. Interactive map, per state data table, chart, news articles. +| Link | Description | +|:-----|:-------------| +| [coronatracker.com](https://www.coronatracker.com) | CORONATRACKER.com is a community-based project powered by over 460 volunteers from across the globe, ranging from data scientists, medical professionals, UI/UX designers, fullstack developers, to the general public. | +| [coronavirus.app](https://coronavirus.app) | Coronavirus statistics by map. | +| [coronavirusinfections.org](https://coronavirusinfections.org) | Health information on coronavirus infections with detailed statistics from around the world. Data can be exported in 7 different formats. | +| [thewuhanvirus.com](https://thewuhanvirus.com) | Coronavirus statistics by the countries. | +| [sgwuhan.xose.net](https://sgwuhan.xose.net) | Coronavirus map. | +| [coronavirus.site](https://coronavirus.site) | RECOMENDACIONES Y MEDIDAS PREVENTIVAS PARA EVITAR QUE EL VIRUS AVANCE. | +| [the2019ncov.com](https://the2019ncov.com) | Map, data and timeline of coronavirus (2019-nCoV). | +| [wuflu.live](https://wuflu.live) | Real-time updates and stats for the Coronavirus. | +| [outbreak.my](https://www.outbreak.my) | Malaysia outbreakmMonitor and live updates. | +| [epidemictracker.com](https://www.epidemictracker.com/2019-Novel-Coronavirus-2019-nCoV) | Epidemic Tracking and Data Science. | +| [COVID19Japan.com](https://COVID19Japan.com) | Japan COVID-19 Coronavirus Tracker. | +| [coronavirus.visualdatahq.com](https://coronavirus.visualdatahq.com) | Coronavirus Tracker. | +| [go.gov.sg/covid-19-dashboard](https://go.gov.sg/covid-19-dashboard) | Official Update of COVID -19 Situation in Singapore. | +| [shiny.john-coene.com/coronavirus](https://shiny.john-coene.com/coronavirus) | Coronavirus Tracker. | +| [corona.rade.ir](https://corona.rade.ir) | نقشه‌ی مبتلایان به ویروس COVID-19 در ایران. | +| [coronavirus.zone](https://coronavirus.zone) | Outbreak map of novel coronavirus 2019-nCoV. | +| [balad.ir](https://balad.ir/search/corona-test-hospitals) | مراکز درمانی ویژه کرونا بر روی نقشه. | +| [talksub.com/covid19](https://talksub.com/covid19) | For US. Interactive map, per state data table, chart, news articles. | #### Android Apps -- [코로나맵100m](https://play.google.com/store/apps/details?id=com.tina3d.corona100m&hl=en_US) - 코백 - 코로나맵 정보 알림 서비스. -- [~~CoronaVirus Tracker 2019-nCoV~~](https://play.google.com/store/apps/details?id=com.agmostudio.coronatracker&hl=en) - Statistics, map of cases. -- [~~Coronavirus Tracker - latest information and news~~](https://play.google.com/store/apps/details?id=com.R4yan.CoronavirusTracker) - Location based statistics, news, charts, maps based dashboard. +| Link | Description | +|:-----|:-------------| +| [코로나맵100m](https://play.google.com/store/apps/details?id=com.tina3d.corona100m&amp;hl=en_US) | 코백 - 코로나맵 정보 알림 서비스. | +| [~~CoronaVirus Tracker 2019-nCoV~~](https://play.google.com/store/apps/details?id=com.agmostudio.coronatracker&hl=en) | Statistics, map of cases. | +| [~~Coronavirus Tracker - latest information and news~~](https://play.google.com/store/apps/details?id=com.R4yan.CoronavirusTracker) | Location based statistics, news, charts, maps based dashboard. | #### IOS Apps -- [Relief Central](https://apps.apple.com/us/app/relief-central/id353219185) - Coronavirus (COVID-19) Updates. -- [HEALTHLYNKED COVID-19 Tracker](https://apps.apple.com/us/app/healthlynked-covid-19-tracker/id1500575377) - Corona virus tracker. -- [CoronaTracker](https://github.com/MhdHejazi/Corona) - Coronavirus tracker app for iOS & macOS with map & charts. -- [Coronavírus - SUS](https://apps.apple.com/br/app/coronav%C3%ADrus-sus/id1408008382) - O Ministério da Saúde lança o app Coronavírus-SUS com o objetivo de conscientizar a população sobre o Corona Vírus COVID-19. +| Link | Description | +|:-----|:-------------| +| [코로나맵100m](https://play.google.com/store/apps/details?id=com.tina3d.corona100m&amp;hl=en_US) | 코백 - 코로나맵 정보 알림 서비스. | +| [~~CoronaVirus Tracker 2019-nCoV~~](https://play.google.com/store/apps/details?id=com.agmostudio.coronatracker&hl=en) | Statistics, map of cases. | +| [~~Coronavirus Tracker - latest information and news~~](https://play.google.com/store/apps/details?id=com.R4yan.CoronavirusTracker) | Location based statistics, news, charts, maps based dashboard. | + + ## Social #### Twitter -- [ncov201920](https://twitter.com/ncov201920) - Hello. I am new Coronavirus nCoV 2019/2020. I was born/made in Wuhan. I like airplanes, travel, food and all things viral. Follow me and I may not chase you. -- [CoronaVirusFlu](https://twitter.com/CoronaVirusFlu) - Updates, News Reports, and Articles regarding the spread of the 2019 novel Coronavirus originating in Wuhan, China. Stay up to date on the spread of the virus. -- [NCOVNEWS](https://twitter.com/NCOVNEWS) - Coronavirus ALERT Follow us for CoronaVirus breaking news around the world. -- [BotCorona](https://twitter.com/BotCorona) - A bot that keeps track of the #CoronaVirus Data gets tweeted every 2 hours. -- [CoronaVirusInfo](https://twitter.com/CoronaVirusInfo) - We're here to help you with any info concerning #2019nCoV (Coronavirus). -- [PneumoniaWuhan](https://twitter.com/PneumoniaWuhan) - News headlines about the Wuhan origin Coronavirus from journals, media, experts and researchers. Updated frequently. A Unique Resource - Curated by Dave Roberts. -- [coronavcharts](https://twitter.com/coronavcharts) - Your number #1 source on charts and “news” for #Coronavirus. -- [TrackerCorona](https://twitter.com/TrackerCorona) - I am a bot that collects U.S nCoV data from John Hopkins University and the U.S CDC and makes graphs! I am still in early development so there may be some bugs. -- [COVID19](https://twitter.com/V2019N) - "Everything we do before a pandemic will seem alarmist. Everything we do after will seem inadequate" -M. Leavitt, DHHS. -- [CoronaVirus Updates](https://twitter.com/COVID19Update) - I am a #PH Professional.Breaking News and Updates About #coronavirus,Truth, No Rumors. Safety Tips. -- [Coronavirus CoVid-19 Updates](https://twitter.com/subgap) - This account will tweet the current confirmed CoronaVirus #Covid-19 #NCOV infections. -- [Coronavirus (COVID-19) Alerts](https://twitter.com/coronaviruscare) - #COVID19 (#Coronavirus) Alerts, News & Info from reputed sources. Updates & Verified Facts on #2019nCoV Research, Strategies & Cures. Only truth, no rumours. -- [COVID19 Updates in Asia](https://twitter.com/SEACoronavirus) - Updates on #coronavirus #COVID19 #coronaoutbreak #SARSCoV2 #ไวรัสโคโรน่า #VirusCorona #코로나바이러스 #コロナウイルス in the Larger Western Pacific Region. +| Link | Description | +|:----------|:-------------| +| [ncov201920](https://twitter.com/ncov201920) | Hello. I am new Coronavirus nCoV 2019/2020. I was born/made in Wuhan. I like airplanes, travel, food and all things viral. Follow me and I may not chase you. | +| [CoronaVirusFlu](https://twitter.com/CoronaVirusFlu) | Updates, News Reports, and Articles regarding the spread of the 2019 novel Coronavirus originating in Wuhan, China. Stay up to date on the spread of the virus. | +| [NCOVNEWS](https://twitter.com/NCOVNEWS) | Coronavirus ALERT Follow us for CoronaVirus breaking news around the world. | +| [BotCorona](https://twitter.com/BotCorona) | A bot that keeps track of the #CoronaVirus Data gets tweeted every 2 hours. | +| [CoronaVirusInfo](https://twitter.com/CoronaVirusInfo) | We're here to help you with any info concerning #2019nCoV (Coronavirus). | +| [PneumoniaWuhan](https://twitter.com/PneumoniaWuhan) | News headlines about the Wuhan origin Coronavirus from journals, media, experts and researchers. Updated frequently. A Unique Resource - Curated by Dave Roberts. | +| [coronavcharts](https://twitter.com/coronavcharts) | Your number #1 source on charts and “news” for #Coronavirus. | +| [TrackerCorona](https://twitter.com/TrackerCorona) | I am a bot that collects U.S nCoV data from John Hopkins University and the U.S CDC and makes graphs! I am still in early development so there may be some bugs. | +| [COVID19](https://twitter.com/V2019N) | Everything we do before a pandemic will seem alarmist. Everything we do after will seem inadequate -M. Leavitt, DHHS. | +| [CoronaVirus Updates](https://twitter.com/COVID19Update) | I am a #PH Professional.Breaking News and Updates About #coronavirus,Truth, No Rumors. Safety Tips. | +| [Coronavirus CoVid-19 Updates](https://twitter.com/subgap) | This account will tweet the current confirmed CoronaVirus #Covid-19 #NCOV infections. | +| [Coronavirus (COVID-19) Alerts](https://twitter.com/coronaviruscare) | #COVID19 (#Coronavirus) Alerts, News & Info from reputed sources. Updates & Verified Facts on #2019nCoV Research, Strategies & Cures. Only truth, no rumours. | +| [COVID19 Updates in Asia](https://twitter.com/SEACoronavirus) | Updates on #coronavirus #COVID19 #coronaoutbreak #SARSCoV2 #ไวรัสโคโรน่า #VirusCorona #코로나바이러스 #コロナウイルス in the Larger Western Pacific Region. | #### Telegram -- [CoronaTracker-Public](https://t.me/coronatracker_public) -- [SG Fight Coronavirus](https://t.me/sgFight) -- [Coronavirus Updates](https://t.me/coronavirusupdates) -- [Coronavirus Info](https://t.me/coronavirusinfo) -- [Wuhan 2019 Novel Coronavirus](https://t.me/TheWuhanVirus) -- [SG-Wuhan 2019-nCoV Watchgroup](https://t.me/SGWuhan2019nCoV) -- [SG Wuhan Coronavirus Info Group](https://t.me/SGWuhanCoronaVirusNews) -- [Wuhan Quarantine #nCoV #武汉封城](https://t.me/wuhanquarantinefrom20200123) +| Link | Description | +|:----------|:-------------| +| [SG Fight Coronavirus](https://t.me/sgFight) | Let's Fight Coronavirus together in Singapore. | +| [Coronavirus Updates](https://t.me/coronavirusupdates) | Info-sharing on COVID-19. | +| [Coronavirus Info](https://t.me/coronavirusinfo) | Today's top stories regarding the COVID-19 Pandemic. | +| [Wuhan 2019 Novel Coronavirus](https://t.me/TheWuhanVirus) | A collation of Singapore News Articles on 2019-nCoV Wuhan Virus COVID-2019. | +| [SG Wuhan Coronavirus Info Group](https://t.me/SGWuhanCoronaVirusNews) | Providing news and updates on the Wuhan Coronavirus. | +| [Wuhan Quarantine #nCoV #武汉封城](https://t.me/wuhanquarantinefrom20200123) | 点击标签查看相关消息:新闻 生活实景 求助信息 捐赠 应灾技巧 专家解答 辟谣 重要通知 疫情动态 | +| [CoronaTracker-Public](https://t.me/coronatracker_public) | CoronaTracker-Public super group. | #### WhatsApp -- [Gov.sg](https://go.gov.sg/whatsapp) +| Link | Description | +|:----------|:-------------| +| [latest information about the COVID-19](https://go.gov.sg/whatsapp) | Gov.sg WhatsApp Subscription | + + ## Research Outlets - - [The Lancet COVID-19 Resource Centre](https://www.thelancet.com/coronavirus) - Journal page that aggregates coronavirus related research output. - - [American Society for Microbiology](https://journals.asm.org/search/coronavirus%20jcode%3Aaem%7C%7Caac%7C%7Ccdli%7C%7Ccmr%7C%7Ceukcell%7C%7Ciai%7C%7Cjb%7C%7Cjcm%7C%7Cjvi%7C%7Cmbio%7C%7Cmmbr%7C%7Cga%7C%7Cmcb%7C%7Cmsph%7C%7Cmsys%20limit_from%3A2019-01-01%20limit_to%3A2020-01-23%20numresults%3A10%20sort%3Arelevance-rank%20format_result%3Astandard?_ga=2.34252577.1885462816.1583650093-393486013.1583650093) - AMS search portal. - - [American Chemical Society](https://pubs.acs.org/page/vi/chemistry_coronavirus_research?utm_source=pubs_content_marketing&utm_medium=axial&utm_campaign=0120_JHS_coronavirus&ref=pubs_content_marketing#) - Free issue of ACS with a focus on coronavirus. - - [Annals of Internal Medicine](https://annals.org/aim/pages/coronavirus-content) - Annals page showcasing paper submissions. - - [European Respiratory Journal](https://erj.ersjournals.com/cc/sars-cov-2-and-covid-19) - ERJ journal portal on coronaviruses. - - [Oxford Academic](https://academic.oup.com/journals/pages/coronavirus?cc=us&lang=enϥdf937b5eb5a4ab1a9) - Page of journal articles on the coronavirus. - - [Jama Network](https://jamanetwork.com/journals/jama/pages/coronavirus-alert) - A variery of papers that span clinicians and researchers. - - [Springer Nature](https://www.springernature.com/gp/researchers/campaigns/coronavirus) - Springer Nature campaign page. +| Link | Description | +|:------|:-------------| +| [The Lancet COVID-19 Resource Centre](https://www.thelancet.com/coronavirus) | Journal page that aggregates coronavirus related research output. | +| [American Society for Microbiology](https://journals.asm.org/search/coronavirus%20jcode%3Aaem%7C%7Caac%7C%7Ccdli%7C%7Ccmr%7C%7Ceukcell%7C%7Ciai%7C%7Cjb%7C%7Cjcm%7C%7Cjvi%7C%7Cmbio%7C%7Cmmbr%7C%7Cga%7C%7Cmcb%7C%7Cmsph%7C%7Cmsys%20limit_from%3A2019-01-01%20limit_to%3A2020-01-23%20numresults%3A10%20sort%3Arelevance-rank%20format_result%3Astandard?_ga=2.34252577.1885462816.1583650093-393486013.1583650093) | AMS search portal. | +| [American Chemical Society](https://pubs.acs.org/page/vi/chemistry_coronavirus_research?utm_source=pubs_content_marketing&utm_medium=axial&utm_campaign=0120_JHS_coronavirus&ref=pubs_content_marketing) | Free issue of ACS with a focus on coronavirus. | +| [Annals of Internal Medicine](https://annals.org/aim/pages/coronavirus-content) | Annals page showcasing paper submissions. | +| [European Respiratory Journal](https://erj.ersjournals.com/cc/sars-cov-2-and-covid-19) | ERJ journal portal on coronaviruses. | +| [Oxford Academic](https://academic.oup.com/journals/pages/coronavirus?cc=us&lang=en&#997df937b5eb5a4ab1a9) | age of journal articles on the coronavirus. | +| [Jama Network](https://jamanetwork.com/journals/jama/pages/coronavirus-alert) | A variery of papers that span clinicians and researchers. | +| [Springer Nature](https://www.springernature.com/gp/researchers/campaigns/coronavirus) | Springer Nature campaign page. | + ## Interactive Applications -- [University of Virginia: COVID-19 Surveillance Dashboard](http://nssac.bii.virginia.edu/covid-19/dashboard/) - Dashboard showing. -- [Johns Hopkins CSSE: Coronavirus COVID-19 Global Cases](https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6) - Dashboard application providing interaction to global case data. -- [WHO Novel Coronavirus (COVID-19) Situation](https://experience.arcgis.com/experience/685d0ace521648f8a5beeeee1b9125cd) - WHO data visualization page. -- [Worldometer](https://www.worldometers.info/coronavirus/) - Showcasing coronavirus stats. +| Link | Description | +|:------|:-------------| +| [University of Virginia: COVID-19 Surveillance Dashboard](http://nssac.bii.virginia.edu/covid-19/dashboard) | Dashboard showing. | +| [Johns Hopkins CSSE: Coronavirus COVID-19 Global Cases](https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6) | Dashboard application providing interaction to global case data. | +| [WHO Novel Coronavirus (COVID-19) Situation](https://experience.arcgis.com/experience/685d0ace521648f8a5beeeee1b9125cd) | WHO data visualization page. | +| [Worldometer](https://www.worldometers.info/coronavirus) | Showcasing coronavirus stats. | + ## Current Status -- [WHO](https://www.who.int/emergencies/diseases/novel-coronavirus-2019) - World Health Orginization. -- [CDC](https://www.cdc.gov/coronavirus/2019-ncov/about/index.html) - Center for Disease control. +| Link | Description | +|:------|:-------------| +| [WHO](https://www.who.int/emergencies/diseases/novel-coronavirus-2019) | World Health Orginization. | +| [CDC](https://www.cdc.gov/coronavirus/2019-ncov/about/index.html) | Center for Disease control. | + ## Contribute +Contributions welcome! Read the [contribution guidelines](https://github.com/soroushchehresa/awesome-coronavirus/blob/master/contributing.md) first. -If you want to contribute, note that you should only update `README.md`. diff --git a/awesome-coronavirus.png b/awesome-coronavirus.png new file mode 100644 index 000000000..ac008f825 Binary files /dev/null and b/awesome-coronavirus.png differ diff --git a/data/applications.json b/data/applications.json index 471cf1189..219ad7a7c 100644 --- a/data/applications.json +++ b/data/applications.json @@ -23,7 +23,7 @@ "title": "MG-ng/Virus-Ticker-Widget", "url": "https://www.github.com/MG-ng/Virus-Ticker-Widget", "description": "Android App to display a homescreen widget and useful websites in fullscreen." - }, + } ] }, { @@ -160,6 +160,6 @@ "description": "Location based statistics, news, charts, maps based dashboard." } ] - }, + } ] } diff --git a/data/contents.json b/data/contents.json new file mode 100644 index 000000000..026c9208e --- /dev/null +++ b/data/contents.json @@ -0,0 +1,95 @@ +{ + "title": "Contents", + "list": [ + { + "category": "Get to Know", + "anchor": "get-to-know", + "list": [] + }, + { + "category": "Open Source Projects", + "anchor": "open-source-projects", + "list": [ + { + "title": "API", + "anchor": "api" + }, + { + "title": "Statistics", + "anchor": "statistics" + }, + { + "title": "Learning", + "anchor": "learning" + }, + { + "title": "Maps", + "anchor": "maps" + }, + { + "title": "Applications and Bots", + "anchor": "applications-and-bots" + }, + { + "title": "Packages and Scripts", + "anchor": "packages-and-scripts" + } + ] + }, + { + "category": "Applications", + "anchor": "applications", + "list": [ + { + "title": "Open Source Apps", + "anchor": "open-source-apps" + }, + { + "title": "Web Apps", + "anchor": "web-apps" + }, + { + "title": "Android Apps", + "anchor": "android-apps" + }, + { + "title": "IOS Apps", + "anchor": "ios-apps" + } + ] + }, + { + "category": "Social", + "anchor": "social", + "list": [ + { + "title": "Twitter", + "anchor": "twitter" + }, + { + "title": "Telegram", + "anchor": "telegram" + }, + { + "title": "WhatsApp", + "anchor": "whatsApp" + } + ] + }, + { + "category": "Research Outlets", + "anchor": "research-outlets", + "list": [] + }, + { + "category": "Interactive Applications", + "anchor": "interactive-applications", + "list": [] + }, + { + "category": "Current Status", + "anchor": "current-status", + "list": [] + } + ] +} diff --git a/data/current-status.json b/data/current-status.json new file mode 100644 index 000000000..1e77b4d09 --- /dev/null +++ b/data/current-status.json @@ -0,0 +1,15 @@ +{ + "title": "Current Status", + "list": [ + { + "title": "WHO", + "url": "https://www.who.int/emergencies/diseases/novel-coronavirus-2019", + "description": "World Health Orginization." + }, + { + "title": "CDC", + "url": "https://www.cdc.gov/coronavirus/2019-ncov/about/index.html", + "description": "Center for Disease control." + } + ] +} diff --git a/data/interactive-applications.json b/data/interactive-applications.json new file mode 100644 index 000000000..90ddcbe93 --- /dev/null +++ b/data/interactive-applications.json @@ -0,0 +1,25 @@ +{ + "title": "Interactive Applications", + "list": [ + { + "title": "University of Virginia: COVID-19 Surveillance Dashboard", + "url": "http://nssac.bii.virginia.edu/covid-19/dashboard", + "description": "Dashboard showing." + }, + { + "title": "Johns Hopkins CSSE: Coronavirus COVID-19 Global Cases", + "url": "https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6", + "description": "Dashboard application providing interaction to global case data." + }, + { + "title": "WHO Novel Coronavirus (COVID-19) Situation", + "url": "https://experience.arcgis.com/experience/685d0ace521648f8a5beeeee1b9125cd", + "description": "WHO data visualization page." + }, + { + "title": "Worldometer", + "url": "https://www.worldometers.info/coronavirus", + "description": "Showcasing coronavirus stats." + } + ] +} diff --git a/data/open-source-projects.json b/data/open-source-projects.json index 241dd28cd..5fd51dabf 100644 --- a/data/open-source-projects.json +++ b/data/open-source-projects.json @@ -34,7 +34,7 @@ { "category": "Learning", "repositories": [ - "mattroconnor/deep_learning_coronavirus_cur" + "mattroconnor/deep_learning_coronavirus_cure" ] }, { diff --git a/data/research-outlets.json b/data/research-outlets.json new file mode 100644 index 000000000..34c86117f --- /dev/null +++ b/data/research-outlets.json @@ -0,0 +1,45 @@ +{ + "title": "Research Outlets", + "list": [ + { + "title": "The Lancet COVID-19 Resource Centre", + "url": "https://www.thelancet.com/coronavirus", + "description": "Journal page that aggregates coronavirus related research output." + }, + { + "title": "American Society for Microbiology", + "url": "https://journals.asm.org/search/coronavirus%20jcode%3Aaem%7C%7Caac%7C%7Ccdli%7C%7Ccmr%7C%7Ceukcell%7C%7Ciai%7C%7Cjb%7C%7Cjcm%7C%7Cjvi%7C%7Cmbio%7C%7Cmmbr%7C%7Cga%7C%7Cmcb%7C%7Cmsph%7C%7Cmsys%20limit_from%3A2019-01-01%20limit_to%3A2020-01-23%20numresults%3A10%20sort%3Arelevance-rank%20format_result%3Astandard?_ga=2.34252577.1885462816.1583650093-393486013.1583650093", + "description": "AMS search portal." + }, + { + "title": "American Chemical Society", + "url": "https://pubs.acs.org/page/vi/chemistry_coronavirus_research?utm_source=pubs_content_marketing&utm_medium=axial&utm_campaign=0120_JHS_coronavirus&ref=pubs_content_marketing", + "description": "Free issue of ACS with a focus on coronavirus." + }, + { + "title": "Annals of Internal Medicine", + "url": "https://annals.org/aim/pages/coronavirus-content", + "description": "Annals page showcasing paper submissions." + }, + { + "title": "European Respiratory Journal", + "url": "https://erj.ersjournals.com/cc/sars-cov-2-and-covid-19", + "description": "ERJ journal portal on coronaviruses." + }, + { + "title": "Oxford Academic", + "url": "https://academic.oup.com/journals/pages/coronavirus?cc=us&lang=enϥdf937b5eb5a4ab1a9", + "description": "age of journal articles on the coronavirus." + }, + { + "title": "Jama Network", + "url": "https://jamanetwork.com/journals/jama/pages/coronavirus-alert", + "description": "A variery of papers that span clinicians and researchers." + }, + { + "title": "Springer Nature", + "url": "https://www.springernature.com/gp/researchers/campaigns/coronavirus", + "description": "Springer Nature campaign page." + } + ] +} diff --git a/data/socials.json b/data/social.json similarity index 85% rename from data/socials.json rename to data/social.json index e530ac2c2..54ba240ad 100644 --- a/data/socials.json +++ b/data/social.json @@ -1,6 +1,6 @@ { - "title": "Socials", - "list" : [ + "title": "Social", + "list": [ { "category": "Twitter", "list": [ @@ -74,56 +74,51 @@ { "category": "Telegram", "list": [ - { - "title": "CoronaTracker-Public", - "url": "https://t.me/coronatracker_public", - "description": "" - }, { "title": "SG Fight Coronavirus", "url": "https://t.me/sgFight", - "description": "" + "description": "Let's Fight Coronavirus together in Singapore." }, { "title": "Coronavirus Updates", "url": "https://t.me/coronavirusupdates", - "description": "" + "description": "Info-sharing on COVID-19." }, { "title": "Coronavirus Info", "url": "https://t.me/coronavirusinfo", - "description": "" + "description": "Today's top stories regarding the COVID-19 Pandemic." }, { "title": "Wuhan 2019 Novel Coronavirus", "url": "https://t.me/TheWuhanVirus", - "description": "" - }, - { - "title": "SG-Wuhan 2019-nCoV Watchgroup", - "url": "https://t.me/SGWuhan2019nCoV", - "description": "" + "description": "A collation of Singapore News Articles on 2019-nCoV Wuhan Virus COVID-2019." }, { "title": "SG Wuhan Coronavirus Info Group", "url": "https://t.me/SGWuhanCoronaVirusNews", - "description": "" + "description": "Providing news and updates on the Wuhan Coronavirus." }, { "title": "Wuhan Quarantine #nCoV #武汉封城", "url": "https://t.me/wuhanquarantinefrom20200123", - "description": "" + "description": "点击标签查看相关消息:新闻 生活实景 求助信息 捐赠 应灾技巧 专家解答 辟谣 重要通知 疫情动态" }, + { + "title": "CoronaTracker-Public", + "url": "https://t.me/coronatracker_public", + "description": "CoronaTracker-Public super group." + } ] }, { "category": "WhatsApp", "list": [ { - "title": "Gov.sg", + "title": "latest information about the COVID-19", "url": "https://go.gov.sg/whatsapp", - "description": "" - }, + "description": "Gov.sg WhatsApp Subscription" + } ] } ] diff --git a/package.json b/package.json index dff755bb3..1f6b28ae8 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "author": "Soroush Chehresa", "license": "MIT", "dependencies": { + "dotenv": "^8.2.0", "ejs": "^2.4.2", "github": "^2.1.0" } diff --git a/src/index.js b/src/index.js index c4647e68c..37c6bade8 100644 --- a/src/index.js +++ b/src/index.js @@ -4,42 +4,50 @@ const fs = require('fs'); const GitHubApi = require('github'); const ejs = require('ejs'); +require('dotenv') + .config(); + const DEBUG = process.env.NODE_ENV === 'development'; const GITHUB_AUTH_TOKEN = process.env.GITHUB_AUTH_TOKEN; const templateFilePath = `${__dirname}/template.md`; const outputFilePath = `${__dirname}/../README.md`; -let data = require('./../data.json'); +const getToKnowData = require('../data/get-to-know.json'); +let openSourceProjectsData = require('../data/open-source-projects.json'); +const applicationsData = require('../data/applications.json'); +const socialData = require('../data/social.json'); +const researchOutletsData = require('../data/research-outlets.json'); +const interactiveApplicationsData = require('../data/interactive-applications.json'); +const currentStatusData = require('../data/current-status.json'); +const contentsData = require('../data/contents.json'); const github = new GitHubApi({ debug: DEBUG, followRedirects: false, timeout: 10000, - Promise: Promise + Promise: Promise, }); github.authenticate({ - type: "oauth", - token: GITHUB_AUTH_TOKEN + type: 'oauth', + token: GITHUB_AUTH_TOKEN, }); -const repositories = data.curated +const repositories = openSourceProjectsData.list .map(item => { - const fetchReposPromise = item.repos + const fetchReposPromise = item.repositories .map(repoPath => { const separatedRepoPath = repoPath.split('/'); return github.repos.get({ user: separatedRepoPath[0], - repo: separatedRepoPath[1] + repo: separatedRepoPath[1], }); }); - const allSettled = fetchReposPromise.map(p => Promise.resolve(p) .then( val => ({ state: 'fulfilled', value: val }), err => ({ state: 'rejected', reason: err }))); - return Promise .all(allSettled) .then(rawResult => { @@ -48,25 +56,31 @@ const repositories = data.curated if (state === 'fulfilled' && value && value.name && value.owner) { return true; } - - console.log('Skipping repo - fetch error', reason); }) .map(({ value }) => value); return { category: item.category, - repos: result.sort((a, b) => a.stargazers_count < b.stargazers_count ? 1 : -1), - anchor: item.anchor || item.category.toLowerCase() + repositories: result.sort((a, b) => a.stargazers_count < b.stargazers_count ? 1 : -1), + anchor: item.anchor || item.category.toLowerCase(), }; }); }); Promise .all(repositories) - .then(curated => { - data = Object.assign(data, { curated }); + .then(openSourceList => { + const data = { + contents: contentsData, + openSource: { list: openSourceList, title: openSourceProjectsData.title }, + getToKnow: getToKnowData, + applications: applicationsData, + social: socialData, + researchOutlets: researchOutletsData, + interactiveApplications: interactiveApplicationsData, + currentStatus: currentStatusData, + }; const template = fs.readFileSync(templateFilePath, 'utf8'); const markdown = ejs.render(template, data); - fs.writeFileSync(outputFilePath, markdown); }) .catch(error => { diff --git a/src/template.md b/src/template.md index bfe8eac73..1ee8c7736 100644 --- a/src/template.md +++ b/src/template.md @@ -6,11 +6,71 @@ COVID-19 (2019 novel Coronavirus) is a current epidemic as of today. Developers **If you are a developer, you may also be able to contribute to some of these projects.** -## Contents +## <%= contents.title %> +<% for (i in contents.list) { %>- [<%= contents.list[i].category %>](#<%= contents.list[i].anchor %>) +<% for (j in contents.list[i].list) { %> - [<%= contents.list[i].list[j].title %>](#<%= contents.list[i].list[j].anchor %>) +<% } %> +<% } %> +## <%= getToKnow.title %> -## Contribute +| Link | Description | +|:------|:-------------| +<% for (i in getToKnow.list) { %>| [<%= getToKnow.list[i].title %>](<%= getToKnow.list[i].url %>) | <%= getToKnow.list[i].description %> | +<% } %> + +## <%= openSource.title %> + +<% for (i in openSource.list) { %>#### <%= openSource.list[i].category %> + +| :star2: | Repository | Description | +|:-----------:|:-------------|:-------------| +<% for (j in openSource.list[i].repositories) { %> | <%= openSource.list[i].repositories[j].stargazers_count %> | [@<%= openSource.list[i].repositories[j].owner.login %>](<%= openSource.list[i].repositories[j].owner.html_url %>)/[**<%= openSource.list[i].repositories[j].name %>**](<%= openSource.list[i].repositories[j].html_url %>) | <%= openSource.list[i].repositories[j].description %> | +<% } %> +<% } %> + +## <%= applications.title %> + +<% for (i in applications.list) { %>#### <%= applications.list[i].category %> + +| Link | Description | +|:-----|:-------------| +<% for (j in applications.list[i].list) { %>| [<%= applications.list[i].list[j].title %>](<%= applications.list[i].list[j].url %>) | <%= applications.list[i].list[j].description %> | +<% } %> +<% } %> + +## <%= social.title %> + +<% for (i in social.list) { %>#### <%= social.list[i].category %> +| Link | Description | +|:----------|:-------------| +<% for (j in social.list[i].list) { %>| [<%= social.list[i].list[j].title %>](<%= social.list[i].list[j].url %>) | <%= social.list[i].list[j].description %> | +<% } %> +<% } %> + +## <%= researchOutlets.title %> + +| Link | Description | +|:------|:-------------| +<% for (i in researchOutlets.list) { %>| [<%= researchOutlets.list[i].title %>](<%= researchOutlets.list[i].url %>) | <%= researchOutlets.list[i].description %> | +<% } %> + +## <%= interactiveApplications.title %> + +| Link | Description | +|:------|:-------------| +<% for (i in interactiveApplications.list) { %>| [<%= interactiveApplications.list[i].title %>](<%= interactiveApplications.list[i].url %>) | <%= interactiveApplications.list[i].description %> | +<% } %> + +## <%= currentStatus.title %> + +| Link | Description | +|:------|:-------------| +<% for (i in currentStatus.list) { %>| [<%= currentStatus.list[i].title %>](<%= currentStatus.list[i].url %>) | <%= currentStatus.list[i].description %> | +<% } %> + +## Contribute Contributions welcome! Read the [contribution guidelines](https://github.com/soroushchehresa/awesome-coronavirus/blob/master/contributing.md) first. diff --git a/yarn.lock b/yarn.lock index 3f19d69ff..80e92c24c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,6 +15,10 @@ debug@2, debug@^2.2.0: dependencies: ms "2.0.0" +dotenv@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a" + ejs@^2.4.2: version "2.7.4" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba"