Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Hider-alt/covid-widget
- Owner: Hider-alt
- Archived: true
- Created: 2022-08-10T23:58:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T09:35:31.000Z (almost 2 years ago)
- Last Synced: 2024-05-08T03:33:43.727Z (6 months ago)
- Language: JavaScript
- Size: 17 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-scriptable - Covid iOS Widget - Covid-19 cases graph of a selected country. (Health)
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 HiderInspired by the [vaccines widget](https://github.com/DerLobi/impfdashboard-scriptable-widget)
___
## Want a custom widget?
- Click [here](https://it.fiverr.com/share/P04gAp).