Skip to content

Script which displays the current Slack Status via API as Scriptable Widget. This is the missing script for all power Slack user.

iamrbn/slack-status

Repository files navigation

Slack-Status Widget for Scriptable

Script which displays the current Slack Status via API as Scriptable Widget.
This is the missing widget for all power users of slack.

1.2.1 Update Notes (19.07.2022)

  • Fixed a problem where the widget displays an error when an open update is pending. Now it should work correctly again.

1.2 Update Notes (16.07.2022)

  • Added push notifications for slack status [Beta]
  • Improved the error/bad-connection widget
  • Improved/thinned out some parts of the script - saved 70 lines of code

1.1 Update Notes (24.05.2022)

  • Added selfupdate function1
  • Script thinned out in various places

✨ FEATURES

Clickable Elements


The Widgets have a Dynamic Background and is available in all sizes


Refresh Intervall

you can set it at every widget via widget parameter


Run Script in App

By running the scirpt In App it will present a menu It's including the current Slack Status in top


Error / Bad Internet Connection

When the script cannot connect to the Slack API it will shown the Error Widget.


Push Notifications [Beta]

You'll get push-notifications if the status of slack changes.

const getStatusNotifications = true;


⚙️ SETUP

Set Refresh Intervall

  1. Long tab the individual widget an chose Edit "Scriptable" or Edit Widget
  2. set a number for the update intervall (in minutes) into the widget Parameter
  3. finish - the script runs every X minutes yet.

If it's not filled the script runs every 30 minutes!

⬇️ INSTALL SCRIPT / WIDGET

Install Script

  1. Install Scriptable for iOS
  2. Copy each line of the Script or download this iOS helper shortcut
  3. + Add new Script

  1. Paste into the new Script
  2. Finish

Add Widget to Homescreen

  1. Go to your homescreen and long tab anywhere
  2. By tapping the + it will opens the gallery
  3. chose or search for scriptable
  4. Chose the widget-size and tap "Add Widget"
  5. Tap the widget and choose the script, then set "When Interacting" = "Run Script"
  6. Finish

On First Run

It will Downloads and Save the Following Symbols at the directory "slack-status-widget"

iCloud Drive/
├─ Scriptable/
│  ├─ slack-status-widget/
│  │  ├─ slackIcon.png
│  │  ├─ sadSlackBot-badConnection.png
│  │  ├─ ok.png
│  │  ├─ incident.png
│  │  ├─ notice.png
│  │  ├─ outage.png
│  │  ├─ maintenance.png

Footnotes

  1. Function is written by the amazing @mvan231

About

Script which displays the current Slack Status via API as Scriptable Widget. This is the missing script for all power Slack user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published