Skip to content

konpapanik/covid19-greece-tracker-macos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

Bitbar Plugin to track Covid-19 cases in Greece at MacOS menu bar.

Built with:

How to Install

1. Installing BitBar

There are two ways to install BitBar on your Mac:

  • Use Homebrew: brew cask install 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-greece.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-greece.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 countryName variable in the covid-COUNTRY.UPDATE_TIME.js file for the name 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

About

Track Covid19 cases in Greece at your Mac menu bar

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%