Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Hider-alt/covid-widget

A Scriptable widget for Covid graph of any country
https://github.com/Hider-alt/covid-widget

Last synced: 3 months ago
JSON representation

A Scriptable widget for Covid graph of any country

Awesome Lists containing this project

README

        

# NO LONGER MAINTAINED
# Covid iOS Widget
This Widget shows a graph of Covid cases for the last 8/15 days of the selected country.

![Widgets Overview](./img/Mockup.png)

___

## How to install
[Click here to see images of the instructions](./img/install.md)

1. Download Scriptable from the App Store.
2. **Download** a Scriptable file from the [release page](https://github.com/Hider-alt/covid-widget/releases/latest).
3. Once downloaded, click the Share button.
4. Click on the Scriptable icon.
5. Click on "Add to My Scripts".
6. Click on "Done".

## Add widget to the home-screen
[Click here to see images of the instructions](./img/add-to-home.md)

1. Add a new Scriptable widget to the home-screen.
2. In "Script" select **CovidGraph**.
3. In "Parameter" select the **country name** you want to show in the widget.

## How to update
[Click here to see images of the instructions](./img/update.md)

1. To update the **widget**, just click on **it**, and it will redirect to the [release page](https://github.com/Hider-alt/covid-widget/release).
2. Close momentarily Safari.
3. Delete CovidGraph script in Scriptable.
4. Go to the release page on Safari and download the Scriptable file.
5. Make steps from 3 of the [installation instructions](#how-to-install).

## Features
- The widget shows a graph of Covid cases for the last **8 days** in the **small** or **medium** version and
for the last **15 days** in the **large** version for the selected country in the parameter.
- The graph will be colored of **green** if the number of cases is less than the number of cases in the 7 days before,
**red** if the number of cases is more than the number of cases in the 7 days before.

### Updates
- When a new version is released, it will be written in the widget title.
- To update the **widget**, just click on **it**, and it will redirect to the [latest release page](https://github.com/Hider-alt/covid-widget/release)
- Then you will have just to follow the instructions of [How to update](#how-to-update) section.

> **Note**: Some data countries are partially available, so the graph could be partially empty (e.g. UK).
This happens due to countries not reporting cases daily

## Requirements
- Scriptable
- iPhone/iPad/Mac
- iOS 14.0 or later / macOS Big Sur or later

## FAQ

### How can I change the country?
> In the parameter of the Widget, write the country you want to show.

### What sizes are available?
> The widget has 3 sizes: **small**, **medium** and **large**.

### What are data around the graph referring to?
> The data around the graph refers to data of the **last day**.

## What's next?
- Add an optional line in the graph to show the positivity rate.
- Add arrow near each data to show the direction of that data trend.

## Source
- [Covid-API-Worldometer](https://github.com/Hider-alt/Worldometer_Covid_History)

## Credits
© 2022 Hider

Inspired by the [vaccines widget](https://github.com/DerLobi/impfdashboard-scriptable-widget)

___

## Want a custom widget?
- Click [here](https://it.fiverr.com/share/P04gAp).