Skip to content

Latest commit

 

History

History
66 lines (36 loc) · 2.81 KB

README.md

File metadata and controls

66 lines (36 loc) · 2.81 KB

About The Project

Bitbar Plugin to track Covid-19 cases in Costa Rica from MacOS menu bar.

Built with:

How to Install

1. Installing BitBar

There are two ways to install BitBar on your Mac:

  • Use Homebrew: brew install --cask bitbar.
  • Or download .app file directly: Get the latest version of BitBar. Then copy it to your Applications folder and run it - it will ask you to (create and) select a plugins folder, do so.

2. Installing Node

  • Install Node by following the instructions here.
  • Make sure your node exec resides in usr/local/bin/node, else you will have to update the path in the script.

3. Saving this script

  • Download the script on your local machine. Make sure you place this file in the same plugin folder which you created while installing Bitbar.
  • Go to the plugin folder and run chmod +x covid-costarica.1h.js
  • Refresh Bitbar.

Set up my own tracker

1. Fork or download the project

If you fork, a copy of the project will be created in your github account, which you can clone or download to your computer to configure your own tracker with your country of preference.

If you download it you will have to unzip the project.

2. Rename the file

Edit the file name covid-costarica.1h.js for covid-COUNTRY.UPDATE_TIME.js, where COUNTRY is the country you want to track and UPDATE_TIME is the data update time. For more information about the update time settings click here.

3. Set my country

Edit the COUNTRY_CODE variable in the covid-19costaricatracker/src/config/plugin.js file for the code of your country according to the Novel COVID API.

4. Run your file

Go to the plugin folder and run chmod +x covid-COUNTRY.UPDATE_TIME.js and refresh Bitbar.

License

See license