Simple GitLab status widget for Scriptable
Note: This script requires at least Scriptable version 1.6!
This is a simple GitLab status widget for Scriptable by @simonbs. You can quickly see:
Supports different color configurations for light ☀️ and dark 🕶️ mode
A tap on one of the items direclty* opens GitLab at the corrosponding location 🚀
*Caveat: The standard limitation with iOS 14 applies here: any URLs opened through a widget will require its host app to launch first before the URL can be opened.
*Caveat 2: Tap targets in widgets are only supported for medium and large widgets. Small widgets can currently not have tap targets.
The widget can easily be adopted to any homescreen design with simple color configuration options.
gitlab-stats.js
into the Scriptable folder located in your iCloud Drive.gitlab-stats
is listed in the scripts view.colorConfig()
function to match the widget to your homescreen 🎨gitlab-stats
as the script. Next, set "When Interacting" to "Run Script" and you should be all set and ready to go. If you use a small size widget configure it to open a website when interacting and configure your GitLab URL there.The script is authored by @thartwi (me) on an ongoing quest to create productive homescreen pages. Since GitLab still offers no native app which could provide such features Scriptable is here to fill the gap!
Thanks to @andyngo for some code to load the images from your iCloud Drive folder and the project template!
Thanks to @simonbs for making an awesome app!
Thanks to @gitlab for a nice API and the nice icons 🙂