Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jramer/bitbar-corona
A bitbar plugin for info on the spread of the corona virus
https://github.com/jramer/bitbar-corona
Last synced: 3 months ago
JSON representation
A bitbar plugin for info on the spread of the corona virus
- Host: GitHub
- URL: https://github.com/jramer/bitbar-corona
- Owner: jramer
- License: mit
- Created: 2020-02-03T09:08:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-03T11:03:27.000Z (almost 5 years ago)
- Last Synced: 2024-06-28T09:35:06.847Z (5 months ago)
- Language: Shell
- Size: 394 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bitbar-corona
A bitbar plugin for info on the spread of the corona virus
[BitBar](https://getbitbar.com)
Uses data from the [GIS Dashboard](https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6) by [Johns Hopkins](https://systems.jhu.edu/research/public-health/ncov/)![Screenshot](corona_info.png)
Shows:
π· Number of reported sick
β οΈ Number of reported deaths
π Number of reported recoveries
πΊ Number of countries with reported cases# Installation & Setup
- Install [BitBar](https://getbitbar.com)
- Clone or download [this repository](https://github.com/jramer/bitbar-corona) to your Mac
- Copy `corona.1h.sh` to your BitBar Plugins Directory
- Edit `corona.1h.sh` and setup your country preferences:```
COUNTRY='Sweden' #Country you want warnings for
COUNTRY_FLAG='πΈπͺ' #The countrys flag emoji
WARNING_THRESHOLD=0 #Threshold for number of infections reported in the country. Can be used to reset warning to discover new infections.
```You might need to set the paths as well:
```
FPING_PATH=/usr/local/bin/fping
CURL_PATH=/usr/bin/curl
JQ_PATH=/usr/local/bin/jq
```To find the paths use e.g. `where curl`.
If you need to install any of the dependencies, use [homebrew](https://brew.sh/):
```
brew install jq fping
#curl should already exisit in macos. But if not:
#brew install curl
```