2022-04-25 02:05:58 +02:00
2022-04-25 01:50:07 +02:00
2022-04-25 02:05:58 +02:00
2021-12-02 15:49:46 +01:00

Reddit User Widget for Scriptable {}

Script which shows the current Karma of your Reddit Account.

FEATURES

Clickable Elements


Theme

The Widget have a Dynamic Gradient Background


Happy Cakeday

Today is your Cakeday!? The widget will tell you subtly.

⚙️ SETUP

🛠 Create Personal Reddit App/Script

  1. Login to your Account and go to https://old.reddit.com/prefs/apps/

  2. Create new Personal Script

  3. Click Checkbox "script" and set a redirect uri (e.g. same as in the image)

  4. Create App

  5. Copy Client_ID & Client_Secret

  6. Config Script

const USERNAME = 'your-username'
const PASSWORD = 'your-password'

const CLIENT_ID = 'ABC1234567-XYZ7654321'
const CLIENT_SECRET = 'qwertzuiopasdfghjklyxcvbnm'

const showCoinBalance = true //smallwidget, mediumwidget; 
const showNotifyBadge = true //smallwidget;
const showUserTitle = true //largewidget;
const cornerRadiusProfileImg = 0 //0 if your avatar is a reddit 'snoovatar'. Set >50 for a rounded Image.
const standardRedditClient = 'Apollo' //Apollo or Reddit

Official Reddit API Guidelines: https://github.com/reddit-archive/reddit/wiki/OAuth2


Set Widget Parameter

Default: Reddit;60
For App Icon (Small & Medium) and clickable elements; Widget Refresh Intervall in minutes

Long tab the individual widget an chose Edit "Scriptable" or Edit Widget set a number for the update intervall (in minutes) into the widget Parameter - The script runs every X minutes yet. If it's not filled the script runs default every 60 minutes.


Run Script in App

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

⬇️ INSTALL SCRIPT & WIDGET

Install Script

  1. Install Scriptable for iOS
  2. Copy each line of the Script or download this helper shortcut
  3. + Add new Script
  1. Paste it 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. Set the widget Parameters (if you want)
  7. Finish

On First Run

It will Downloads and Save the Following Symbols at the directory "Reddit-Widget"

iCloud Drive/
├─ Scriptable/
│  ├─ Reddit-Widget/
│  │  ├─ karma.png
│  │  ├─ coins.png
│  │  ├─ cakedayApollo.png
│  │  ├─ cakedayConfetti.png
---- alternative symbols ----
│  │  ├─ coins2.png
│  │  ├─ cakedayReddit.png

⬆️ Jump Back to Start


S
Description
ScriptableApp widget which shows your Karma, Profile Image, Cakeday etc.
Readme
62 MiB
Languages
JavaScript 100%