GithubHelp home page GithubHelp logo

iamrbn / slack-status Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 51.26 MB

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

JavaScript 100.00%
ios-widget ios14 scriptable slack-api slack js javascript es6-javascript slackapi scriptable-widgets

slack-status's Introduction

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

slack-status's People

Contributors

iamrbn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.