Collection of iOS Widgets
Find a file
Benny Samir Hierl b8ac3bdaa5
Countdown widget added
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
2020-10-23 16:49:09 +02:00
Countdown Countdown widget added 2020-10-23 16:49:09 +02:00
Covid-19 Update Covid-19.js 2020-10-23 11:19:10 +02:00
VodafoneDE Update VodafoneDE.js 2020-10-22 19:39:10 +02:00
VRR-Monitor Update VRR-Monitor.js 2020-10-23 11:16:52 +02:00
.gitignore First Draft Vodafone Widget 2020-10-21 18:32:28 +02:00
LICENSE Initial commit 2020-10-21 15:43:46 +02:00
README.md Update README.md 2020-10-23 09:53:32 +02:00
setup.gif add setup gif 2020-10-22 12:49:22 +02:00

iOS-Widgets

This is a Collection of Scripts which can be used with the Scriptable App to create a iOS Widget.

To use the Script, you have to Download the App "Scriptable" from the App Store: https://apps.apple.com/de/app/scriptable/id1405459188

Then you have to copy & paste the desired script into the Scriptable App. Now you can create a Sciptable widget and select the script in the widget settings:

Setup

You can also download a Script with this Shortcut via iOS Share Menu: https://www.reddit.com/r/Scriptable/comments/jdcyuu/simply_ios_shortcut_to_renamesave_a_script_from

Roadmap

The following widget are planned from my side:

  • Countdown
  • Skype Meeting Dial-In via Phone or Web
  • Server Health Check
  • Script to Download / Update Widget from a Widget catalog, like a Widget Store

If you have widget ideas, please feel free and share those ideas with me via GitHub Issue

Covid-19 7-Day-Inzidenz for Düsseldorf

Covid-19 Widget Preview light Covid-19 Widget Preview dark

This widget displays current 7-Day-incidence for Düsseldorf. The incidence is based on the OpenData data of the city Düsseldorf. New data are published daily at around 12 pm.

[Download]

Vodafone DE data usage

Vodafone Widget Preview light Vodafone Widget Preview dark

This widget loads the remaining data volume via the MyVodafone API. For this purpose, an automatic login via the cell phone network is performed, therefore it is necessary that the WIFI is not active for the first usage. After the first usage, the informations are cached and will be used in case of an active WIFI Connection. The cached information will be also used to prevent the API from a lot of request. The TTL (Time To Live) of the Cache can be setup at the beginning of the script (default is 60 min)

[Download]

Options

Set own color scheme

To overwrite the colors, you have to add four color codes separated by | to the widget parameter option: BackgroundColor|TextColor|CircleFillColor|CircleStrokeColor

Example: D32D1F|EDEDED|EDEDED|B0B0B0

If no parameter are set or not four colors are set the default color set for light or dark Mode will be used.

Use MeinVodafone Login

It is possible to add the MeinVodafone Credentails to the beginning of script, which allows the widget to update itself even with active WIFI or show data usage of another mobile contract.

Roadmap

  • Add Medium Widget Support to display GigaDepot usage

Contributors

Credits

VRR-Monitor

VRR-Monitor Widget Preview light VRR-Monitor Widget Preview dark

This widget displays the departure times of a selected station. The data for this is provided by the Verkehrsverbund Rhein-Ruhr (VRR), which is why only stations within the VRR are supported.

[Download]

Setup

A Station-ID is required to set up the widget. To get the Station-ID, you can run the Script directly in the Scriptable App. After you confirm the prompt with the "yes" button, a list of stations will be displayed. Click at the desired station on "Copy ID to clipboard". The Station-ID is copied to the clipboard. Alternativ, you can use the method descriped below to get the Station-ID.

Add the Station-ID and the needed Walking Minutes to the Station, separated by a ";", to the Widget Parameter like this:

VRR-Monitor Widget setup

Alternativ

The Station-ID can be searched with this URL: https://abfahrtsmonitor.vrr.de/backend/api/stations/search?query=

Put the name of the station behind the "query=" in the URL and open the URL in your Browser. Example: https://abfahrtsmonitor.vrr.de/backend/api/stations/search?query=Düsseldorf HBF

Roadmap

  • Add Transport-Line filter option