Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pujux/covid-box
🦠Update a gist to contain global or country specific coronavirus stats
https://github.com/pujux/covid-box
corona covid covid19 pinned-gist profile-readme virus
Last synced: 6 days ago
JSON representation
🦠Update a gist to contain global or country specific coronavirus stats
- Host: GitHub
- URL: https://github.com/pujux/covid-box
- Owner: pujux
- License: isc
- Archived: true
- Created: 2020-05-01T00:11:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T15:31:07.000Z (over 1 year ago)
- Last Synced: 2024-05-21T13:40:50.220Z (6 months ago)
- Topics: corona, covid, covid19, pinned-gist, profile-readme, virus
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 11
- Watchers: 3
- Forks: 29
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pinned-gists - covid-box - Update a gist to contain global or country specific coronavirus stats. (External Services)
README
COVID-Box
🦠Update a gist to contain global or per country coronavirus stats
covid-box is a GitHub Action that is designed to work using the
schedule
event.
## Setup
### Prep work
1. Create a new public GitHub Gist (https://gist.github.com/)
2. Create a personal access token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)### Project setup
1. Fork this repository
2. Go to the repo **Settings > Secrets**
3. Add the following environment variables:
- **GH_PAT:** The personal access token generated above.
- **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/puf17640/`**`f091f6edaca9b14d5a149983526feb63`**.
- **COUNTRY:** Specify a country name to show country specific data, if omitted, Global data is shown.
4. Wait for it to update! 🎉## Credits
This project uses the [covidapi](https://npmjs.com/covidapi) npm package to get all the data from [NovelCOVID API](https://disease.sh)
---
_Inspired by [JasonEtco/activity-box](https://github.com/JasonEtco/activity-box)_